Re: Apache2 won't remove.
On Tue, Feb 27, 2007 at 07:12:09PM +0100, Florian Kulzer wrote:
> > invoke-rc.d: unknown initscript, /etc/init.d/apache2 not found.
> > dpkg: error processing apache2-mpm-worker (--remove):
Simple solution:
echo "#!/bin/sh" >> /etc/init.d/apache2
chmod 755 /etc/init.d/apache2
> I think your best option is to extract the missing file from the .deb
> package and to put it into /etc/init.d. First you have to see if the
> .deb file is still in your package cache. Its path will be something
> like
The simpler approach is:
apt-get install --reinstall apache2-common
Failing that:
http://www.debian-administration.org/articles/251
Steve
--
Debian GNU/Linux System Administration
http://www.debian-administration.org/
Reply to: