shutting down apache from a 'C' program
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi,
We are trying to shutdown apache server through a
'C' program.
We tried calling system("httpd -k
stop").
Also we tried to spawn a child process and replace
using exec with the "<server-root>/bin/httpd","-k","stop").
But none of them worked.I am unable to understand
the dynamics of apache processes are being run so that i can shut down the
apache server gracefully through the program.i tried using
ap_graceful_stop_signalled().But it also didn't work in our case.Any help
please!Any one has done this before and succeeded too?Thankyou in
advance
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
|
[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]