Re: [users@httpd] Multiple apache instances

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

 



Thanks for all the info Joshua. Seems like I might have a reason to upgrade to V2 :-)

spike

Joshua Slive wrote:

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

begin:vcard
fn:Spike Burkhardt
n:Burkhardt;Spike
adr;dom:;;3825 Fabian Way;Palo Alto;Ca;94303
email;internet:burkhardt.richard@xxxxxxxxxxxxx
title:Unix Systems Engineer
tel;work:650-852-4787
tel;pager:877-720-8146
x-mozilla-html:TRUE
version:2.1
end:vcard


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