View previous topic :: View next topic |
Author |
Message |
slam_head Guru


Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Fri Jul 22, 2005 2:50 pm Post subject: cleaning up dead process |
|
|
How do I clean up a process when it dies unexpectedly. The specific problem I'm having is that snort dies, and when I try to start it I get:
Code: | skin log # /etc/init.d/snort start
* WARNING: "snort" has already been started.
skin log # /etc/init.d/snort restart
* Stopping snort ...
start-stop-daemon: warning: failed to kill 32146: No such process |
|
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Fri Jul 22, 2005 2:55 pm Post subject: |
|
|
Code: | /etc/init.d/snort zap |
baselayout-1.12.0 should cure this problem for some init scripts automagically  |
|
Back to top |
|
 |
slam_head Guru


Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Fri Jul 22, 2005 3:16 pm Post subject: |
|
|
Thanks, that did the trick. Is that implimented across the board? |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Fri Jul 22, 2005 3:48 pm Post subject: |
|
|
slam_head wrote: | Thanks, that did the trick. Is that implimented across the board? |
Yes!
zap is an init script function provided by baselayout |
|
Back to top |
|
 |
|