ispCP - Board - Support
/etc/init.d/apache2 empty file - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: /etc/init.d/apache2 empty file (/thread-12927.html)



/etc/init.d/apache2 empty file - marceloctec - 02-22-2011 10:23 PM

Hi,

My apache server crashes every 2 weeks. The file /etc/init.d/apache2 is cleaned and is generated the apache2.1 file.

I just copy the apache2.1 to apache2, restart apache and works fine.


The trouble is the period (2 weeks). I guess the a cronjob function, but I dont found anything about this.

Someone can help me?

Regards,
Marcelo


RE: /etc/init.d/apache2 empty file - fluser - 02-22-2011 10:32 PM

You can finde the solution here: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/392532
and here:
http://isp-control.net/forum/search.php?action=results&sid=77c0234cd4fa844ec0eded2289299003


RE: /etc/init.d/apache2 empty file - marceloctec - 03-01-2011 05:29 AM

(02-22-2011 10:32 PM)fluser Wrote:  You can finde the solution here: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/392532
and here:
http://isp-control.net/forum/search.php?action=results&sid=77c0234cd4fa844ec0eded2289299003



The second link are down....
Hi,


The first link I can't see a solution an the second link are down....

Regards,
Marcelo


RE: /etc/init.d/apache2 empty file - marceloctec - 03-11-2011 11:37 PM

Hi,

I don't found the solution yet. Every 2 weeks my apache server down.



Regards,
Marcelo


RE: /etc/init.d/apache2 empty file - fluser - 03-12-2011 09:17 PM

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

But the problem is a bug in Ubuntu, so the best way is, to create a cronjob. The cronjob should dublicate the apache2 script to /etc/init.d once a week.

Best Regards
Fluser


RE: /etc/init.d/apache2 empty file - marceloctec - 03-18-2011 02:46 PM

Hi Fluser,

Thanks for tip...

I creat a dayly cronjob and works fine.


Regards,
Marcelo


RE: /etc/init.d/apache2 empty file - claussit - 03-18-2011 06:54 PM

http://isp-control.net/forum/thread-12638.html

"In short: remove "/etc/logrotate.d/apache2" (or similar)" .