[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A butchered Apache2 Installation



On Sat, Nov 01, 2003 at 02:47:21PM +0100, John Orford said
> 
> I accidentally / stupidly butchered my Apache2 installation.
> 
> I can neither install apache2-mpm-worker over the old install or remove it - 
> I've tried apt-get remove..., apt-get -f install and dpkg.
> 
> Can I uninstall it manually?  Or somehow repair it.
> 
> The error message from "apt-get remove apache2-mpm-worker" is below.
> 
> Hope you guys can help.
> 
> John
> --------------------
> Stopping web server: Apache2apache2: could not open document config file 
> /etc/apache2/apache2.conf
> invoke-rc.d: initscript apache2, action "stop" failed.
> dpkg: error processing apache2-mpm-worker (--remove):
>  subprocess pre-removal script returned error exit status 1
> Starting web server: Apache2apache2: could not open document config file 
> /etc/apache2/apache2.conf
> invoke-rc.d: initscript apache2, action "start" failed.
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  apache2-mpm-worker
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Try editing /var/lib/dpkg/info/apache2-mpm-worker.prerm and comment out
the line that's calling "invoke-rc.d".

-- 
Rob Weir <rweir@ertius.org> | mlspam@ertius.org  |  Do I look like I want a CC?
Words of the day:     covert video Mena rail gun Capricorn Crypto AG kibo sweep

Attachment: signature.asc
Description: Digital signature


Reply to: