Re: [users@httpd] Multiple apache instances

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/16/05, Spike Burkhardt <burkhardt.richard@xxxxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux