Re: apache reload v. apache restart
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
> a
> > 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
logrotate too.
Dave.
- --
Dave Ewart - davee@sungate.co.uk - jabber: davee@jabber.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)
iD8DBQFBmHinnhBnac0o2pIRAoVnAJ0ase8YM/k17dpPsh54G5RL/l1oVgCdHtHg
31MPQaO7bXR0ANXJefKbvX8=
=satz
-----END PGP SIGNATURE-----
Reply to: