On Thursday 04 July 2002 03:06 am, Andreas Schamanek wrote:
On Thu, 4 Jul 2002, CADNET Carsten Meyer and Stefan Nauber suggested
to check my systems with netstat and lsof:
have a look with lsof or netstat.
try netstat -pn
(before and after restarting, to be sure)
Maybe I should have added to my message that I am running production servers where I cannot stop sshd (except for restarts). And, of course, I am constantly checking my systems with netstat and lsof. There is only 1 process showing up as listening on :22 (when sshd is running, no process if it is not running). Anyway, sshd delivers the message 'error: Bind to port 22 on 0.0.0.0 failed: Address already in use.' when I restart sshd, although sshd seems to be running fine. I do not understand this.
This always happens (even at boot time) for me and has since i installed OpenSSH several versions ago. If you limit sshd to only ipv4 with the -4 argument it will not issue this message. Its trying to bind twice if you allow it to use ipv4 and ipv6. -- _________________________________________________ No I Don't Yahoo! And I'm getting pretty sick of being asked if I do. _________________________________________________ John Andersen / Juneau Alaska