Re: apache reload v. apache restart
On Monday 01 November 2004 12:20, Dave Ewart wrote:
> System: Woody, fully up to date, runs Apache
> Recently, after an 'apt-get upgrade', Apache has been dying when doing
> logrotate. I have identified the source of the problem -
> '/etc/ini.d/apache reload' kills Apache.
> So, I've changed it to '/etc/ini.d/apache restart' in the logrotate
> scripts and this seems OK.
I'm still trying to find a workaround. 'restart' did not work for me.
Doing it by hand from the command line 'stop' followed by 'start' works
reliably, but when I put it in the logrotate script it failed too:
invoke-rc.d: initscript apache, action "start" failed.
So I am still restarting manually every time.