http://bugzilla.novell.com/show_bug.cgi?id=516680
User poeml@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=516680#c7
--- Comment #7 from Peter Poeml
I think the Graceful restart is done by these: Jun 25 20:30:09 wild-thing run-crons[25698]: 0logwatch: OK Jun 25 20:30:15 wild-thing run-crons[25698]: logdigest: OK Jun 25 20:30:16 wild-thing run-crons[25698]: logrotate: OK Jun 25 20:30:17 wild-thing run-crons[25698]: suse-clean_catman: OK
Exactly, logrotate is the one which causes daily reloads. It'll move away some log files (to compress them), and "rcapache2 reload". That's the graceful restart that causes Apache to keep running, but reopen its logfiles and spawn new children processes. logrotate may cause several of these reloads, because it may do them for several logfiles. Apache logs "caught SIGTERM, shutting down" for that, because that's the signal that it gets. Followed by a "configured -- resuming normal operations" message, which indicates that all is fine. But when you manually issued a rcapache2 restart-graceful, that was a different command. That's the one which sends SIGWINCH (as can be seen in the log), which causes the special "graceful shutdown", that keeps Apache running for GracefulShutdownTimeout time. Now, the "Address already in use: make_sock: could not bind to address 0.0.0.0:80" message that was logged then indicates that you *did* run into the problem that I described above; one of the cases where the graceful shutdown & restart doesn't work. What you wanted to do is "rcapache2 reload" to trigger the issue that you saw :-) You might set GracefulShutdownTimeout in the configuration and see if it makes the graceful shutdown & restart work in your setup, but you might as well just ignore it, because I assume that you just wanted to reproduce the error messages that you saw in the logs.
I will have to wait until these scripts are being run. To check if The timeout setting can fix this.
You can call /etc/cron.daily/logrotate at any time, to experiment. Or simply /usr/sbin/logrotate. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.