httpd not restarting correctly --HELP--

webdesignlx

Member
Aug 13, 2004
14
0
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
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.
 

webdesignlx

Member
Aug 13, 2004
14
0
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.
 

webdesignlx

Member
Aug 13, 2004
14
0
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 ?