
On Wed, Feb 23, 2005 at 09:40:02AM +1300, Drew Broadley wrote:
John R. McPherson wrote:
Yes, for some reason, the apache webserver on the server occasionally fails to restart gracefully after doing the daily logrotate in the mornings. We thought we had fixed it, but it seems to still be occuring sometimes.
When I was working at TKI (www.tki.org.nz), we had the exact issue. Are you performing a restart ? We found we HAD to stop then start, otherwise it would hang every night after the logrotation.
Yes, we had this fixed before we rebuilt the server last month. It's due to logrotate doing a 'reload', which doesn't seem to work properly. I'm just trying to figure out why apache is getting a reload every morning when logrotate should only be doing apache's log file weekly. It looks like the workarounds are to do a stop-start/force-reload instead of a graceful reload, or to use a pipe and cronolog for logging instead of logrotate... John