Koozali.org: home of the SME Server

webmail error

sspfunk

webmail error
« on: March 29, 2004, 11:38:33 PM »
here is the error i get when connecting to webmail

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.

i searched and found and tried the following

sbin/e-smith/config delprop horde DbPassword
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

but it did not work

anyone?

tia

sspfunk

webmail info
« Reply #1 on: March 29, 2004, 11:40:07 PM »
Doh,
forgot to mention, it is running 6.0.1-01

ergozd

webmail error
« Reply #2 on: March 30, 2004, 10:18:07 AM »
Following files need correct password for user
horde (if you have them installed)

/home/httpd/html/horde/config/horde.php
/home/httpd/html/horde/kronolith/config/conf.php
/home/httpd/html/horde/mnemo/config/conf.php
/home/httpd/html/horde/nag/config/conf.php
/home/httpd/html/horde/turba/config/sources.php

Check if you have the correct password for horde.

Good luck.

sspfunk

webmail error
« Reply #3 on: March 30, 2004, 07:25:10 PM »
thanks ergozd
however
i am not sure how to do what you described
are you talking file permissions

i also forgot to mention that webmail worked fine before i upgraded from 5.5 U6 to 6.0.1-01

ergozd

webmail error
« Reply #4 on: March 30, 2004, 09:04:12 PM »
Hello!

Try this first
# /sbin/e-smith/config show horde
horde=service
    DbPassword=PASSWORD
    access=full
    imp=installed
    kronolith=installed
    mnemo=installed
    nag=installed
    status=enabled



Then you can edit your mysql preferences
# vi /home/httpd/html/horde/config/horde.conf

/* This is an example configuration for a MySQL preference backend.
 * Be sure to set the prefs driver to 'sql' above if you use this
 * configuration.
 */
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = 'PASSWORD';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';

PS : Standard horde password was 'horde' in SMEv5.6 and was changed to v6.0