LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2006, 12:42 PM   #1
Helfrick
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Rep: Reputation: 0
Unhappy No Mouse or Keyboard after re-boot


Red Hat 9, using as FTP server. Mouse, monitor, and Keyboard connected through KVM.
We had to power down for an electrical upgrade to the building. Upon re-starting the box, the mouse and keyboard were not available, had monitor, but no KB& Mouse. Normally this don't happen, but once before when it did they unplugged the box and it never re-booted. We wound up re-installing the OS and all 300 FTP accounts. The box is currently up and working fine, I just can't maintain accounts without being able to log in. My question is "Is there anyway I can re-boot this box without fear of losing all the data and/or OS ? I tried telnet but could not get in.

Thankx,
John

Last edited by Helfrick; 10-17-2006 at 12:43 PM.
 
Old 10-17-2006, 02:47 PM   #2
gstimson
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
Have you tried to access by SSH?

If that doesn't work then you probably don't have much choice but to reboot!

It's best if there isnt any data being written to disk when you reboot - have someone unplug the network cable first.

The probability of data loss if there is data being written depends on the filesystem in use:

ext2 - quite likely but the recovery tools are good and it'll try and recover on boot. Unlikely (but possible) to lose much.
ext3 - data loss very unlikely
xfs - likely
reiserfs - I don't know

If you don't know then you're probably running ext2 or 3.

If you're really paranoid (and don't have backups?) then I suppose you could FTP all the data off it first!

Gary
 
Old 10-18-2006, 09:21 AM   #3
Helfrick
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I haven't tried SSH, no experience with it...yet. I believe SSH is open in the firewall because our former Linux Guru used it. He has since moved on to greener pa$tures. The FTP data is usually removed and processed within an hour of posting so the only thing I would need to back up is the accounts. I believe ext2 is being used and the likelyhood of data being being written is high since the files coming up are in the hundreds of MB and it happens 24/7.

Thankx Gary
 
Old 10-18-2006, 09:26 AM   #4
gstimson
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
From another linux box try:

ssh root@my.domain.com

And you should get a password prompt in a few seconds.

Some boxes don't allow root logins by SSH. In that case you need to ssh to a different user then use "su -" to change to root.

If you do need to reboot, unplug the network cable 15 minutes before. That way no-one can upload anything and anything in process of being written should be not still be writing to disk.
 
Old 10-18-2006, 09:27 AM   #5
gstimson
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
From windows you can get a program called Putty SSH.
 
Old 10-19-2006, 12:11 PM   #6
Helfrick
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gstimson
From windows you can get a program called Putty SSH.
SSH worked. Now that I know that, I'm a dangerous man.

Thankx again,
John
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
turn off keyboard and mouse on boot rjb982 Linux - Software 1 07-25-2006 09:20 AM
New Keyboard/Mouse, cant boot Xwindows SystemDownfall Linux - General 13 06-02-2005 05:32 PM
My keyboard and mouse freeze after boot Groucho Slackware 12 09-30-2004 02:01 PM
Boot Hangs w/o Keyboard and Mouse prismbiz Fedora 1 03-03-2004 10:06 AM
Cannot boot without keyboard/mouse acs5166 Linux - Hardware 3 08-28-2003 06:38 AM


All times are GMT -5. The time now is 03:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration