On Thu, Jul 04, 2002 at 10:51:23AM +0200, Andreas Schamanek wrote:
Hi there,
I've updated OpenSSH as recommended on several hosts, some SuSE 7.2, some 7.3. On most of them I got the following entries in /var/log/ messages after _rcsshd stop ; rcsshd start_ (which, BTW, worked fine):
Jul 4 10:24:00 host sshd[205]: Received signal 15; terminating. Jul 4 10:24:04 host sshd[21127]: Server listening on :: port 22. Jul 4 10:24:04 host sshd[21127]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Is this 'Address in use' because of still running children of the old and terminated sshd parent? Or does this indicate that there is another process running which I do not know of?
I believe this is because sshd is trying to listen on both ipv4 and ipv6. The ipv4 attempt works then the ipv6 fails because potr 22 is already in use (by ipv4). If this is the problem, the fix is to either ignore the messages (since the problem is mainly cosmetic) or to edit etc/rc.config to set the following: SSHD_OPTS="-4" That tells sshd to use ipv4 only. I think I learned about this by looking at the support database on SuSE's web site. -- Robert C. Paulsen, Jr. robert@paulsenonline.net