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

Re: sshd dying mysteriously on Woody (strace attached)

On Thu, Apr 29, 2004 at 03:55:46PM -0400, Adam Aube wrote:
> I am running Woody (with all security updates) on a Dell PowerEdge 2650.
> After running fine since being setup several weeks ago, today sshd suddenly
> died mid-connection.
> I was able to run sshd manually from the console in debug mode, but attempts
> to start sshd normally failed. This message appears in auth.log:
> sshd[17803]: fatal: daemon() failed: Success

Your /dev/null's probably broken. It should look like this in 'ls -l':

  crw-rw-rw-    1 root     root       1,   3 Jun  8  2002 /dev/null

Use mknod(1) to fix it.

(Unfortunately, sshd can't really help the crypticness of the error
message. The error actually happens in the C library. daemon(3) in
testing and unstable explains it, although not in stable.)

Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: