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!

Improper Httpd Restart In 9.2

Discussion in 'General Discussion' started by mheaton, May 3, 2004.

  1. mheaton

    mheaton Member PartnerNOC

    Jul 8, 2003
    Likes Received:
    Trophy Points:
    Has any else noticed that Cpanel doesn't understand how to lock the httpd.conf file poprerly on apache when it does an insert (virtual host entry) and a SIGUSR1 (Graceful restart of apache)?

    It simply doesn't work. Heres how to test (It doesn't happen everytime).

    Create a new account, or add on domain which forces cpanel to do a httpd graceful restart then hurry and add another domain or create another account. It then sends ANOTHER SIGUSR1 (Graceful restart) to apache before the other finishes. The second one tries to read in the conf file before the first one finishes and then apache dies because the conf file was invalid. Then you have to wait 5 mins or so before Cpanels health check decides that apache is down and issues a /scripts/restartsrv httpd. PLEASE PLEASE PLEASE LOCK THE CONF FILE WHILE YOU DO A RESTART. This is such an easy fix. I can't believe we are on 9.2 and still don't have it. THANKS!

    We do have about 1000 domains on the server so the startup takes longer than boxes with no users. Without a lot of domains it WILL be much harder to duplicate. LOCK LOCK LOCK!


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