LinHES Forums
http://forums.linhes.org/

cant reboot over ssh UGH
http://forums.linhes.org/viewtopic.php?f=17&t=20284
Page 1 of 1

Author:  Too Many Secrets [ Thu Sep 10, 2009 10:51 am ]
Post subject:  cant reboot over ssh UGH

I've been trying the reboot, sudo shutdown -r now (which returns -t mandatory) and nothing. TOP shows an updatedb running wild and I'm not near box. any tips?

Author:  Too Many Secrets [ Thu Sep 10, 2009 12:45 pm ]
Post subject: 

also, I guess init 6 doesn't work...?

Author:  Liv2Cod [ Thu Sep 10, 2009 1:27 pm ]
Post subject: 

I was going to tell you to try telinit 1, but I know first-hand how unwise that is over a long-distance connection! (Go ahead, ask me how I know... ;-)) There has to be a way to kill off the offending process and get the shutdown command to work.

I'm sure someone with actual Linux knowledge will be along to give you advice soon!

Author:  mihanson [ Thu Sep 10, 2009 1:38 pm ]
Post subject: 

Code:
# killall updatedb

:?:

Author:  Too Many Secrets [ Thu Sep 10, 2009 2:14 pm ]
Post subject: 

mihanson wrote:
Code:
# killall updatedb

:?:


thx, but no dice.

Author:  paulsid [ Thu Sep 10, 2009 2:59 pm ]
Post subject: 

Did you try a good ol' fashioned kill -9 <pid> on the updatedb? killall doesn't seem to want to force the issue on misbehaving processes.

Author:  Too Many Secrets [ Thu Sep 10, 2009 3:08 pm ]
Post subject: 

paulsid wrote:
Did you try a good ol' fashioned kill -9 <pid> on the updatedb? killall doesn't seem to want to force the issue on misbehaving processes.


forgot that one. Just tried it and updatedb is still running!! Just won't die.

Author:  Too Many Secrets [ Thu Sep 10, 2009 3:09 pm ]
Post subject: 

Liv2Cod wrote:
I was going to tell you to try telinit 1, but I know first-hand how unwise that is over a long-distance connection! (Go ahead, ask me how I know... ;-)) There has to be a way to kill off the offending process and get the shutdown command to work.

I'm sure someone with actual Linux knowledge will be along to give you advice soon!


ok, I'll bite. How do you know?

Author:  manicmike [ Thu Sep 10, 2009 3:41 pm ]
Post subject: 

Too Many Secrets wrote:
ok, I'll bite. How do you know?


I'm guessing he did it and lost all connection with the box immediately. Runlevel 1 is "single user mode" and takes down all networking and the graphical interface. It doesn't reboot, but simply waits for you to log in at the console. Result, if you do it remotely, is that you lose all connectivity until someone physically accesses the box to reboot or change the runlevel.

Mike

Author:  Too Many Secrets [ Thu Sep 10, 2009 5:29 pm ]
Post subject: 

manicmike wrote:
Too Many Secrets wrote:
ok, I'll bite. How do you know?


I'm guessing he did it and lost all connection with the box immediately. Runlevel 1 is "single user mode" and takes down all networking and the graphical interface. It doesn't reboot, but simply waits for you to log in at the console. Result, if you do it remotely, is that you lose all connectivity until someone physically accesses the box to reboot or change the runlevel.

Mike


NIIICE.

By-the-by, I had to do a hard reset at the push button...

Author:  Liv2Cod [ Thu Sep 10, 2009 11:16 pm ]
Post subject: 

Yep. Like manicmike said. Don't do that! It hurts when you do that... :shock:

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/