Horde login error: Unable to get webmail password!

Created:

2016-11-16 13:18:13 UTC

Modified:

2017-04-24 11:31:49 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Horde login error: Unable to get webmail password!

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

It is not possible to login to Horde Webmail due to the following error:

Unable to get webmail password!

Cause

This problem may occur if the file /etc/psa-webmail/horde/.horde.shadow is missing or cannot be read by Apache.

Resolution

For Plesk 11.5 and above

  1. Check that the file /etc/psa-webmail/horde/.horde.shadow exists and that it has the following permissions:

    # ls -la /etc/psa-webmail/horde/.horde.shadow
    -rw-r----- 1 root horde_sysgroup 15 Jul 29 2014 /etc/psa-webmail/horde/.horde.shadow
  2. Make sure to set permissions as follows if they are different:

    # chmod 755 /etc /etc/psa-webmail /etc/psa-webmail/horde
    # chown root:horde_sysgroup /etc/psa-webmail/horde/.horde.shadow
    # chmod 640 /etc/psa-webmail/horde/.horde.shadow
  3. In case suexec option is disabled in Tools and Settings > Apache Web Server > Apache modules , enable it.

For Plesk 11.0 :

  1. Check that the file /etc/psa-webmail/horde/.horde.shadow exists and that it has the following permissions:

     # ls -la /etc/psa-webmail/horde/.horde.shadow
    -rw-r----- 1 root apache 15 Mar 20 2012 /etc/psa-webmail/horde/.horde.shadow
  2. Make sure that the Apache's user ( apache on CentOS/RedHat/SuSE and www-data on Debian/Ubuntu) can get the content of this file:

     # su - apache -s /bin/sh -c "cat /etc/psa-webmail/horde/.horde.shadow"
    password

    a. If the error "Permission denied" is received during diagnostics, correct the permissions:

    # chmod 755 /etc /etc/psa-webmail /etc/psa-webmail/horde
    # chown root:apache /etc/psa-webmail/horde/.horde.shadow
    # chmod 640 /etc/psa-webmail/horde/.horde.shadow

    b. If the error "No such file or directory" is received, create a new /etc/psa-webmail/horde/.horde.shadow file with a random password, set the proper permissions as described above, and change the password for the database user horde using the steps from the following article:

    213369329 I cannot log in to Webmail. Receiving error: "A fatal error has occurred DB Error: connect failed"

Have more questions? Submit a request
Please sign in to leave a comment.