Every Sunday morning, Apache2 doesn't survive the logrotate. The "sleep" in the restart function in the init script isn't long enough. Though, I don't believe sleeping is the right way to go about this. Wouldn't it be better to have something sit and watch until the processes end before it tries to start up new httpd processes? And then if you wanted, you could maybe have a timeout. Apache is a pretty important process to have running. This init script should be rock solid, but it doesn't seem to be so right now.
""" /etc/cron.daily/logrotate: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName (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/apache2/*.log run-parts: /etc/cron.daily/logrotate exited with return code 1 """ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]