SSH: sshd dead but subsys locked

问题:

查看SSH的状态时,提示错误如下:

/etc/init.d/sshd status
error: sshd dead but subsys locked

解决方法:

sshd -d
rm -rf /dev/null/
mknod /dev/null c 1 3
/etc/init.d/sshd restart

posted on 2014-07-20 15:36  lukcyjane  阅读(981)  评论(0编辑  收藏  举报

导航