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.

Is Apache Up Or Down?

Discussion in 'EasyApache' started by ShelaghG, Feb 5, 2003.

  1. ShelaghG

    ShelaghG Active Member

    Joined:
    Apr 11, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    How many places are there in WHM to check if Apache is up and why don't they all say the same thing? I made some alterations to httpd.conf and restarted Apache via WHM and it said &httpd failed&. I restored the original version of the file and restarted again and it said that it started but when I checked the server status Apache was showing as failed. I retsarted Apache again and got no warnings but the server status was saying failed.

    I ran /scripts/easyapache as I didn't know where anything was up to any more. Whilst the script was running Apache started showing green on the Service Status panel. As the script ended it finished with &httpd has failed, please contact the sysadmin& but it's still showing green.

    Is it up or down? I am the sysadmin and I haven't got a clue!
     
  2. taivu

    taivu Well-Known Member

    Joined:
    Nov 22, 2001
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    WHM's Service Status is a bit slow... Login via SSH and issue command:

    ps aux | grep apache

    If you have apache processes running, then it's up :)
     
  3. ShelaghG

    ShelaghG Active Member

    Joined:
    Apr 11, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Thanks :) Is httpd failing the same as Apache failing?
     
  4. rbmatt

    rbmatt Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Yes, Apache's process is known as httpd
     
Loading...

Share This Page