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!

whm-server-status forbidden

Discussion in 'EasyApache' started by Miguel G, Aug 12, 2016.

  1. Miguel G

    Miguel G Well-Known Member

    Joined:
    Jun 4, 2015
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    Not sure if this is due to the recent WHM update from 56 to 58 or to the upgrade from EasyApache 3 to 4 but right now whm-server-status is forbidden.

    If I check in the WHM web interface I can see the apache status but lfd is reporting that now the whm-server-status is forbidden. If I try from a ssh console I get the same error.

    How can this be fixed? If I add the tweak settings the allowed IP addresses 127.0.0.1 and the IP address of whm/cpanel server the apache status tool from WHM reports nothing.

    Before it was perfectly fine.

    Thanks!
     
  2. Miguel G

    Miguel G Well-Known Member

    Joined:
    Jun 4, 2015
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    Adding more information, I have changed the Apache to port 82 (I already had with WHM 56 and worked fine).

    I have Varnish running on port 80 and whm-server-status requests are forwarded to the Apache backend.

    I have checked this thread Apache status not working after customizing port and I´m wondering if maybe this has become an issue with the new version?
     
  3. Miguel G

    Miguel G Well-Known Member

    Joined:
    Jun 4, 2015
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have changed in /etc/csf/csf.conf the LF_APACHESTATUS URL using the apache port for the time being
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,660
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I've seen instances where Mod_Security rules block access to that URL. Could you let us know the output from /usr/local/apache/logs/error_log when this happens?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Miguel G

    Miguel G Well-Known Member

    Joined:
    Jun 4, 2015
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    The only entries I see are the following:

    AH01797: client denied by server configuration: /var/www/html/whm-server-status
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,660
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
    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