Roundcube webmail Connection to storage server failed

Created:

2016-11-16 13:08:54 UTC

Modified:

2017-04-24 11:14:18 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Roundcube webmail Connection to storage server failed

Applicable to:

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

Symptoms

  • Roundcube webmail Connection to storage server failed
  • /var/log/plesk-roundcube/errors contains the following:
    IMAP Error: Login failed for user@domain.tld from 123.123.123.123 Could not connect to localhost:143: php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_imap.php on line 193 (POST /?_task=login&_action=login)

Cause

  1. Selinux is enabled

     # getenforce
    Enforcing
  2. /etc/hosts missing localhost entry or have invalid permissions

Resolution

  1. Disable selinux

    # setenforce 0
  2. Add localhost to the line that contains 127.0.0.1 in `/etc/hosts

  3. Make sure that all user are able to read the file. Valid permission is 0644/-rw-r--r--
Have more questions? Submit a request
Please sign in to leave a comment.