LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-26-2005, 02:17 PM   #1
phyrko
Member
 
Registered: Jul 2004
Location: Glasgow, UK
Distribution: Ubuntu 6.10, FC5
Posts: 40

Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
crond dead but subsys locked dpirvulescu Linux - Software 9 04-23-2005 09:09 AM
saslauthd dead but subsys locked! shyee Linux - Software 0 01-07-2005 03:05 AM
vsftpd dead but subsys locked ??? markstevens Linux - Software 43 03-18-2004 10:14 AM
vsftpd dead but subsys locked jon_k Linux - Software 2 07-16-2003 04:19 PM
proftpd dead but subsys locked!! NEED HELP!! acegamer Linux - Newbie 0 04-18-2003 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration