Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/etc/init.d/httpd and whm-server-status

Discussion in 'General Discussion' started by acenetryan, Mar 13, 2007.

  1. acenetryan

    acenetryan Well-Known Member
    PartnerNOC

    Joined:
    Aug 21, 2005
    Messages:
    197
    Likes Received:
    1
    Trophy Points:
    168
    We had a client who noticed the 404 errors when the server tries to access server-status as the result of a call for Apache's status. When we checked /etc/init.d/httpd the status line is defined as:

    STATUSURL="http://localhost/server-status"

    Which doesn't exist and 404s. By changing it to:

    STATUSURL="http://localhost/whm-server-status"

    We can now retrieve apache information with:

    service httpd status

    or

    service httpd fullstatus

    This is mainly posted as an informative thread, but I was curious if this was intentionally written this way by cPanel or if this is something that should be changed? Chirpy?
     
  2. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    655
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Canada
    You can just run the command:

    lynx localhost/whm-server-status

    What I normally use.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice