Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2005
    Posts
    125

    Default HTTPD will not restart

    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. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default Re: HTTPD will not restart

    To rebuild the httpd.conf file:

    Code:
    # 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.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. httpd restart
    By Daky in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-01-2011, 08:35 AM
  2. Daily httpd restart changes AllowOverride None to All in httpd.conf
    By Lasers in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 02-26-2007, 12:17 PM
  3. httpd restart every 8 mins?
    By serversphere in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-03-2007, 09:11 AM
  4. Cron to restart httpd
    By casey in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-17-2006, 08:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube