> It doesn't seem to be possible to use "apache -k shutdown" to kill an
> Apache instance running as a console app. It simply moans about not
> being able to find the Apache2 service:
> [Thu Oct 06 10:28:27 2005] [error] (OS 2)The system cannot find the file
> specified.  : No installed service named "Apache2".

That's because '-k shutdown' is basically a wrapper around 'net stop'. (I
know, not exactly true, but for explanation purposes it is ;)

If you want to script this, get something like ptree (from the resource
kit) or pskill (from sysinternals) to kill the process.

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to