Domain shows FASTCGI Error: Service Temporarily Unavailable, from logs: user mismatch (atmail instead of apache)

Created:

2016-11-16 13:01:28 UTC

Modified:

2017-04-24 12:00:05 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Domain shows FASTCGI Error: Service Temporarily Unavailable, from logs: user mismatch (atmail instead of apache)

Applicable to:

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

Symptoms

A website that runs PHP as Fast-CGI application cannot be opened in a browser and produces the following error:

Service Temporarily Unavailable

In /var/log/httpd/suexec.log we see:

user mismatch (atmail instead of apache)

In /var/www/domain.tld/statistics/logs/error_log :

mod_fcgid: can't apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper

Cause

Atmail user is specified in apache configuration file instead of Apache user.

Resolution

  1. Backup the original Apache configuration file:

    cp -a /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.orig
  2. Edit /etc/httpd/conf/httpd.conf to change User from 'atmail' to 'apache':

    # grep -ir user /etc/httpd/conf/httpd.conf |grep -v '#'
    User apache
  3. Reload apache configuration:

    /etc/init.d/httpd reload
Have more questions? Submit a request
Please sign in to leave a comment.