Grant ha scritto:

When I try to restart apache2 I get:

/etc/init.d/apache2 restart
* Starting apache2... [ !! ]

and there is nothing in the error_log.  Trying to stop apache2 give me this:

/etc/init.d/apache2 stop
* ERROR:  "apache2" has not yet been started.

but my pages are being served just fine.  Does anyone know what's going on here?




You must have somehow started apache2 manually.

try
  # killall apache && sleep 5 && /etc/init.d/apache2 start
That should restart it for you, and bring it under control of the Gentoo 
initscripts again.
The sleep 5 is to give apache time to finish exiting




Thanks, worked like a charm!  I wonder how apache2 could have been
restarted manually though.  Should I be worried?

- Grant





I bet you are using the "thread" use flag, it change the MPM of apache
... and make it very slow at shutdown time. Sometimes 5 seconds are no
enough too.

btw try to avoid it if you are using mod_php, rumors are that it causes
memory leak also if I've never suffered of them.

regards francesco



I'm actually not using threads. Interchange ( http://www.icdevgroup.org ) doesn't work with a threaded perl so neither do I. :)

- Grant



savvy man ;)

--
[email protected] mailing list



Reply via email to