Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cleaning up dead process
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
slam_head
Guru
Guru


Joined: 06 Jan 2003
Posts: 449
Location: New York City

PostPosted: Fri Jul 22, 2005 2:50 pm    Post subject: cleaning up dead process Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Jul 22, 2005 2:55 pm    Post subject: Reply with quote

Code:
/etc/init.d/snort zap


baselayout-1.12.0 should cure this problem for some init scripts automagically :)
Back to top
View user's profile Send private message
slam_head
Guru
Guru


Joined: 06 Jan 2003
Posts: 449
Location: New York City

PostPosted: Fri Jul 22, 2005 3:16 pm    Post subject: Reply with quote

Thanks, that did the trick. Is that implimented across the board?
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Jul 22, 2005 3:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum