error: Bind to port 22

Jason Montleon monty19 at hotmail.com
Tue Apr 27 17:41:15 UTC 2004


That is what I was trying to explain.  Port 22 is being translated to ssh
(the ssh at the end of the line in *:ssh; again I believe because of the
lines I mentioned in /etc/services)

Trying to 'grep 22' is not going to be a reliable way of printing this one
line.  You simply got lucky last time because the Device Number contained
the string 22.  Better would be running 'lsof -i' as you did and just look
for it, or at least, 'lsof -i | grep ssh'

see these is no 22 in this line, so grep won't display it:
sshd 1052 root 3u IPv4 2331 TCP *:ssh (LISTEN)

Some of the other ladies and gentlemen had good and valid thoughts about
what may have been causing this as well, (did you try to change run levels,
etc.); otherwise you can try what I suggested...

Jason




After running lsof -i, the result is
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
portmap 685 rpc 3u IPv4 1966 UDP *:sunrpc
portmap 685 rpc 4u IPv4 1967 TCP *:sunrpc (LISTEN)
rpc.statd 705 rpcuser 4u IPv4 1999 UDP *:32768
rpc.statd 705 rpcuser 5u IPv4 1991 UDP *:881
rpc.statd 705 rpcuser 6u IPv4 2002 TCP *:32770 (LISTEN)
cupsd 863 root 0u IPv4 2311 TCP localhost.localdomain:ipp (LISTEN)
cupsd 863 root 2u IPv4 2312 UDP *:ipp
sshd 1052 root 3u IPv4 2331 TCP *:ssh (LISTEN)
xinetd 1069 root 5u IPv4 2400 TCP localhost.localdomain:32771 (LISTEN)
sendmail 1092 root 4u IPv4 2417 TCP localhost.localdomain:smtp (LISTEN)

and running lsof -i tcp |grep 22 gives me nothing. I did not install FC2T2,
I upgraded from FC2T1 to FC2T2





More information about the fedora-test-list mailing list