Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

HTTPD will not restart

Discussion in 'General Discussion' started by Serra, Nov 18, 2010.

  1. Serra

    Serra Well-Known Member

    Oct 27, 2005
    Likes Received:
    Trophy Points:
    Twice in the past few months, I've had httpd fail to restart because of junk in httpd.conf. Today I terminated an account. A few hours later I installed an SSL for another site and httpd didn't restart with an unknown account listed in httpd.conf.

    I'm not sure what the 'proper' way to fix that issue was, when the server is down, I use the direct approach and just fix the problem, but I'm somewhat disturbed that a terminated account would linger around on httpd.conf. It seems to be that the prior issue was also a terminated account.

    Is anyone else seeing these issues? Is it something I did/didn't do?

    Also, is there a way to rebuild httpd.conf in an emergency? I'll add it to my notes.
  2. cPanelJared

    cPanelJared Technical Analyst

    Feb 25, 2010
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    To rebuild the httpd.conf file:

    # cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak.old
    # /scripts/rebuildhttpdconf
    # /usr/local/apache/bin/apachectl configtest
    # /scripts/restartsrv_httpd
    If this is a recurring issue when creating or terminating an account, please submit a ticket so that we can investigate it and fix it for you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice