The output of

logrotate -d /etc/logrotate.conf

(run as root) would be interesting, too. Especially if it mentions
errors or the file /etc/init.d/apache2.


BTW, you can restore the file with

cd /tmp
aptitude download apache2.2-common
dpkg --extract apache2.2-common_*.deb apache2.2-common
sudo cp apache2.2-common/etc/init.d/apache2 /etc/init.d

A normal reinstall is not enough because dpkg will think you have
emptied the file intentionally. (Purging and installing again would
work, but that would delete your whole apache configuration).

-- 
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