Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Apr 2002
    Posts
    41

    Default Apache Stats Offline

    WHM is saying that apache is &offline& even though it is up and running without a problem and all sites are accessible. I've tried using the &restart& option but it doesn't change the status

  2. #2
    Member
    Join Date
    Sep 2001
    Location
    Spain
    Posts
    779

    Default

    Don't worry, that info doesn't update instantaneously. Wait some minutes and refresh the screen and it'll say it's up again.

  3. #3
    Member
    Join Date
    Apr 2002
    Posts
    41

    Default

    It's been like for over 3 days.

  4. #4
    Member
    Join Date
    May 2002
    Posts
    152

    Default chkservd

    chkservd is the daemon that checks the status of Apache (along with Exim, Bind, Interchange, etc). It works pretty nicely save for an issue with reporting. When it finds a service down, it flags the service as down and attempts to restart it.

    So lets say that Apache dies for some reason. It will report as being up until chkservd gets around to its routine check (every 8 or 9 minutes) and next reports. At that time, chkservd reports that Apache is down and attempts a restart. Assuming this restart is successful, Apache will then have a red light when viewed in CP/WHM because it was last found to be down. Until 8 or 9 minutes later when it should be reported up... and stay that way.

    As to why yours is constantly reporting as down, that's a little harder. Check your logs. Take a look in /var/log/chkservd.log and you may see the daemon attempting to restart Apache. Is it? Is it possible that the daemon is restarting Apache unnecessarily? chkservd attempts to connect to port 80 on localhost to see if Apache is up. Any chance that fails? This may take some poking around to figure out... unless someone's seen it before of course, in which case there's probably a quick fix.

    - Jason
    Ecoutez! Ltd.
    www.ecoutez.com
    Our new Theme: www.MaxPanel.com

  5. #5
    Member
    Join Date
    Apr 2002
    Posts
    41

    Default

    I finally figured it out. The server was reporting it down even though it was up due to a high load average on the server cpu

Similar Threads & Tags
Similar threads

  1. Apache won't restart after installing wildcard SSL in WHM - PROBLEM sites offline
    By Niels Leenders in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-14-2011, 12:32 PM
  2. how to see offline AWstats stats?
    By Kent Brockman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-13-2008, 08:54 PM
  3. how can i recompile php without recompiling apache and my sites being offline?
    By jclarkkent2003 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-07-2006, 10:18 AM
  4. Apache semi-offline
    By cyon in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-07-2003, 06:58 PM
  5. apache goes offline at random
    By flake in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-19-2003, 08:38 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube