The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/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:
    18
    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:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    You can just run the command:

    lynx localhost/whm-server-status

    What I normally use.
     
Loading...

Share This Page