hier ein etwas merkwürdiges Konstrukt unter Debian 3/4 und Confixx 3.x
Jeden Sonntag gegen 06.25 Uhr stürzt der Apache Webserver ab. Log-Auswertungen ergaben, dass zu dieser Zeit das logrotate Script von Confixx aktiv wird.
Im error_log von Apache findet sich:
Code: Select all
[Mon Jul 23 05:20:19 2007] [warn] child process 2732 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:19 2007] [warn] child process 2733 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:19 2007] [warn] child process 2734 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:19 2007] [warn] child process 2735 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:19 2007] [warn] child process 2750 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:19 2007] [warn] child process 2760 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:19 2007] [warn] child process 2761 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:19 2007] [warn] child process 29306 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:19 2007] [warn] child process 29310 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:19 2007] [warn] child process 12566 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:21 2007] [warn] child process 2732 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:21 2007] [warn] child process 2733 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:21 2007] [warn] child process 2734 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:21 2007] [warn] child process 2735 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:21 2007] [warn] child process 2750 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:21 2007] [warn] child process 2760 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:21 2007] [warn] child process 2761 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:21 2007] [warn] child process 29306 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:21 2007] [warn] child process 29310 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:21 2007] [warn] child process 12566 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:23 2007] [warn] child process 2732 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:23 2007] [warn] child process 2733 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:23 2007] [warn] child process 2734 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:23 2007] [warn] child process 2735 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:23 2007] [warn] child process 2750 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:23 2007] [warn] child process 2760 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:23 2007] [warn] child process 2761 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:23 2007] [warn] child process 29306 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:23 2007] [warn] child process 29310 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:23 2007] [warn] child process 12566 still did not exit, sending a SIGTERM
[Mon Jul 23 05:20:25 2007] [error] child process 2732 still did not exit, sending a SIGKILL
[Mon Jul 23 05:20:25 2007] [error] child process 2733 still did not exit, sending a SIGKILL
[Mon Jul 23 05:20:25 2007] [error] child process 2734 still did not exit, sending a SIGKILL
[Mon Jul 23 05:20:25 2007] [error] child process 2735 still did not exit, sending a SIGKILL
[Mon Jul 23 05:20:25 2007] [error] child process 2750 still did not exit, sending a SIGKILL
[Mon Jul 23 05:20:25 2007] [error] child process 2760 still did not exit, sending a SIGKILL
[Mon Jul 23 05:20:25 2007] [error] child process 2761 still did not exit, sending a SIGKILL
[Mon Jul 23 05:20:25 2007] [error] child process 29306 still did not exit, sending a SIGKILL
[Mon Jul 23 05:20:25 2007] [error] child process 29310 still did not exit, sending a SIGKILL
[Mon Jul 23 05:20:25 2007] [error] child process 12566 still did not exit, sending a SIGKILL
[Mon Jul 23 05:20:27 2007] [notice] caught SIGTERM, shutting downCode: Select all
/etc/cron.daily/logrotate:
error: Failed to remove old log /var/log/apache/meinserver.de_access.log.1.gz: No such file or directory (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs
error: error running shared postrotate script for /var/log/apache/meinserver.de_access.log
run-parts: /etc/cron.daily/logrotate exited with return code 1Vermutlich ist es das logrotate script, da er ja schreibt "could not remove old log". Das Script läuft dann weiter und hält den Apache unten (so weit ich das richtig verstanden habe?).
Ich habe aber nichts an den Scripten geändert, es trat auch nicht gleich nach dem Update auf das neue Confixx auf.
Ich könnte den Apache natürlich jeden Tag um 06:25 Uhr wieder neu starten, aber diese Lösung scheint mir nicht sehr elegant!
Hat jemand einen Tipp bei der Hand?
