Monday, November 12, 2012

fatal daemon() failed: no such device

Exact error message:  nov 12 14:34:09   <hostname>  sshd2[15154]: fatal daemon() failed: no such device 

Steps to fix the error:

1.Remove /dev/null directory

   #rm -f /dev/null

2.create the special file for /dev/null 

 #mknod /dev/null c 1 3

This creates the /dev/null special file that is a special character file with the major device number 1 and the minor device  number 3.

3.Then start the sshd service

 # /etc/init.d/sshd start

 # /etc/init.d/sshd status

It will resolves the issue.

No comments:

Post a Comment