TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:16811] Hung Port



Use "netstat -lp". This will show all listening ports and the process
info on the owning process.  Only root gets all the info as usual.

On Thu, 27 Apr 2000, Perry Hoekstra wrote:

> Greet the sun all,
> 
> There were statements made in the past couple of days on how you do not
> need to reboot a Linux box unless you upgrade kernels.  I have a port
> that is hung.  If I do a netstat -a | grep 7001, I can see something
> listening on it.  Well, I can't start my application server without
> clearing that port of whatever dead process is still hanging onto that
> port.  Any ideas on how to clear the port of the process without
> rebooting the box.  By the way, I cannot identify whatever is parked on
> the port, the netstat just gives:
> 
> *.7001               *.*                0      0     0      0 LISTEN 
> 
> -- 
> Perry Hoekstra
> Consultant
> Talent Software Services
> dutchman@mn.uswest.net
> 
> If a man is standing in the middle of the forest speaking and there is
> no woman around to hear him... is he still wrong?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
>