Current time: 11-26-2024, 05:16 AM Hello There, Guest! (LoginRegister)


Post Reply 
/etc/init.d/apache2 empty file
Author Message
marceloctec Offline
Junior Member
*

Posts: 20
Joined: Dec 2010
Reputation: 0
Post: #1
/etc/init.d/apache2 empty file
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
02-22-2011 10:23 PM
Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #2
RE: /etc/init.d/apache2 empty file
You can finde the solution here: https://bugs.launchpad.net/ubuntu/+sourc...bug/392532
and here:
http://isp-control.net/forum/search.php?...2289299003
02-22-2011 10:32 PM
Find all posts by this user Quote this message in a reply
marceloctec Offline
Junior Member
*

Posts: 20
Joined: Dec 2010
Reputation: 0
Post: #3
RE: /etc/init.d/apache2 empty file
(02-22-2011 10:32 PM)fluser Wrote:  You can finde the solution here: https://bugs.launchpad.net/ubuntu/+sourc...bug/392532
and here:
http://isp-control.net/forum/search.php?...2289299003



The second link are down....
Hi,


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

Regards,
Marcelo
(This post was last modified: 03-01-2011 05:33 AM by marceloctec.)
03-01-2011 05:29 AM
Find all posts by this user Quote this message in a reply
marceloctec Offline
Junior Member
*

Posts: 20
Joined: Dec 2010
Reputation: 0
Post: #4
RE: /etc/init.d/apache2 empty file
Hi,

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



Regards,
Marcelo
03-11-2011 11:37 PM
Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #5
RE: /etc/init.d/apache2 empty file
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
03-12-2011 09:17 PM
Find all posts by this user Quote this message in a reply
marceloctec Offline
Junior Member
*

Posts: 20
Joined: Dec 2010
Reputation: 0
Post: #6
RE: /etc/init.d/apache2 empty file
Hi Fluser,

Thanks for tip...

I creat a dayly cronjob and works fine.


Regards,
Marcelo
03-18-2011 02:46 PM
Find all posts by this user Quote this message in a reply
claussit Offline
Junior Member
*

Posts: 12
Joined: Nov 2010
Reputation: 0
Post: #7
RE: /etc/init.d/apache2 empty file
http://isp-control.net/forum/thread-12638.html

"In short: remove "/etc/logrotate.d/apache2" (or similar)" .
03-18-2011 06:54 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)