Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to restart network service when ports are locked ?
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
arnold-f
n00b
n00b


Joined: 09 Mar 2005
Posts: 46

PostPosted: Sat Apr 16, 2005 8:30 pm    Post subject: How to restart network service when ports are locked ? Reply with quote

A program aborted and left an IP port occupied. I have not found any command to restart network in the documentation. Something like "network restart"... Can you tell me how to reset network service on Gentoo ? (in init.d ??)
Thanks
Back to top
View user's profile Send private message
mekong
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2004
Posts: 93
Location: Rdam - NL - EU

PostPosted: Sat Apr 16, 2005 8:55 pm    Post subject: Reply with quote

Which network service? You can restart your service like this:

"/etc/init.d/service_foo restart"

If it's still not shutdown you need to kill the process manually and start service agaain like this:

"killall -9 process_name" or "kill -9 processID"
"/etc/init.d/service_foo zap"
"/etc/init.d/service_foo start"
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