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.

httpd has failed, please contact the sysadmin.....no file/directory?

Discussion in 'General Discussion' started by I Love Jesus, Dec 12, 2004.

  1. I Love Jesus

    I Love Jesus AKA chadi

    Joined:
    Dec 6, 2004
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Rebooted the server and noticed apache was still down, restarted httpd in WHM and got httpd has failed, please contact the sysadmin.

    I ran this:

    root@server [~]# /usr/sbin/httpd configtest
    -bash: /usr/sbin/httpd: No such file or directory

    How is it suddenly gone?
     
  2. vwiley1

    vwiley1 Well-Known Member

    Joined:
    Oct 4, 2003
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    try:

    service httpd stop

    service httpd start

    Do this from the command line and right down any errors you get. Post them back here if you don't know how to fix them yourself.

    Most likely a problem with the httpd.conf.

    Vince
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Try

    locate httpd.conf
     
  4. vwiley1

    vwiley1 Well-Known Member

    Joined:
    Oct 4, 2003
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    I don't think that httpd.conf is missing. He was trying to run a configtest for httpd but the command he is using is not in the proper format for CPanel systems.

    If he wants to run a configtest he should type:

    service httpd configtest

    at the command line.

    If he wants to see what happens when httpd tries loading he should type:

    service httpd stop

    then

    service httpd start

    Httpd will either start back up, or an error message will be displayed.
     
Loading...

Share This Page