Websites are not available and showing Error 500

Created:

2016-11-16 12:59:59 UTC

Modified:

2017-08-16 17:23:59 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Websites are not available and showing Error 500

Applicable to:

  • Plesk for Linux

Symptoms

  • Websites are down and showing Error 500

  • nginx is enabled in configuration:

    # /usr/local/psa/admin/sbin/nginxmng -s
    Enabled
    
  • and its status is the following:

    # service nginx status
    nginx dead but pid file exists
    

    OR

  • port 80 is not listening and Apache was listening on port 7080:

    # netstat -tlpn | grep :80
    # netstat -tlpn | grep :70800
    tcp 0 0 :::7080 :::* LISTEN 3009/httpd

Cause

Misconfiguration in webserver's config.

Resolution

  1. Kill the hanging process:

    # pkill -9 nginx
  2. Disable and enable nginx :

    # /usr/local/psa/admin/bin/nginxmng -d
    # /usr/local/psa/admin/bin/nginxmng -e
Have more questions? Submit a request
Please sign in to leave a comment.