[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sshd start weirdness



On Sun, Jul 06, 2003 at 05:16:37PM +0200, J.H.M. Dassen (Ray) wrote:
> On Sun, Jul 06, 2003 at 10:33:54 -0400, Bob Bernstein wrote:
> > (And, what's that "Address family not supported" message saying?)
> 
> sshd was built to support IPv6, but your system isn't configured as an IPv6
> host, and quite likely your kernel doesn't have IPv6 support.

That shouldn't cause sshd to fail to start, though; the message is just
informational.

My guess here is that /dev/null is broken, which causes the daemon()
library call to fail, which causes sshd to fail to start, but -d causes
sshd not to daemonize. 'ls -l /dev/null' should look like this:

  crw-rw-rw-    1 root     root       1,   3 Jan  4  2003 /dev/null

See the NOTES section in the daemon(3) man page.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: