Apache restart automatically with out any cron job

Status
Not open for further replies.

cptech

New member
Joined
Nov 23, 2005
Messages
2
Hello,

In one of our DA servers, we are faced with a wiered problem.

Apache service gets restarted automaticaly everyday at a specific time.

At first we thought of any scheduled job or any process load or hardware issue, but we can see that they are not the cause of the problem. The server is having more than 200 days uptime with much less load. Also there is no other errors or messages reported in the logs other than the following.
-----------------------------------------
grep restart /var/log/httpd/error_log
[Mon Feb 20 00:10:01 2006] [notice] SIGHUP received. Attempting to restart
[Tue Feb 21 00:10:01 2006] [notice] SIGHUP received. Attempting to restart
[Wed Feb 22 00:10:01 2006] [notice] SIGHUP received. Attempting to restart
[Thu Feb 23 00:10:00 2006] [notice] SIGHUP received. Attempting to restart
[Fri Feb 24 00:10:01 2006] [notice] SIGHUP received. Attempting to restart
--------------------------------
/var/log/httpd/error_log
-----------
Signal 1 caught by ps (procps version 2.0.17).
Please send bug reports to <[email protected]>
[Fri Feb 24 00:10:01 2006] [notice] SIGHUP received. Attempting to restart
[Fri Feb 24 00:10:02 2006] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.11 mod_perl/1.29 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Fri Feb 24 00:10:02 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Feb 24 00:10:02 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Feb 24 00:11:00 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 24 00:11:01 2006] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.11 mod_perl/1.29 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Fri Feb 24 00:11:01 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Feb 24 00:11:01 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
-----------------------------------------

The only issue is that of apache service restart. We would like to know why it happens and if DA is having any scheduled job elsewhere which causes the specific service to go for reboot automatically.

Thanks,
Mahesh
Crucial Paradigm.
 
Logrotate always restarts all the programs that write to logs. It has to.

Jeff
 
Hi Jeff,

Thank you very much to point it out. Issue fixed.. :)

Thanks,
Mahesh
 
Hi,

I faced the same problem. Please let me know what you have done to fix it

Thanks,
Saravana
 
If you read the thread it not an issue that needs to be "fixed." Its not broken so it doesn't need to be fixed. Read what Jeff said.
 
Same problem here, still no fix??
How do i kow that logrotate is ina ction? it doesnt say this in the logs.
 
Status
Not open for further replies.
Back
Top