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.

-- 
apache2.2-common: /etc/init.d/apache2 script is empty
https://bugs.launchpad.net/bugs/392532
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to