Red Hat Bugzilla – Bug 71165
logrotate of apache logs doesn't properly restart apache
Last modified: 2007-04-18 12:45:23 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.1a) Gecko/20020702
Description of problem:
When the logrotate of Apache happens, apache gets the HUP signal and proceeds to
shutdown, but never comes back up after the first logrotate. From the command
line I can do the same command as the logrotate.d/apache script does and apache
will restart only on the first HUP sent. If you try to restart it by a HUP
again it doesn't restart. apache will start by doing 'service httpd start'
without blowing any errors and 'service httpd restart' works fine, it is just
the 'kill -HUP' version that is having problems.
All the updates are applied to the box. The only non-standard thing is I am
running PHP 4.1.2 (rpms built on an updated RH7.2 box) so that Horde 2.1 can work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.rotate logs (works fine first time)
3.rotate logs (day 2, won't restart)
Actual Results: apache restarts the first day after it has been started, but
won't restart on the next day that logs are rotated.
Expected Results: apache should have restarted.
Are any error log messages produced produced when you send the HUP manually?
I don't remember any errors being output, since I applied the recent php update
and everything is now working correctly. You can close this bug if you like. :)
Great. Thanks for the feedback.