Koozali.org: home of the SME Server

IMP V3 SME 5.1.2

Steve M

Re: IMP V3 SME 5.1.2
« Reply #15 on: February 13, 2002, 02:57:05 PM »
Hi hope someone can help.
I followed the how to 3 times now but i keep getting this same error on login to imp the error is obviousely got some thing to do with a DB but hoe to fix it i am not sure. I have done this on a fresh install of 5.1.2 upgraded php that is working OK install as per the howto

On install i get the messages below. but nothing about updating a data base.

Preparing...                ########################################### [100%]
   1:horde                  ########################################### [ 16%]
   2:dcb-e-smith-horde      ########################################### [ 33%]
In /etc/e-smith/templates//home/httpd/html/horde/config/horde.php/00Horde: Unquoted string "imap" may clash with future reserved word at (eva.
In /etc/e-smith/templates//home/httpd/html/horde/config/horde.php/00Horde: Unquoted string "example" may clash with future reserved word at (.
In /etc/e-smith/templates//home/httpd/html/horde/config/horde.php/00Horde: Unquoted string "com" may clash with future reserved word at (eval.
In /etc/e-smith/templates//home/httpd/html/horde/config/horde.php/00Horde: Unquoted string "imap" may clash with future reserved word at (eva.
   3:imp                    ########################################### [ 50%]
   4:dcb-e-smith-imp        ########################################### [ 66%]
   5:turba                  ########################################### [ 83%]
   6:dcb-e-smith-turba      ########################################### [100%]
[root@rocky imp_upgrade]#

On login i get this error message.

A fatal error has occurred
object(db_error)(7) {
  ["error_message_prefix"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  int(-24)
  ["message"]=>
  string(24) "DB Error: connect failed"
  ["userinfo"]=>
  string(86) " [nativecode=Access denied for user: 'horde@localhost' (Using password: YES)] ** Array"
  ["callback"]=>
  NULL
}
[/home/httpd/html/horde/lib/Prefs/sql.php : 102]

Any help would be appreciated.

Steve M.

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #16 on: February 13, 2002, 04:28:25 PM »
Steve, It looks like you're using a recent version of the HOWTO with older versions of the RPMs.  The current versions automatically upgrade the database.  Run through the download portion of the HOWTO again, making sure you get the current versions, and install them.  This should solve your problem.

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #17 on: February 13, 2002, 06:33:56 PM »
Hi Dan,

The upgrade worked perfect (after I changed $DB/turba-1.0-4es.noarch.rpm in $DB/turba-1.0-3es.noarch.rpm). Now when I want to log in, not one account is recognized.
Any idea?

Jan-Willem.

vladmen

Re: IMP V3 SME 5.1.2
« Reply #18 on: February 13, 2002, 08:11:38 PM »
Thanks for great how-to. Just installed it on a fresh SME 5.12. Everything works without any hick-ups.

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #19 on: February 13, 2002, 08:44:45 PM »
Jan-Willem,

Turba -4es was just updated last night, and may take a while to propogate out to e-smith.org.  It's a minor patch that should fix the trouble with not being able to auto-add addresses to your address book.  It wouldn't be related to difficulty logging in.

What happens when you try to log in?  Do you get an error message?  Do you have any messages in your system log (/var/log/messages)?

Steve M

Re: IMP V3 SME 5.1.2
« Reply #20 on: February 13, 2002, 08:54:59 PM »
All fixed i had downloaded the rpm on monday, didnt realise that they had been updated noticed just after posting.
Thanks for your help.

Jim P BeVard

Re: IMP V3 SME 5.1.2
« Reply #21 on: February 13, 2002, 09:15:49 PM »
I'm having the same problem with no uses being able to login here is the error in the log

Feb 13 13:12:39 RobbieTs HORDE[9830]: [imp] FAILED LOGIN 192.168.1.2 to imap.example.com:143[imap] as jim [on line 332 of "/home/httpd/html/horde/imp/lib/IMP.php"]

I think it's because of the imap.example.com but I don't know how to change that to my server.

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #22 on: February 13, 2002, 09:26:32 PM »
Hi,

I have the same error in the log:

feb 13 19:23:32 e-smith-server HORDE[1303]: [imp] FAILED LOGIN 192.168.1.65 to imap.example.com:143[imap] as janwillem [on line 332 of "/home/httpd/html/horde/imp/lib/IMP.php"]

Jan-Willem.

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #23 on: February 13, 2002, 10:42:48 PM »
Jim and Jan-Willem,

It almost sounds like you didn't install dcb-e-smith-imp.  What does "rpm -q dcb-e-smith-imp" return?  If it is installed, run

/sbin/e-smith/expand-template /home/httpd/horde/imp/config/servers.php

Jim P BeVard

Re: IMP V3 SME 5.1.2
« Reply #24 on: February 13, 2002, 10:55:51 PM »
Thanks, that did the trick!

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #25 on: February 13, 2002, 11:13:44 PM »
Hi Dan,

I changed $DB/dcb-e-smith-imp-0.2-2.noarch.rpm in $DB/dcb-e-smith-imp-0.2-1.noarch.rpm.
---------------------------------------------------------------------------------------------------------------------
[root@e-smith-server imp_upgrade]# wget $DB/dcb-e-smith-imp-0.2-1.noarch.rpm
--21:05:40--  ftp://ftp.e-smith.org/pub/e-smith/contrib/DanBrown/RPMS/noarch/dcb-e-smith-imp-0.2-1.noarch.rpm
           => dcb-e-smith-imp-0.2-1.noarch.rpm'
Connecting to ftp.e-smith.org:21... connected!
Logging in as anonymous ... Logged in!
==> TYPE I ... done.  ==> CWD pub/e-smith/contrib/DanBrown/RPMS/noarch ... done.
==> PORT ... done.    ==> RETR dcb-e-smith-imp-0.2-1.noarch.rpm ... done.
Length: 15,898 (unauthoritative)

    0K -> .......... .....                                       [100%]

21:05:42 (57.29 KB/s) - dcb-e-smith-imp-0.2-1.noarch.rpm' saved [15898]
[root@e-smith-server imp_upgrade]# ls
dcb-e-smith-horde-0.2-3.noarch.rpm  horde-2.0-3es.noarch.rpm
dcb-e-smith-imp-0.2-1.noarch.rpm    imp-3.0-2es.noarch.rpm
dcb-e-smith-turba-0.2-3.noarch.rpm  turba-1.0-3es.noarch.rpm
[root@e-smith-server imp_upgrade]# rpm -Uvh *
Preparing...                ########################################### [100%]
package dcb-e-smith-horde-0.2-3 is already installed
package dcb-e-smith-turba-0.2-3 is already installed
package horde-2.0-3es is already installed
package imp-3.0-2es is already installed
package turba-1.0-3es is already installed
[root@e-smith-server imp_upgrade]# rpm -q dcb-e-smith-imp
package dcb-e-smith-imp is not installed
---------------------------------------------------------------------------------------------------------------------
So, it didn't work. How can I install dcb-e-smith-imp-0.2-1.noarch.rpm?

Jan-Willem

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #26 on: February 13, 2002, 11:29:03 PM »
Hi Dan,

I installed dcb-e-smith-imp-....rpm.
But /sbin/e-smith/expand-template /home/httpd/horde/imp/config/servers.php didn't work.

Jan-Willem.


[root@e-smith-server imp_upgrade]# rpm -Uvh dcb-e-smith-imp-0.2-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:dcb-e-smith-imp        ########################################### [100%]
error: cannot remove /home/httpd/html/horde/imp/SSLonly - directory not empty
error: cannot remove /home/httpd/html - directory not empty
error: cannot remove /home/httpd - directory not empty
[root@e-smith-server imp_upgrade]# rpm -q dcb-e-smith-imp
dcb-e-smith-imp-0.2-1
[root@e-smith-server imp_upgrade]# /sbin/e-smith/expand-template /home/httpd/horde/imp/config/servers.php
Cannot create output file //home/httpd/horde/imp/config/servers.php.2213: No such file or directory

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #27 on: February 13, 2002, 11:37:52 PM »
Hi,

Webmail is working now. Perfect :-)
But why is /sbin/e-smith/expand-template /home/httpd/horde/imp/config/servers.php not working?

Jan-Willem.

> [root@e-smith-server imp_upgrade]#
> /sbin/e-smith/expand-template
> /home/httpd/horde/imp/config/servers.php
> Cannot create output file
> //home/httpd/horde/imp/config/servers.php.2213: No such file
> or directory

Dan Brown

Re: IMP V3 SME 5.1.2
« Reply #28 on: February 13, 2002, 11:39:43 PM »
Jan-Willem wrote:

> But why is /sbin/e-smith/expand-template
> /home/httpd/horde/imp/config/servers.php not working?

    Because I goofed, and that should be "/home/httpd/html/horde..."  Sorry.

Jan-Willem

Re: IMP V3 SME 5.1.2
« Reply #29 on: February 13, 2002, 11:43:34 PM »
Dan,

Thanks for your patient, everything works great now. :-))

Greetings, Jan-Willem