Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
remotely - restart frozen box
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Fri Apr 20, 2012 5:41 am    Post subject: remotely - restart frozen box Reply with quote

I have small box (Intel Atom CPU 330 1.60GHz - 4-core CPU) that is freezing too often.
The box is located in a remote location, is there a way to restart the "frozen" remote box?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Fri Apr 20, 2012 5:51 am    Post subject: Reply with quote

If it is still able to hear ssh,
Code:
ssh root@<ip> reboot
should do it.

If you don't want to allow remote root log in, you should be able to configure sudo to accept a reboot command from a user without a password.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Fri Apr 20, 2012 6:02 am    Post subject: Reply with quote

if you built your kernel with watchdog timer support, you might look into sys-apps/watchdog
im not generally a fan of a system deciding to autonomously reboot, but it may do the job for you
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Fri Apr 20, 2012 3:37 pm    Post subject: Reply with quote

Thanks for feedback.
I'm trying to figure it out if the problem is power supply or the computer.

This box has an Intel D945GCLF2 motherboard and an external power supply/convert 120V to 5V DC and the problem I have is that when the power goes out and come back the computer does not wake up, it has to be manually restarted.
So I connected it to UPS unit and will monitor if for a while.
Back to top
View user's profile Send private message
_SerEga_
n00b
n00b


Joined: 13 Jun 2009
Posts: 30
Location: Gatchina, Russia

PostPosted: Sat Apr 21, 2012 3:53 pm    Post subject: Reply with quote

Usually, BIOS have option, what to do after power failure, default value is power off
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Sat Apr 21, 2012 4:28 pm    Post subject: Reply with quote

_SerEga_ wrote:
Usually, BIOS have option, what to do after power failure, default value is power off


Yes, that BIOS have that option but something on Motherboad is missing and I'm out of luck on this unit. I'm testing it with UPS so see if it is the system or the external power converter that is failing.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum