刚刚配置了一下ssh的配置文件,加强一下完全,重启之,发现启动不了了
看日志: fatal: daemon() failed: No such device
google之
在ttp://www.linuxquestions.org/questions/linux-networking-3/sshd-fatal-daemon-failed-no-such-device-279664/
查到这个。。。问题解决了
========================================================================
the solution is in the /dev/null file. it should now be a regular file, which is not recommended
some install script probably replaced the /dev/null with a file of the same name...
do the following:
remove /dev/null
and then: "mknod /dev/null c 1 3"
this will create the /dev/null and sshd should start as normal.
I also run slackware linux with the latest upgrade.
原来是我的一个脚本中改了/dev/null文件,残念
看日志: fatal: daemon() failed: No such device
google之
在ttp://www.linuxquestions.org/questions/linux-networking-3/sshd-fatal-daemon-failed-no-such-device-279664/
查到这个。。。问题解决了
========================================================================
the solution is in the /dev/null file. it should now be a regular file, which is not recommended
some install script probably replaced the /dev/null with a file of the same name...
do the following:
remove /dev/null
and then: "mknod /dev/null c 1 3"
this will create the /dev/null and sshd should start as normal.
I also run slackware linux with the latest upgrade.
原来是我的一个脚本中改了/dev/null文件,残念