On 8/16/05, Spike Burkhardt <[EMAIL PROTECTED]> wrote:
> Joshua & all,
> 
>   When I specified the configuration file the instance I wanted to kill
> still didn't stop.  In fact, it stopped the other instance!  Also, at
> least on my box, '-k' isn't a valid option. 

I didn't notice you were using such an old version.  The command I
quoted works in 2.x.

For your version, you need to use the other technique I mentioned
(killing the process listed in the pid file).  If you open up
apachectl in an editor, you'll note that this is exactly what it is
doing.  But it has a hard-coded path to the config file for your first
server.  You could easily edit apachectl to make a "stop2" option
which would get the pid from the appropriate file for the second
server.

This is, by the way, documented at
http://httpd.apache.org/docs/1.3/stopping.html

Joshua.

---------------------------------------------------------------------
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