Tuesday, September 30, 2014

lynx: Can’t access startfile http://localhost/whm-server-status cPanel

If you are getting the error below while running the command service httpd status  in a Cpanel server follow the steps below to resolve it.

========
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://localhost/whm-server-status
========

There can be multiple reasons behind this error it could issue with a modsec rule causing error or anything else, Follow the steps below it will point you to the exact issue with the httpd(Apache).
  • SSH server as root user
Run the command below
  •  httpd -e DEBUG
Now proceed with the troubleshooting as per the debug report.

No comments:

Post a Comment

Do Write about the Blog and Welcome to the world where open source is every thing :-)