ssh -locked subsys

ssh -locked subsys

Post by Roge » Mon, 26 Jul 1999 04:00:00



I'm having a problem getting ssh up and running.  I've already
configured it, thats not my problem.  However yesterday, during a storm,
I lost power.  My computer is ok but all now whenever I type

/etc/rc.d/init.d/sshd status

I get this in return...

sshd dead but subsys locked

I'm guessing a configuration file was left open or something to that
effect..  But as a result ssh no longer works.  I uninstalled in and
re-installed ssh using these rpms.

ssh-1.2.27-5us.i386.rpm
ssh-clients-1.2.27-5us.i386.rpm
ssh-server-1.2.27-5us.i386.rpm

And still nothing....  Arrrrrrghhhh

Can anyone offer some suggestions?  I'm almost certian it's NOT a
hardware problem..

In my /etc/inetd.conf I have this

ssh     stream  tcp     nowait  root    /usr/local/sbin/sshd -i

and in /etc/services this

ssh             22/tcp                          # SSH Remote Login
Protocol
ssh             22/udp                          # SSH Remote Login
Protocol

 
 
 

ssh -locked subsys

Post by John R. Dennis » Mon, 26 Jul 1999 04:00:00



> I'm having a problem getting ssh up and running.  I've already
> configured it, thats not my problem.  However yesterday, during a storm,
> I lost power.  My computer is ok but all now whenever I type

> /etc/rc.d/init.d/sshd status

> I get this in return...

> sshd dead but subsys locked


        There is a 'lock' file sitting in /var/lock/subsys for the sshd
        subsystem, not running the ssh rpm here, so I can not check, but
        my guess is the file is named either 'ssh' or 'sshd'.  Manually
        rm the file and /etc/rc.d/init.d/sshd start and you should be
        fine - this is assuming that you have already 'stop'ped the
        service already with /etc/rc.d/init.d/sshd stop.

Quote:> I'm guessing a configuration file was left open or something to that
> effect..  But as a result ssh no longer works.  I uninstalled in and
> re-installed ssh using these rpms.

> ssh-1.2.27-5us.i386.rpm
> ssh-clients-1.2.27-5us.i386.rpm
> ssh-server-1.2.27-5us.i386.rpm

> And still nothing....  Arrrrrrghhhh

        Umm, this was a little bit of overkill on your part - the
        removal and reinstall is generally not needed under a *NIX
        environment.

Quote:> In my /etc/inetd.conf I have this
> ssh     stream  tcp     nowait  root    /usr/local/sbin/sshd -i

> and in /etc/services this
> ssh             22/tcp                          # SSH Remote Login Protocol
> ssh             22/udp                          # SSH Remote Login Protocol

        Out of curiousity, why are you spawning sshd from inet and not
        running standalone?

                                                        John
--
"Whenever two people meet, there are really six people present. There is each
man as he sees himself, each man as the other person sees him, and each man
as he really is."
-- William James

 
 
 

1. NTP daemon works for a bit, then "ntpd dead but subsys locked"

I have just installed RH 7.1 and am trying to get NTP to manage my clock.
Out of 8 RH 7.0 and 7.1 installs , I am batting just above 0.500 with NTP.
Once I added a valid server to the npt.conf, I entered /etc/init.d/ntp
start.  The daemon responds with an ok.  If I then perform a /etc/init.d/ntp
status after five minutes, I receive the following message: "ntpd dead but
subsys locked".  Of course, ntpdate and ntptime give all sorts of errors
with the daemon in this condition.

/etc/init.d/ntpd restart shows a fail on shutting down the daemon, but shows
an ok on the start. It will then run for about 5 more minutes, then back to
the dead/locked condition.  I have seen this condition on about half of the
machines - and on RH 7.0 and 7.1.  On the other machines, NTP is happily
adjusting the clocks with no problems.

Any ideas? (of course, I performed all of the above commands as root.)

Thanks,
Brett

2. How to find out who's connected on the FTPServer

3. httpd dead but subsys locked

4. IP fragmentation problem

5. Problem in Apache: Httpd dead but Subsys Locked

6. failed cd in /bin/sh : FreeBSD 2.2.5, 2.2.6 is different

7. httpd dead but subsys locked'''----> COnfigure APache

8. Lynux on a LAPTOP Question?

9. Apache "httpd dead but subsys locked"

10. xfs subsys locked

11. Apache: "httpd dead but subsys locked"

12. httpd dead but subsys locked

13. squid dead but subsys locked ???