subsys locked
Hi,
I have a problem with sshd. When I try to connect with ssh client I get
ssh: connect to host somedomain.com port 22: Connection refused
when I do
#/etc/init.d/sshd status
sshd dead but subsys locked
#/etc/init.d/sshd stop
Stopping sshd: [FAILED]
And
#ps au -C sshd
returns no sshd processes running.
Initial investigation leads me to
#rm /var/lock/subsys/sshd
which is fine, there is a file of that name and it has been deleted. Starting the daemon again leads to the same problem.
#ls /var/run/
has no sshd.pid to delete.
What is going on here?! Can anyone help?
|