public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can't restart apache2
@ 2007-07-24  6:00 Mike Diehl
  2007-07-24  6:12 ` Abraham Marín Pérez
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Diehl @ 2007-07-24  6:00 UTC (permalink / raw
  To: gentoo-user

Well, I'm not sure what I've done.

I did an emerge world some time ago and never restarted apache2.

Now that I HAVE to restart it, it's giving me errors....


/etc/init.d/apache2 restart

 * Apache2 has detected a syntax error in your configuration files:
apache2: Syntax error on line 257 of /etc/apache2/httpd.conf: Cannot 
load /etc/apache2/modules/mod_cgi.so into 
server: /etc/apache2/modules/mod_cgi.so: cannot open shared object file: No 
such file or directory

I've commented out enough lines in the httpd.conf file to guess that probably 
NONE of my apache modules are present anymore.

How can I fix this?  How can I do it and minimize my downtime?

TIA,
-- 
Mike Diehl
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Can't restart apache2
  2007-07-24  6:00 [gentoo-user] Can't restart apache2 Mike Diehl
@ 2007-07-24  6:12 ` Abraham Marín Pérez
  0 siblings, 0 replies; 2+ messages in thread
From: Abraham Marín Pérez @ 2007-07-24  6:12 UTC (permalink / raw
  To: gentoo-user

Have you run etc-update (or dispatch-conf) since the last time you 
updated your system? It may have happened that apache has changed its 
config file syntax or modules directory and, hence, you'll need new 
configuration.

HTH,
Abraham

Mike Diehl escribió:
> Well, I'm not sure what I've done.
>
> I did an emerge world some time ago and never restarted apache2.
>
> Now that I HAVE to restart it, it's giving me errors....
>
>
> /etc/init.d/apache2 restart
>
>  * Apache2 has detected a syntax error in your configuration files:
> apache2: Syntax error on line 257 of /etc/apache2/httpd.conf: Cannot 
> load /etc/apache2/modules/mod_cgi.so into 
> server: /etc/apache2/modules/mod_cgi.so: cannot open shared object file: No 
> such file or directory
>
> I've commented out enough lines in the httpd.conf file to guess that probably 
> NONE of my apache modules are present anymore.
>
> How can I fix this?  How can I do it and minimize my downtime?
>
> TIA,
>   


-- 
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-24  6:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-24  6:00 [gentoo-user] Can't restart apache2 Mike Diehl
2007-07-24  6:12 ` Abraham Marín Pérez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox