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

Bug#473982: apache2-mpm-prefork: Logrotate complains about APACHE_PID_FILE



On Wednesday 02 April 2008, Claire Boussard wrote:
> > /etc/cron.daily/logrotate:
> > ERROR: APACHE_PID_FILE needs to be defined in
> > /etc/apache2/envvars error: error running shared postrotate
> > script for /var/log/apache2/*.log run-parts:
> > /etc/cron.daily/logrotate exited with return code 1
>
> I have done what is suggested i.e. edit /etc/apache2/envvars adding

You probably refused to update /etc/apache2/envvars. The new version 
should be in /etc/apache2/envvars.dpkg-new .

But a test in the init script that gives a warning if the variables 
are not set might be a good idea.

Cheers,
Stefan



Reply to: