Web Hosting Talk







View Full Version : Apache stopping due to SIGTERM - but no reason?


Ed Roxter
10-24-2004, 09:03 AM
Hey folks!

So I've got this problem... Running Debian 3.0 (woody) with Apache 1.3.26.
Some times, and I don't know why, Apache simply stops. The only error is "caught SIGTERM, shutting down".

Here's the last few lines of one logfile where that happened:

[Sun Oct 24 03:14:06 2004] [error] [client 207.46.98.117] File does not exist: /var/www/web1/html/sani/SSDamESG@gmx.de
[Sun Oct 24 03:16:25 2004] [error] [client 207.46.98.117] File does not exist: /var/www/web1/html/sani/lotterfee13@yahoo.de
[Sun Oct 24 03:25:28 2004] [error] [client 66.196.90.167] File does not exist: /var/www/web0/html/robots.txt
[Sun Oct 24 03:35:03 2004] [error] [client 66.196.90.87] File does not exist: /var/www/web0/html/andi/robots.txt
[Sun Oct 24 04:57:05 2004] [crit] [client 207.46.98.112] (13)Permission denied: /var/www/web0/html/cgi-bin/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 24 05:22:08 2004] [error] [client 66.196.90.209] File does not exist: /var/www/web0/html/robots.txt
[Sun Oct 24 06:04:21 2004] [error] [client 195.101.94.101] File does not exist: /var/www/web3/html/robots.txt
[Sun Oct 24 06:09:51 2004] [error] [client 217.154.245.220] File does not exist: /var/www/web1/html/sani/robots.txt
[Sun Oct 24 06:13:59 2004] [error] [client 207.46.98.117] File does not exist: /var/www/web1/html/sani/robots.txt
[Sun Oct 24 06:25:08 2004] [notice] caught SIGTERM, shutting down

So I don't see any error, neither here nor in any other cases Apache stopped working.
So what is the matter?

Thanks in advance!

Nico

LeaseWeb
10-24-2004, 09:14 AM
SIGTERM is issued when the kill command is given.

Was anyone logged in at the time? Or possible a script that does a restart?

Ed Roxter
10-24-2004, 09:52 AM
Don't think so.. Just some Search Engine Bots which where spidering the server...

CArmstrong
10-24-2004, 11:12 AM
Perhaps you have System Integrity Monitor (http://www.r-fx.org/sim.php) halting/restarting Apache when loads get high? Even if you haven't installed SIM yourself, many hardening companies do. Just a thought. Good luck!

LeaseWeb
10-24-2004, 03:01 PM
Do you have any stats program cronned?
possibly something tried to restart apache to rotate logs.

Ed Roxter
10-25-2004, 01:12 PM
@LeaseWeb: Yes, I've got Confixx 3 Pro running but at this point there were no changes made that could have the counterscript make Apache restart. And the statistics (Webalizer, quota etc.) are updated at 2am and 3am, this shutdown was at 6:25 am.

@Chris Armstrong: Well, I'll look that up when I'm at home, but thanks for that hint. :)