Comment 14 for bug 392532

Revision history for this message
Stefan Fritsch (sf-sfritsch) wrote :

I suspect that logrotate chokes on the '}' that is in the postrotate script in /etc/logrotate.d/apache2. Normally it works fine, but maybe if there is a configuration parse error before the script, something goes wrong.

Please provide the output from

ls -l /etc/logrotate.d

and the contents of /etc/logrotate.d/apache2 and any file in that directory that comes before apache2 when sorted alphabetically. If you have modified /etc/logrotate.conf, please provide that file as well. You can determine if you have modified it by comparing the md5sums in the output of the following two commands:

dpkg -s logrotate |grep /etc/logrotate.conf
md5sum /etc/logrotate.conf

Thanks.