[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#301702: apache2 start failed during restart when logs rotated



Package: apache2
Version: 2.0.53-5

apache stopped then started from logrotate postrotate script:
/etc/init.d/apache2 restart

When starting it can't bind to port 80 because "Address in use". It doesn't any errors to logs because no error.log exists (it's rotated you remember?).

So we and up with apache silently falling each week.

I suggest to use reload rather then restart for postrotate script.

I am using Debian GNU/Linux 3.1, custom kernel 2.4.26-1-686 and stock libc6 2.3.2.ds1-16.




Reply to: