cPanel WHM Failed to Receive Status Information From Apache Error

cPanel web hosting control panel provides easy access shortcut in WHM (WebHost Manager) to check server status. One of the server status components is Apache Status which calls apachestatus script to display important information about Apache HTTPD web server, such as server version, built, uptime, restart time, total accesses, CPU usage, amount of requests and etc. However, you may encounter the following error message when you click on “Apache Status” link:

Failed to receive status information from Apache.

Administrators may also get the following error line in Apache error log: [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/whm-server-status.

The error message only appears on cPanel 11, whereas in earlier version of cPanel, a blank page is returned.

The cause of this error is due to missing location declaration in configuration file for /whm-server-status which is required by apachestatus script to retrieve status and information of Apache web server. whm-server-status location defines how should Apache handles the access request to the path. The lines may get deleted or removed if there is a mistake during Apache compilation process, especially when using Apache Update under Software in WHM.

To resolve the problem, simply add back the location declaration lines of whm-server-status to the httpd.conf file, normally located in /etc/httpd/conf/ or /usr/local/apache/logs. These lines can be added anywhere in the configuration file (but not within VirtualHosts declaration. Ideally, it should be placed before the virtual hosts declaration section.

<Location /whm-server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
ExtendedStatus On

The last line, “ExtendedStatus On” tells Apache tol generate full detailed status information instead of just basic information when the “server-status” handler is called “whm-server-status”.

Share and contribute or get technical support and help at My Digital Life Forums.



Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

Apache is working on your cPanel® and WHM™ Server - Failed to receive status information from Apache. - Apache is working on your cPanel® and WHM™ Server - Failed to receive status information from Apache. Unable to connect to local httpd server. - Failed to receive status information from Apache. - apache is working on your cpanel - Unable to retrieve apache status - apache is working on your cpanel error - Apache is working on your cPanel and WHM Server - cpanel rapidshare - Failed to receive status information from Apache - "Unable to retrieve apache status" - cpanel apache error log - whm unable to connect - cpanel apache error logfile - cpanel Failed to receive status information from Apache. - httpd failed WHM - Failed to receive status information from Apache. Unable to connect to local httpd server. - Failed to receive status information from Apache. Unable to connect to local httpd server. - cPanel could not access this server apache config file - firefox what is Apache is working on your cPanel® and WHM™ Server - "Apache is working on your cPanel® and WHM™ Server" - Failed to receive status information from Apache Unable to connect to local httpd server. - Unable to retrieve apache status + cpanel - "Failed to receive status information from Apache. Unable to connect to local httpd server." - Apache is working on your cPanel® and WHM™ Server hack - apache + error log + MSOffice - cpanel fails to start apache - whm apache compilation - use lynx problem cpanel - whm Failed to Connect - cpanel whm failed receive email - httpd failed but cpanel - cpu usage in whm not showing - Failed to receive status information from Apache. cpanel - File does not exist: /usr/local/apache/htdocs/whm-server-status - how to forward error logs from whm panel; - fix Apache is working on your cPanel - Server Status >> Service Status+shows failed+WHM+is running - apache status in whm - cPanel/WHM+licence+download - how to manage Apache is working on your cPanel® and WHM™ Server - apache error logs in cpanel - cpanel pop server failing - cpanel failed - download Apache is working on your cPanel® and WHM™ Server - named whm failed - apache not restart whm - WHM license key - cPanel and WHM License rapidshare -