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.

Apache Status Page Blank

Discussion in 'EasyApache' started by -jdk-, Aug 28, 2005.

  1. -jdk-

    -jdk- Well-Known Member

    Joined:
    Aug 28, 2005
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    I have WHM 10.6.0 cPanel 10.6.0-R55 and when I click on Server Status > Apache Status the page is blank. When I check apache status via shell it works fine. Anyone else having this problem and/or any suggestions to resolve this?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Three most likely reasons:

    1. You have the following missing from your httpd.conf:
    Code:
    <Location /whm-server-status>
        SetHandler server-status
        Order deny,allow     
        Deny from all  
        Allow from 127.0.0.1
    </Location>         
    ExtendedStatus On   
    
    2. You don't have 127.0.0.1 pointng to the lo: device setup correctly

    3. You have firewalled or otherwised blocked (usually via mod_security) access to the status page

    Usually I find it's 3, but I have seen them all.
     
  3. checked

    checked Well-Known Member

    Joined:
    May 3, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Hey Chirpy I am also facing the same problem after updating to "cPanel 10.6.0-R201" Release.

    I found that the first point was missing so I added it in httpd.conf and restarted the apache but still not working.

    Any ideas ??
     
  4. checked

    checked Well-Known Member

    Joined:
    May 3, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Ok I restarted the cPanel.....may be it worked but still not working.


    -my other Eximstats problem is solved-
     
    #4 checked, Sep 14, 2005
    Last edited: Sep 14, 2005
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Check the apache error log to see if there's a reason it is giving when you try /usr/local/apache/logs/error_log
     
  6. checked

    checked Well-Known Member

    Joined:
    May 3, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Yes, it displays the error :

    Here is the output :


    Code:
    root@hb [/etc/init.d]# tail -f /usr/local/apache/logs/error_log
    [Wed Sep 14 01:43:50 2005] [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/whm-server-status/
    [Wed Sep 14 01:45:01 2005] [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/whm-server-status
    [Wed Sep 14 01:47:01 2005] [notice] SIGHUP received.  Attempting to restart
    [Wed Sep 14 01:47:01 2005] [notice] Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.0 FrontPage/5.0.2.2635 PHP-CGI/0.1b configured -- resuming normal operations
    [Wed Sep 14 01:47:01 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Wed Sep 14 01:47:01 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Wed Sep 14 01:47:20 2005] [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/whm-server-status/
    [Wed Sep 14 01:47:24 2005] [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/whm-server-status/
    [Wed Sep 14 01:50:01 2005] [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/whm-server-status
    [Wed Sep 14 01:51:08 2005] [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/whm-server-status/
    
     
  7. -jdk-

    -jdk- Well-Known Member

    Joined:
    Aug 28, 2005
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    I get the same. Do we know of a fix?

    [Wed Sep 14 16:25:01 2005] [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/whm-server-status
    [Wed Sep 14 16:25:01 2005] [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/404.shtml
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Check httpd.conf and make sure that the block:
    Code:
    <Location /whm-server-status>
        SetHandler server-status
        Order deny,allow     
        Deny from all  
        Allow from 127.0.0.1
    </Location>                     
    ExtendedStatus On   
    
    is located after the AddModules lines, especially:

    AddModule mod_status.c
     
  9. -jdk-

    -jdk- Well-Known Member

    Joined:
    Aug 28, 2005
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    I have this:

    <Location /whm-server-status>
    #<Location /server-status>
    SetHandler whm-server-status
    Order deny,allow
    Deny from all
    Allow from localhost
    </Location>

    ExtendedStatus On (line 1128)


    AddModule mod_status.c is on line 232 so it is after it.


    Does having SetHandler whm-server-status instead of SetHandler server-status make a difference?
     
    #9 -jdk-, Sep 18, 2005
    Last edited: Sep 18, 2005
  10. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    /scripts/addstatus should take care of this for you.
     
  11. -jdk-

    -jdk- Well-Known Member

    Joined:
    Aug 28, 2005
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    Still didn't work
     
Loading...

Share This Page