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 restart fails

Discussion in 'General Discussion' started by Sander-Rob, Dec 23, 2009.

  1. Sander-Rob

    Sander-Rob Member

    Joined:
    Jul 4, 2008
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    When trying to restart Apache, I get the following:

    Code:
    Waiting for httpd to restart..............finished.
    
    httpd (/usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd) running as root with PID 10916
    
    httpd has failed, please contact the sysadmin.
    I've run an update (/scripts/upcp --force), with no improvement.
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Test your httpd.conf file.
    In shell:
    /usr/sbin/httpd configtest
     
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    What errors are logged by Apache when the issue occurs?

    The following command may be used to monitor Apache logs when triggering a restart via WHM:
    Code:
    # tail -fvn0 /usr/local/apache/logs/error_log
     
Loading...

Share This Page