Stefan, running logrotate -d /etc/logrotate.conf gives me:
reading config file /etc/logrotate.conf including /etc/logrotate.d reading config file apache2 error: error accessing /var/log/apache2: No such file or directory error: apache2:1 glob failed for /var/log/apache2/*.log error: found error in /var/log/apache2/*.log , skipping removing last 1 log configs error: apache2:11 lines must begin with a keyword or a filename (possibly in double quotes) error: apache2:12 missing end of line reading config info for /etc/init.d/apache2 reload > /dev/null fi endscript } Seems it is looking for /var/log/apache2, but the logs seem to be installed in /var/log/apache. If I create a symlink ln -s /var/log/apache /var/log/apache2 and rerun the logrotate -d command, everything seems OK. I also ran logrotate without the -d debug switch and my apache2 init.d file was not clobbered. So the misnamed log directory seems to be the problem? I don't remember changing the name (its possible I did though) and this was a fresh install... -- 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