/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-12657.html) |
/etc/init.d/apache2 empty file - marceloctec - 01-13-2011 04:34 AM Today I needed restart my server (VM) and the apache don't started, because the file /etc/init.d/apache2 was empty. I deleted these file and try recover apache by regenerate the config files (http://isp-control.net/documentation/how...e_config), but don't work. Best Regards, Marcelo RE: /etc/init.d/apache2 empty file - marceloctec - 01-14-2011 02:08 AM nobody? RE: /etc/init.d/apache2 empty file - hubsif - 01-15-2011 08:11 AM I'm having the same problem. /etc/init.d/apache is empty, but /etc/init.d/apache-<weekly-saturday-date>.gz contains a compressed version. Seems like some cronjob is backing up the init-script. If I should find out where this comes from I'll tell you. BTW: I'm running gentoo. hubsif. RE: /etc/init.d/apache2 empty file - MFernandes - 01-15-2011 11:37 AM Try this, # apt-get purge apache2.2-common # apt-get install apache2.2-commen if this you get after this another error, try this also # apt-get install apache2-suexec or see this thread th last post from me: http://isp-control.net/forum/thread-12666.html Regards, MFernandes RE: /etc/init.d/apache2 empty file - hubsif - 01-15-2011 10:48 PM apt-get won't work for gentoo. But I found the solution: look here. hubsif. RE: /etc/init.d/apache2 empty file - marceloctec - 01-17-2011 09:17 PM Thanks for all. I restore the 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 Regards, Marcelo RE: /etc/init.d/apache2 empty file - pgentoo - 08-23-2011 03:10 PM That is very strange that your init.d script got wiped. You can reinstall apache via emerge -av, and your init.d script should get replaced... That is very strange that your init.d script got wiped. You can reinstall apache via emerge -av, and your init.d script should get replaced... |