[Bug 392532] Re: apache2.2-common: /etc/init.d/apache2 script is empty
My system is ext3. -- 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
[Bug 392532] Re: apache2.2-common: /etc/init.d/apache2 script is empty
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
[Bug 392532] Re: apache2.2-common: /etc/init.d/apache2 script is empty
Same as Robert and zeekoe. Found a bunch of apache2 files that looked like they had been rotated by logrotate. Running Ubuntu Karmic Server with a fresh install. # uname -a Linux host 2.6.31-302-rs #7 SMP Thu Oct 29 22:57:03 UTC 2009 x86_64 GNU/Linux # dpkg -l | grep apache ii apache2-doc 2.2.12-1ubuntu2.1 ii apache2-mpm-prefork 2.2.12-1ubuntu2.1 ii apache2-utils 2.2.12-1ubuntu2.1 ii apache2.2-bin 2.2.12-1ubuntu2.1 ii apache2.2-common 2.2.12-1ubuntu2.1 ii libapache2-mod-php5 5.2.10.dfsg.1-2ubuntu6.4 ii libapache2-mod-proxy-html 3.0.1-1 Can't see anything out of the ordinary in the apache entry found in the /etc/logrotate.d directory -- 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