Re: How to restart Apache

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

 



On Wed, Aug 27, 2008 at 7:41 AM,  <export@xxxxxxx> wrote:
> Is there a way how to restart Apache if pid file is missing?
> I use my own demon.It happened  that the demon deleted  /var/run/apache2.pid   file.
> Then I can not use /etc/init.d/apache2 restart
>
> but I must restart my Debian server by init 6 .
> After that the Apache starts normally.
>
> So, if the init 6 can solve the problem  ,
> is there a way how to restart Apache without restarting the server( Debian box)
> Thank you for help

Find the root-owned apache process with ps and send the signal you want:

http://httpd.apache.org/docs/2.2/stopping.html

-- 
Eric Covener
covener@xxxxxxxxx

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