View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: cant reboot over ssh UGH
PostPosted: Thu Sep 10, 2009 10:51 am 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
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?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 12:45 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
also, I guess init 6 doesn't work...?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 1:27 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
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!

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 1:38 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
Code:
# killall updatedb

:?:

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 2:14 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
mihanson wrote:
Code:
# killall updatedb

:?:


thx, but no dice.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 2:59 pm 
Offline
Joined: Thu Apr 03, 2008 11:42 pm
Posts: 114
Location: Calgary, Canada
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 3:08 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 3:09 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
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?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 3:41 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
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

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 5:29 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
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...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 11:16 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
Yep. Like manicmike said. Don't do that! It hurts when you do that... :shock:

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu