This is a discussion on Re: Apache 2.0 as service on Win98 (shutdown error) within the Windows Web Servers forums, part of the Web Server and Related Forums category; On 11 Jul 2003 07:01:02 -0700, The Other Guy responded to a post from junk.jamesgriff@ntlworld.com (...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 11 Jul 2003 07:01:02 -0700, The Other Guy responded to a post from
junk.jamesgriff@ntlworld.com (James Griffiths) who wrote in comp.infosystems.www.servers.ms-windows: >To All, > >I am trying to run Apache 2.0.43 as a service on Win98. I have >downloaded and installed apache correctly and have run the following >commands from the Command Prompt: > apache -k install -n "Apache" (install service called "Apache") > apache -k start -n "Apache" (start service called "Apache") > apache -k shutdown -n "Apache" (stop service called "Apache") >The first two commands work fine but when I tried to stop apache by >using the third line I received a message: > The Apache service is stopping >then after about 20 seconds: > Failed to stop the Apache service >When I looked in the task list (Ctrl+Alt+Del), apache was still >running. > >I need to be able to stop the service before I shutdown the computer >otherwise the computer crashes. >I would also prefer to run apache as a service rather than a console >as it can be stopped automatically (although, if apache run as a >console can be stopped successfully from the command prompt, I would >be willing to use this method). > >Does anyone know why this is happening and how to stop apache >successfully. I would be most grateful for your assistance. Thank you >for your time, > >James Griffiths Essentially, WIN 98 Apache runs as a console only. You have to use CTL+C in the active DOS window to shut it down. Give that a try and see if it works. Regards, TOG -- ../configure --prefix=~/zyterion Not this guy or that guy, The Other Guy. This spot may contain a satirical comment or comedic source, and is meant to be funny. If you are easily offended, gullible or don't have a sense of humour we suggest you read elsewhere. |