Re: Bug#237377: apache: Apache parent process dies at reload
This workaround is not good enough on all machine. On slow machines 5
seconds are not enough. It has been tested already.
On Wed, 19 May 2004 firstname.lastname@example.org wrote:
> On Sun, 2 May 2004 09:12:37 -0600
> Sam George <email@example.com> wrote:
> I may have found a work around for this bug.
> 369 root@chaljin:/etc # diff /etc/logrotate.d/apache.orig /etc/logrotate.d/apache
> --- /etc/logrotate.d/apache.orig 2004-05-19 11:55:46.000000000 -0600
> +++ /etc/logrotate.d/apache 2004-05-11 11:38:47.000000000 -0600
> @@ -15,5 +15,7 @@
> /etc/init.d/apache reload > /dev/null; \
> fi; \
> + sleep 5
> + /etc/init.d/apache start
> It's just a kluge, but it has worked for me for the last two log rotations.
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.