Webmail is not functioning: Connection reset by peer: mod_fcgid: error reading data from FastCGI server

Refers to:

  • Plesk

Created:

2016-11-16 13:10:33 UTC

Modified:

2017-02-09 17:55:42 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Webmail is not functioning: Connection reset by peer: mod_fcgid: error reading data from FastCGI server

Symptoms

  1. Horde webmail shows the following error:

    Service Temporarily Unavailable  The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache Server at webmail.testdomain.com Port 80

    There is also an error in the Horde logs:

    [Wed Sep 25 21:01:41 2013] [warn] [client 11.22.33.44] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
    [Wed Sep 25 21:01:41 2013] [error] [client 11.22.33.44] Premature end of script headers: index.php
  2. A warning appears while performing migration from another server:

    WARNING:()The webmail service horde is unavailable. It will be replaced with <webmail> for the following objects: <list of domains>

Cause

  1. Incorrect permissions on ' /var/www/cgi-bin/cgi_wrapper '

    [root@plesk ~]# ls -ld /var/www/cgi-bin/cgi_wrapper
    drwxr-xr-- 2 rgs psaserv 4096 Apr 14 13:32 /var/www/cgi-bin/cgi_wrapper
  2. Horde has been installed incorrectly.

Resolution

  1. Correct the permissions:

    root@plesk:~# chown root:root /var/www/
    root@plesk:~# chown root:root /var/www/cgi-bin/
    root@plesk:~# chown root:root /var/www/cgi-bin/cgi_wrapper/cgi_wrapper*
    root@plesk:~# chmod 755 /var/www/cgi-bin/cgi_wrapper
  2. If after correcting permissions you see the error 'Unable to get webmail password!' , please see the following Knowledgebase article: http://kb.sp.parallels.com/en/115742

  3. If Step 2 does not resolve the issue, reinstall horde using Plesk installer.

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