Re: apache reload v. apache restart
-----BEGIN PGP SIGNED MESSAGE-----
On Sunday, 14.11.2004 at 11:14 +0000, Richard Lyons wrote:
> 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.
That is certainly very strange - I see the same behaviour in the
logrotates as on the command line, i.e. if it fails on the command line,
it fails in logrotate; if it works on the command line, it works in
Dave Ewart - email@example.com - jabber: firstname.lastname@example.org
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----