Article ID: 940, created on Oct 6, 2008, last review on Jun 3, 2016

  • Applies to:
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux


Unable to login to webmail:

A fatal error has occurred
DB Error: connect failed
Details have been logged for the administrator.


Make sure that /etc/my.cnf includes the following line:


Also verify that MySQL service is running and that the /var/lib/mysql/mysql.sock socket exists.

Make sure that the "horde" user is able to connect to the "horde" database with a password from /etc/psa/.webmail.shadow in Parallels Plesk Panel 8.x or /etc/psa-webmail/horde/.horde.shadow in Parallels Plesk Panel 9.x, 10.x, 11.x. You may use the following commands to verify that log in is possible:

Plesk 8.x:

# MYSQL_PWD=`cat /etc/psa/.webmail.shadow` mysql -uhorde -D horde

Plesk 9.x, 10.x, 11.x:

# MYSQL_PWD=`cat /etc/psa-webmail/horde/.horde.shadow` mysql -uhorde -D horde

If the file /etc/psa-webmail/horde/.horde.shadow (or /etc/psa/.webmail.shadow for Panel 8.x) is missing, put a password into this file and change the password for the "horde" user in the "mysql" database using the query listed below.

If you get an error, make sure that only one "horde" MySQL user exists in the "user" table of the "mysql" database, and try to change its password with a MySQL query such as:

~# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin mysql
mysql> update user set password=password("THE_PASSWORD_FROM_WEBMAIL.SHADOW") where user="horde";

Look at the "psa-horde" log (by default: /var/log/psa-horde). If you see something similar to:

Nov 02 12:55:06 HORDE [emergency] [horde] DB Error: connect failed: [nativecode=Access denied for user: 'root@localhost' (Using password: NO)] ** Array [on line 1329 of "/usr/share/psa-horde/lib/Horde/DataTree/sql.php"]

make sure that sql.safe_mode is disabled in php.ini. It should look like:


Restart Apache after changes in php.ini have been made.

Search Words

httpd: Syntax error on line 213 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Could not open configuration file /usr/local/psa/admin/conf/generated/14293149440.34743900_server.include: No such file or directory

webmail error

webmail error inbox shows


EMail issues

messed about with apache config settings and has broken it


DB Error: connect failed

a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c aea4cd7bfd353ad7a1341a257ad4724a 0a53c5a9ca65a74d37ef5c5eaeb55d7f 01bc4c8cf5b7f01f815a7ada004154a2

Email subscription for changes to this article
Save as PDF