I screwed it up (again !)

I screwed it up (again !)

am 14.06.2007 14:43:26 von pokhara

The default install on my Debian-like box was a bit messed up.

So I uninstalled it using apt-get remove apache2 etc etc

I also deleted every apache sounding directory on the box

NOW when I try and install it fresh I get

root@knoppix:~# apt-get install apache2
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
apache2-mpm-worker
The following NEW packages will be installed:
apache2 apache2-mpm-worker
0 upgraded, 2 newly installed, 0 to remove and 282 not upgraded.
Need to get 0B/459kB of archives.
After unpacking 766kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package apache2-mpm-worker.
(Reading database ... 149782 files and directories currently
installed.)
Unpacking apache2-mpm-worker (from .../apache2-mpm-
worker_2.2.3-4_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.2.3-4_all.deb) ...
Setting up apache2-mpm-worker (2.2.3-4) ...
grep: /etc/apache2/mods-enabled/*.load: No such file or directory
It looks like you've deleted /etc/apache2/mods-available/cgid.load, so
mod_cgid cannot be enabled. To fix this, please purge and reinstall
apache2.2-common.
Starting web server (apache2)...apache2: Could not open configuration
file /etc/apache2/apache2.conf: No such file or directory
failed!
invoke-rc.d: initscript apache2, action "start" failed.

Setting up apache2 (2.2.3-4) ...
root@knoppix:~#


I tried apt-get remove apache2.2-common and then apt-get install
apache2.2-common to no avail.

Re: I screwed it up (again !)

am 14.06.2007 16:26:52 von kwan

On Jun 14, 7:43 am, pokhara67 wrote:
> The default install on my Debian-like box was a bit messed up.
>
> So I uninstalled it using apt-get remove apache2 etc etc
>
> I also deleted every apache sounding directory on the box
>
> NOW when I try and install it fresh I get
>
> root@knoppix:~# apt-get install apache2
> Reading package lists... Done
> Building dependency tree... Done
> The following extra packages will be installed:
> apache2-mpm-worker
> The following NEW packages will be installed:
> apache2 apache2-mpm-worker
> 0 upgraded, 2 newly installed, 0 to remove and 282 not upgraded.
> Need to get 0B/459kB of archives.
> After unpacking 766kB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Selecting previously deselected package apache2-mpm-worker.
> (Reading database ... 149782 files and directories currently
> installed.)
> Unpacking apache2-mpm-worker (from .../apache2-mpm-
> worker_2.2.3-4_i386.deb) ...
> Selecting previously deselected package apache2.
> Unpacking apache2 (from .../apache2_2.2.3-4_all.deb) ...
> Setting up apache2-mpm-worker (2.2.3-4) ...
> grep: /etc/apache2/mods-enabled/*.load: No such file or directory
> It looks like you've deleted /etc/apache2/mods-available/cgid.load, so
> mod_cgid cannot be enabled. To fix this, please purge and reinstall
> apache2.2-common.
> Starting web server (apache2)...apache2: Could not open configuration
> file /etc/apache2/apache2.conf: No such file or directory
> failed!
> invoke-rc.d: initscript apache2, action "start" failed.
>
> Setting up apache2 (2.2.3-4) ...
> root@knoppix:~#
>
> I tried apt-get remove apache2.2-common and then apt-get install
> apache2.2-common to no avail.

Is the apache service is running?

Re: I screwed it up (again !)

am 14.06.2007 16:38:57 von HansH

"pokhara67" schreef in bericht
news:1181825006.996806.81180@g37g2000prf.googlegroups.com...
The [re]install reported
> It looks like you've deleted /etc/apache2/mods-available/cgid.load, so
> mod_cgid cannot be enabled.
>To fix this, please purge and reinstall apache2.2-common.

hinting how to cure your problem, as 'purge' is an option to apt-get
Just 'man apt-get' for details

HansH

Re: I screwed it up (again !)

am 14.06.2007 16:39:04 von pokhara

On Jun 14, 3:26 pm, kwan wrote:
> On Jun 14, 7:43 am, pokhara67 wrote:
>
>
>
> > The default install on my Debian-like box was a bit messed up.
>
> > So I uninstalled it using apt-get remove apache2 etc etc
>
> > I also deleted every apache sounding directory on the box
>
> > NOW when I try and install it fresh I get
>
> > root@knoppix:~# apt-get install apache2
> > Reading package lists... Done
> > Building dependency tree... Done
> > The following extra packages will be installed:
> > apache2-mpm-worker
> > The following NEW packages will be installed:
> > apache2 apache2-mpm-worker
> > 0 upgraded, 2 newly installed, 0 to remove and 282 not upgraded.
> > Need to get 0B/459kB of archives.
> > After unpacking 766kB of additional disk space will be used.
> > Do you want to continue [Y/n]? y
> > Selecting previously deselected package apache2-mpm-worker.
> > (Reading database ... 149782 files and directories currently
> > installed.)
> > Unpacking apache2-mpm-worker (from .../apache2-mpm-
> > worker_2.2.3-4_i386.deb) ...
> > Selecting previously deselected package apache2.
> > Unpacking apache2 (from .../apache2_2.2.3-4_all.deb) ...
> > Setting up apache2-mpm-worker (2.2.3-4) ...
> > grep: /etc/apache2/mods-enabled/*.load: No such file or directory
> > It looks like you've deleted /etc/apache2/mods-available/cgid.load, so
> > mod_cgid cannot be enabled. To fix this, please purge and reinstall
> > apache2.2-common.
> > Starting web server (apache2)...apache2: Could not open configuration
> > file /etc/apache2/apache2.conf: No such file or directory
> > failed!
> > invoke-rc.d: initscript apache2, action "start" failed.
>
> > Setting up apache2 (2.2.3-4) ...
> > root@knoppix:~#
>
> > I tried apt-get remove apache2.2-common and then apt-get install
> > apache2.2-common to no avail.
>
> Is the apache service is running?

no it isnt

It looks like you've deleted /etc/apache2/mods-available/cgid.load, so
mod_cgid cannot be enabled

cant i just get a copy of cgid.load from somewhere ?

Re: I screwed it up (again !)

am 14.06.2007 16:56:07 von pokhara

On Jun 14, 3:38 pm, "HansH" wrote:
> "pokhara67" schreef in berichtnews:1181825006.996806.81180@g37g2000prf.googlegroups .com...
> The [re]install reported
>
> > It looks like you've deleted /etc/apache2/mods-available/cgid.load, so
> > mod_cgid cannot be enabled.
> >To fix this, please purge and reinstall apache2.2-common.
>
> hinting how to cure your problem, as 'purge' is an option to apt-get
> Just 'man apt-get' for details
>
> HansH

apt-get --purge remove apache2.2-common

thaks it worked

whats the difference between

apache-mpm-worker and apache-mpm-prefork ?

and my /etc/apache2/sites-enabled/ directory is now empty.

the default file hasnt been restored

Re: I screwed it up (again !)

am 14.06.2007 17:40:10 von kwan

On Jun 14, 9:56 am, pokhara67 wrote:
> On Jun 14, 3:38 pm, "HansH" wrote:
>
> > "pokhara67" schreef in berichtnews:1181825006.996806.81180@g37g2000prf.googlegroups .com...
> > The [re]install reported
>
> > > It looks like you've deleted /etc/apache2/mods-available/cgid.load, so
> > > mod_cgid cannot be enabled.
> > >To fix this, please purge and reinstall apache2.2-common.
>
> > hinting how to cure your problem, as 'purge' is an option to apt-get
> > Just 'man apt-get' for details
>
> > HansH
>
> apt-get --purge remove apache2.2-common
>
> thaks it worked
>
> whats the difference between
>
> apache-mpm-worker and apache-mpm-prefork ?
>
> and my /etc/apache2/sites-enabled/ directory is now empty.
>
> the default file hasnt been restored

rpm -e apache2

to remove all the previous installation
and reinstall back...

Re: I screwed it up (again !)

am 14.06.2007 18:09:44 von HansH

"pokhara67" schreef in bericht
news:1181832967.078704.175000@e9g2000prf.googlegroups.com...
> apt-get --purge remove apache2.2-common
> thaks it worked
>
> whats the difference between
> apache-mpm-worker and apache-mpm-prefork ?
http://httpd.apache.org/docs/2.2/mod/

> and my /etc/apache2/sites-enabled/ directory is now empty.
> the default file hasnt been restored
There should not be a file [ever], just (sym)links will do.

This folders contence may appear after [re]installing one of the
apache-mpm-* ,
apache2.2-common is just the invisable part of the show.


HansH
--
Apache2 comes without a RTF Manual

Re: I screwed it up (again !)

am 14.06.2007 18:11:57 von HansH

"kwan" schreef in bericht
news:1181835610.140889.209160@i38g2000prf.googlegroups.com.. .
> On Jun 14, 9:56 am, pokhara67 wrote:
>> apt-get --purge remove apache2.2-common
>>
>> thaks it worked
> rpm -e apache2
>
> to remove all the previous installation
> and reinstall back...
>
On Debian rpm is not the preferred tool to install a package.

HansH