From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116 Description of problem: While the system boots up, you can see this thing in /var/log/secure: Apr 30 15:01:49 disposable sshd[1315]: Server listening on :: port 22. Apr 30 15:01:49 disposable sshd[1315]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use. But sshd seems to work fine otherwise. Version-Release number of selected component (if applicable): openssh-3.6.1p2-34 How reproducible: Always Steps to Reproduce: 1.boot up 2. 3. Actual Results: see above Expected Results: there should be no error Additional info: See bug #122043 for details about the system.
This also happened to me on a clean install of FC2. ssh works fine, but I keep getting the error mentioned above.
I think I have found the reason behind this error. sshd binds IPv6 first, then when it tries to bind IPv4 it finds that the address is already in use (hence the error). The reason it still continues to function properly is because the IPv4 traffic is able to use the IPv6 socket that sshd is listneing on. Could someone please re-lable this bug to FC version 2, and also add some more keywords.
I added this line to /etc/modprobe.conf install ipv6 /bin/true Then rebooted the system. The ssh bug went away. Now, i thought NETWORKING_IPV6=no in /etc/sysconfig/network was enough to turn off IPv6. It's not enough on my system, i have to fiddle with modprobe.conf. Maybe i should fill in a different bug report on this issue? :-)
This is a dupe of bug #120302
*** This bug has been marked as a duplicate of 120302 ***