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 Downtime

Discussion in 'EasyApache' started by chad101, May 15, 2007.

  1. chad101

    chad101 Active Member

    Joined:
    Jun 17, 2006
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    My server downtime is killing me. Everyday I have to login to whm and go to Restart Services >> HTTP Server (Apache).

    I have checked usr/local/apache/logs, usr/local/cpanel/logs, and var/log/messages.

    I cannot find any errors that may be causing apache to stop every 8 to 12 hours. I’m lost for thoughts. Is there any server script which could check if apache is down, and restart it when necessary?
     
  2. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    are you kidding? have you looked in the service manager ? you can use the built in chkservd to check any service that cpanel maintains for you and auto-restart if failure is detected. Is chkservd running?
     
  3. ambrish

    ambrish Member

    Joined:
    Dec 9, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Mumbai
    You can use SIM(SIM is a system and services monitor for ‘SysVinit’ systems.)
    you can download it form http://www.r-fx.ca/downloads/sim-current.tar.gz
    I think ,it will help you.It check for services & restart if it was down.You can also configrue fordns,ftp,ssh...etc
     
  4. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    run
    service chkservd restart
     
Loading...

Share This Page