Comment 6 for bug 392532

Revision history for this message
Robert L (robert-lundback) wrote :

Hi
I have noticed the same problem. My /etc/init.d/apache2 file is emptied occasionally.
I also noticed that new files apache2.1 apache2.2 etc was created in the same directory. It seemed like the handling of logfiles where older files are kept with a .'integer' extension.

I have several times copied back the apache2.1 file to its original name. But now and then maybe a week or so has to pass, then it happens again. With the result that apache doesnt start at reboot.

I also noticed some time ago that the time stamp of the emptied filed was close to (or same dont remember) en entry in some logfile saying syslogd restart or similar. Sorry I couldn't find the exact info right now.

So my suspicion is that somewhere the path of the logdirectory is mixed with the /etc/init.d directory/files.

my system:
uname -a
Linux myran 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

dpkg -l | grep apache
ii apache2 2.2.11-2ubuntu2.1 Apache HTTP Server metapackage
ii apache2-mpm-worker 2.2.11-2ubuntu2.1 Apache HTTP Server - high speed threaded model
ii apache2-utils 2.2.11-2ubuntu2.1 utility programs for webservers
ii apache2.2-common 2.2.11-2ubuntu2.1 Apache HTTP Server common files