Plesk

Roundcube/Horde webmail and websites on FastCGI are not accessible: Connection reset by peer: mod_fcgid: error reading data from FastCGI server

Symptoms

Cause

Permissions on the file /var/www/cgi-bin/cgi_wrapper are incorrect.

Resolution

  1. Connect to the server via SSH

  2. Correct the permissions:

    # chown root:root /var/www
    # chmod 0755 /var/www
    # chown -R root:root /var/www/cgi-bin
    # chmod 0755 /var/www/cgi-bin
    # chmod -R 0755 /var/www/cgi-bin/cgi_wrapper