Re: apache reload v. apache restart

From: Robert Vangel (vangelr_at_rfgt.net)
Date: 11/01/04

  • Next message: Andrea Vettorello: "Re: helix"
    Date: Mon, 01 Nov 2004 20:28:26 +0800
    To: debian-user@lists.debian.org
    
    

    I can't say that this has happened to me really.

    What do error logs give? Do you get any abnormal output from logrotate?
    Or, does it just die because it *seems* it wants to.

    I've had similar problems due to very stale processes (and even after
    <service> stop haven't killed and it's just doing lots of "killall -9"'s
    that has put it all back to normal.

    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.
    >
    > Anyone else seen this or have any thoughts as to what *really* caused
    > this to start happening? The logrotate and Apache configs have remained
    > unchanged for many months, and I suspect that one of the the packages
    > 'apt-get upgraded' within the past week broke something.
    >
    > Cheers,
    >
    > 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)
    >
    > iD8DBQFBhin1nhBnac0o2pIRAjwtAKCih2wMWzOwHx9aBiEOkhAmxeBKxQCgqeKs
    > kLy7GeLHLnS3/uqWOYAMxRw=
    > =+mgs
    > -----END PGP SIGNATURE-----
    >
    >

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Andrea Vettorello: "Re: helix"

    Relevant Pages

    • apache reload v. apache restart
      ... Woody, fully up to date, runs Apache ... Recently, after an 'apt-get upgrade', Apache has been dying when doing a ... I've changed it to '/etc/ini.d/apache restart' in the logrotate ...
      (Debian-User)
    • Re: why is web traffic being written to the rotated log file?
      ... It sounds like you are using logrotate to rotate your apache logs. ... The problem is that apache keeps the i-node open when the logrotate tries to roll the logfile. ... You need to add a graceful restart for apache to roll apache over to the new log file. ...
      (RedHat)
    • error running shared postrotate script for /var/log/apache/*.log
      ... Putting the entry back seems to have fixed ... Perhaps logrotate is barfing because 52 copies of error.log exist? ... I think it's complaining that apache is not running. ...
      (Debian-User)
    • Apache 2.0.52 and logrotate SSL
      ... midnight.And,i am running apache in SSL mode. ... 1.I am using apachectl graceful option to restart apache in logrotate ... logrotate script. ...
      (comp.os.linux.misc)
    • Re: log rotation recommendations
      ... wondering what the recommended way of rotating logs (principally postfix ... and apache). ... file name to read a PID out of: that PID will be signalled when the ... Or, indeed, logrotate if that's what you prefer. ...
      (freebsd-questions)