Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Bruce on December 21, 2003, 10:43:08 PM

Title: Webmail on SME 6.0
Post by: Bruce on December 21, 2003, 10:43:08 PM
When attempting to login to webmail, I consistendly get the following error:

A fatal error has occurred:

DB Error: connect failed

[line 108 of /home/httpd/html/horde/lib/Prefs/sql.php]

Details have been logged for the administrator.
Title: Re: Webmail on SME 6.0
Post by: Boris on December 21, 2003, 11:38:24 PM
This bug has been covered in the discussions lately. Search the forum for the last 30 days.
Title: Re: Webmail on SME 6.0
Post by: David Davis on December 30, 2003, 10:51:13 PM
Has anyone found a solution to this problem.   I have read the thread on the bug reporting forum and tried the suggestions there, but I am still having the same problem  Help!
Title: Re: Webmail on SME 6.0
Post by: jb on December 31, 2003, 01:19:02 AM
Was this an upgrade or a new install?  If upgrade then the horde password has been changed.  6.0 does this.  You should be able to go to
edit /home/httpd/html/horde/confiig/horde.php and change the password from whatever it is back to horde.

If it's a new instal, more details will be needed.  I have yet not to have webmail work after doing a fresh install of 6.0.

JB
Title: Re: Webmail on SME 6.0
Post by: Bruce on December 31, 2003, 01:17:57 PM
Actually, I had to do a clean install because I was also deploying a mirror drive. The reboot solved the problem (at least for the short term), but there should be an file I can edit to change the default value for any form.
Title: Re: Webmail on SME 6.0
Post by: RayG on December 31, 2003, 04:49:50 PM
I have a fresh install of SME 6 final and webmail is working fine from both the lan and the internet.
Title: Re: Webmail on SME 6.0
Post by: Filip on January 02, 2004, 06:24:22 AM
Hi,
I just performed a new install of SME 6.0 and the webmail doesn't work. After trying to login I get the message:

DB Error: connect failed
[line 108 of /home/httpd/html/horde/lib/Prefs/sql.php]

Filip

[%sig%]
Title: Re: Webmail on SME 6.0
Post by: jb on January 02, 2004, 06:58:21 AM
Filip,

Did you do a fresh install, then a restore, or just a fresh install.  Webmail works everytime a do a new instal on my test box with 6.0.  The problem may be with your horde password.  I can duplicate this error message if I change my horde password.  Before 6.0 the default horde password used to be horde.  So if you did a new install, then a restore, chances are you need to go to /home/httpd/html/horde/config and change the password to horde.  If that works, then you should be able to do
/sbin/e-smith/db configuration setprop horde DbPassword horde, then
/sbin/e-smith/expand-template /home/httpd/html/horde/config/horde.php.

If the above doesn't work, then this is probably the thread you need to follow:
http://forums.contribs.org/index.php?topic=20210.msg79505#msg79505

Good Luck,

JB
Title: Re: Webmail on SME 6.0
Post by: Filip on January 03, 2004, 01:33:40 AM
Yes, it worked this way. Thanks a lot.
Actually it was realy a new install. I didn't  update or restore an old instalation.

Thank you again,

Filip

[%sig%]