Re: [users@httpd] Multiple apache instances

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

 



On 8/15/05, Spike Burkhardt <burkhardt.richard@xxxxxxxxxxxxx> wrote:
> All,
> 
>  I have two apache instances running.  Is there a way to kill just 1
> instance?  To be more specific, I have 1 startup file with the standard
> startup.  In the httpd.conf file, it specifies:
> 
> PidFile /usr/local/apache/logs/httpd.pid
> 
> In the second startup file the line that starts the server is:
> 
> httpd - f /usr/local/apache/conf/httpd-oracal.conf start
> and the PidFile line reads:
> 
> PidFile /usr/local/apache/logs/httpd-oracal.pid.
> 
> Can I tell apache only to stop this instance or should I write a script
> to do it?

Either apachectl -f /usr/local/apache/conf/httpd-oracal.conf -k stop
or just
kill `cat /usr/local/apache/logs/httpd-oracal.pid`

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