[j-nsp] ssh/tcp: bind: Address already in use

Markus universe at truemetal.org
Mon Oct 17 00:14:36 EDT 2005


On Sun, 16 Oct 2005 16:58:59 -1000
Randy Bush <randy at psg.com> wrote:

> > Maybe give inetd a HUP because it is confused also. It really should
> > have launched a sshd ran from inetd.
> 
> hupped it.  no help.

Try to check which process is currently bound to port 22 by doing
something like this:

% netstat -aAn | grep "*.22"
f57c0500 tcp4       0      0  *.22               *.*               
LISTEN
% fstat | grep f57c0500
root     inetd       2623    6* internet stream tcp f57c0500

(Of course you have to replace "f57..." with the PCB that netstat prints
out)

If it's really inetd then maybe hup'ing the process isn't enough and you
have to kill & start it again?

Regards
Markus





More information about the juniper-nsp mailing list