Board index Linux SSH

Moderator: chandranjoy

SSH-sshd not running- fatal: daemon() failed: No such device

Postby chandranjoy » Tue Jan 25, 2011 7:47 pm

Error: sshd not running- fatal: daemon() failed: No such dev

Causes:
This could be caused by a corrupted /dev/null file.
Or
Other SSHD daemons handles the SSH and routed the default sshd process to /dev/null
Ex: dropbear

To fix the error remove /dev/null
# rm -rf /dev/null


Then create that node using the following command
# mknod /dev/null c 1 3


Then restart the sshd service
#/etc/init.d/sshd restart


Reference:
http://manuuus.wordpress.com/2010/09/21 ... ch-device/

Cheers :)
chandranjoy
Site Admin
 
Posts: 283
Joined: Fri Oct 23, 2009 11:19 pm

Return to SSH

Who is online

Users browsing this forum: No registered users and 1 guest


cron