PDA

View Full Version : how i can stop apache?



NewServ.co.il
07-07-2008, 12:45 PM
hello all!
I dont success to stop apache for all time..?
I tried:
service httpd stop

But it's started again after some seconds.
please help me :) thanks.

proHSP
07-07-2008, 12:50 PM
just set httpd=OFF in /usr/local/directadmin/data/admin/services.status

NewServ.co.il
07-07-2008, 01:19 PM
it's dont help me..
i do this and after it i write:
service httpd stop

But it's started again after some seconds. :(

proHSP
07-07-2008, 01:26 PM
Did you restart directadmin?

NewServ.co.il
07-07-2008, 02:39 PM
yes..

do you have any ideas for stop it ?

nobaloney
07-07-2008, 03:28 PM
Try stopping it from inside the DirectAdmin control panel.

Jeff

vovaNux
07-08-2008, 08:40 AM
killall -9 httpd

Then service httpd stop, but the first command should stop all your Apache copies running

proHSP
07-08-2008, 09:44 AM
If nothing helps, chmod 644 httpd binary :)