What is the solution if somebody deletes /var/lock/subsys/httpd file.
Generally, you can ask any process to terminate gracefully by finding its PID, and sending it signal 15. Try
The one you're interested in is the parent, which is the one owned by root. It's PID is the second column, in this case 2669, so ask it to die with
Repeat the ps command to make sure it's gone. If it won't go gracefully, you can force it to die with signal 9:
There are other commands on some UNIXes to kill specific groups of processes, or all processes with a particular chunk of text in the name, but you don't say which OS you're using (though the use of a
Generally, you will need to be root, or use the