Plesk website is not available. HTTP Error 500.0 - Internal Server Error, Error Code 0xc0000005

Created:

2016-11-16 12:56:21 UTC

Modified:

2017-08-16 16:42:32 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Plesk website is not available. HTTP Error 500.0 - Internal Server Error, Error Code 0xc0000005

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Symptoms

  1. The following error appears if https://localhost:8443 is opened on the local Plesk server in Internet Explorer:

    HTTP Error 500.0 - Internal Server Error
    C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\php-cgi.exe - The FastCGI process exited unexpectedly Detailed Error Information
    Module FastCgiModule
    Notification ExecuteRequestHandler
    Handler PleskEngine-FastCGI-php
    Error Code 0xc0000005
    Requested URL https://localhost:8443/index.php
    Physical Path C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\htdocs\\index.php
    Logon Method Anonymous
    Logon User Anonymous
  2. The following message appeared in Windows Logs Event viewer -> Application

    Application Error   1000    (100)
    Faulting application php-cgi.exe, version 5.4.23.0, time stamp 0x52d4b041, faulting module php5.dll, version 5.4.23.0, time stamp 0x52d4b043, exception code 0xc0000005, fault offset 0x000d5700, process id 0xd50, application start time 0x01cf5cb66484548d.

Cause

Several possible causes:

  • Incorrect permissions for the "%plesk_bin%" directory.
  • 3-rd party application is blocking the access to php-cgi.exe
  • Corrupted installation of plesk-engine.msi ( Attention! Do not reinstall this package blindly. You can repair it only).

Resolution

See the basic steps to diagnose the issue:

  1. Run the Windows command line as Administrator and check the output of the following commands:

    >"%plesk_bin%\\php-cgi.exe" -v
    PHP 5.4.23 (cgi-fcgi) (built: Jan 14 2014 10:34:24)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
    with Zend OPcache v7.0.2-dev, Copyright (c) 1999-2013, by Zend Technologies

    >"%plesk_bin%\\php.exe" -v
    PHP 5.4.23 (cli) (built: Jan 14 2014 10:34:26)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
    with Zend OPcache v7.0.2-dev, Copyright (c) 1999-2013, by Zend Technologies

    If you did not get any errors like above the most likely it is the permission issue (non-default permissions on Plesk directories or access denied by antivirus program, SMTP proxy server and etc... ). To find out the file with insufficient permissions you can use Process Monitor .

    Please note : it is not possible to run Process Monitor inside of Virtuozzo container for Windows.

  2. Run Procmon.exe as Administrator and add the Filter "Result" = "ACCESS DENIED":

alttext

Start capturing and reproduce the issue. Review the captured events:

Your text to link here...

In the example above we see that php-cgi.exe process does not have permissions to read C:\\Program Files (x86)\\Server Side Solutions\\eWall 4.0\\EWLsp4.dll file. Desired Access is 'Read Attributes'.

  1. Check Windows Task Manager. It is showing that php-cgi.exe process is running as 'psaadm' user:

Your text to link here...

In the examples above the issue can be resolved by adding 'Read & Execute' permissions for psaadm user on C:\\Program Files (x86)\\Server Side Solutions\\eWall 4.0\\EWLsp4.dll file.

Your text to link here...

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