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 not restarting correctly --HELP--

Discussion in 'General Discussion' started by webdesignlx, Jan 25, 2006.

  1. webdesignlx

    webdesignlx Member

    Joined:
    Aug 13, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    Hello,

    Im trying to find this answer in the past 3 days, nad dont find the solution.

    Since day 22 of this month, when for exemple I make an new account on WHM, the WHM send's the signal to restart httpd, but it fails to restart, and I have to go to WHM and clique to restart the httpd service manually.

    The apache error logs is this:

    [Wed Jan 25 12:04:54 2006] [notice] SIGUSR1 received. Doing graceful restart
    [Wed Jan 25 12:06:41 2006] [notice] mod_security/1.9.1 configured
    [Wed Jan 25 12:06:45 2006] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Wed Jan 25 12:06:46 2006] [notice] Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.2 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a configured -- resuming normal operations
    [Wed Jan 25 12:06:46 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Wed Jan 25 12:06:46 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)


    Anyone can help me please, I have trie to recompile Apache, force update on cPanel, noting works, and is getting anoying.

    I have search this foruns and found similar problems, but with out any answer.

    P.S- Sorry my bad english im Portuguese.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Do you have a very busy apache server? Sometimes it can take quite some time for child processes to die after a restart is requested of apache if it is very busy which can leave it in a stopped state. If that is the case, I don't know if there's any workaround.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. webdesignlx

    webdesignlx Member

    Joined:
    Aug 13, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    I think not, because this problem just apears 3 days ago :(

    Is there anyway to make any modifications to httpd service not restart automatic?

    Like a perl script, php script etc., that stops the signal to restart if there is any modifications on httpd.conf ?

    Because for now until I dont know the fix to the problem its beter to me do my self at WHM a restart on httpd service, because the doentime im getting :(

    Thanks in advance for all your help.
     
  4. webdesignlx

    webdesignlx Member

    Joined:
    Aug 13, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    Solution

    I have found the problem.

    Since I have upgraded to PHP 4.4.2, I was forced to upgrade Zend, and because I used on PHP 3.1.0 the Zend and eAccelerator togeter to optimise the server, I was forced to upgrade also de eAccelerator.

    So I have make lots and lots of research, and nothing fixed my problem, because when adding, or rmoving an account on WHM the httpd restart's, but cant kill all jobs i gess, and some how eAccelerator was involved on the process.

    I have go to php.ini comented the eAccelerator module. restart httpd , have run some testes, and evrything is O now :)

    Now I have a dilema, can some one advise me to install a php, html optimiser, like eAccelerator, that runs with PHP 4.4.2, and Zend ?
     
Loading...

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