You may encounter the error message while restarting SSH service in the server as :
Code:
[root@server init.d]# ./sshd status
sshd dead but subsys locked
The error occur due to some corrupted /dev files.
You will need to remove the NULL file and recreate it as :
Try :
Code:
rm /dev/null
mknod /dev/null c 1 3
rm /dev/random
mknod /dev/random c 1 8
rm /dev/urandom
mknod /dev/urandom c 1 9
Thanks