View previous topic :: View next topic |
Author |
Message |
arnold-f n00b
Joined: 09 Mar 2005 Posts: 46
|
Posted: Sat Apr 16, 2005 8:30 pm Post subject: How to restart network service when ports are locked ? |
|
|
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 |
|
|
mekong Tux's lil' helper
Joined: 23 Apr 2004 Posts: 93 Location: Rdam - NL - EU
|
Posted: Sat Apr 16, 2005 8:55 pm Post subject: |
|
|
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 |
|
|
|