more like it hadn't yet stopped perhaps? /etc/init.d/apache2 restart is IMHO unreliable because often the variaus apache daemon processed have not stopped before the start is activated.
I think thats the problem you probably had. On Tue, 15 Feb 2005 14:35:32 -0800 Grant wrote: > > > 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 > > -- > [email protected] mailing list -- Nick Rout <[EMAIL PROTECTED]> -- [email protected] mailing list
