3

I was trying to logout previous logged-in root sessions, and stupidly, I typed skill -STOP -u root

Now, I can't ssh back into the server. How do I recover?

3
  • Call the datacenter support, probably?
    – mmx
    Jan 30, 2010 at 18:50
  • 1
    If there is no non-root process from which you can su then the sure way would be to reboot the machine.
    – che
    Jan 30, 2010 at 18:52
  • 1
    I suggest you reboot and watch console. I've often configured servers with a serial connection and a non-root login that I know i can su from. I also give root login permissions to /dev/ttyS1, in case something removed the alternate account. Jan 31, 2010 at 6:11

2 Answers 2

3

If this is a physical box then you'll need some form of lights-out or a nice person to bounce it face-to-face.

If it's virtual then you or someone else needs to deal with it via whatever management console you or they have.

0

If you were lucky enough to already be logged in (not as root), you could sudo or su and make it right. Otherwise, you are S.O.L. without a reset switch.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.