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 04-24-2017, 01:11 PM   #1
smunir362
LQ Newbie
 
Registered: Jan 2015
Posts: 10

Rep: Reputation: Disabled
recover using rescue mode


My redhat 5.5 server was running fine. Next day I have come to know server is not running. Upon checking I have come to know that OS files are no longer there like /etc/inittab, /etc/fstab etc....
First How to investigate what was happend....
Secondly How to recover Or rebuild the system....
 
Old 04-24-2017, 01:34 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
Do you have a backup you can restore from?
 
1 members found this post helpful.
Old 04-24-2017, 03:13 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,463
Blog Entries: 9

Rep: Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372
first advice: switch it off, don't use the hard drive, unhook it from the network, investigate from a separate OS (e.g. Live USB).
 
1 members found this post helpful.
Old 04-25-2017, 07:28 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,037
Blog Entries: 13

Rep: Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486
You seem to be running an out of date version of RHEL, however this is not meant to indicate this was the problem. The problem appears to be something much more serious.

Hopefully you have a backup, as hydrurga suggested.

Also as ondoho suggested, you should investigate using a live boot media.

I'm curious however to find out how you know the specifics about the files which are no longer there, and also the other circumstances surrounding this. Such as:
  1. Does anyone else have access to this server that you know of?
  2. How exactly did you make this determination about these files?
  3. You've cited /etc tree files, is this the only tree affected?
  4. When you say it was not running, what specifically do you mean? Off? Not responding? Console Y/N? Accessible from network Y/N?
As far as how to rebuild the system, I suspect you can do a complete fresh install, hopefully relying on the possibility of a backup to return it to the former good state. Unsure how much you can benefit if you happen to have support from RedHat versus not, that version is on extended support though. The questions there are whether or not you have release disks or media to perform the re-install and rebuild of your server, or if you should upgrade to a newer version.
 
  


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
How to Rescue a System with Automation Script in Rescue Mode Neron.L Linux - Server 1 12-13-2012 12:12 PM
Emergency mode can mount the HDD with FS error but not in rescue or single user-mode kayod_jj Linux - Newbie 3 12-01-2010 07:03 PM
Linux Rescue script question, in rescue mode vijay_aras Linux - General 1 01-09-2008 05:03 PM
Is there any way to run rescue mode in test mode. kadhiravan.r Linux - General 2 07-13-2006 08:11 AM
about rescue mode morrisset Linux - Newbie 3 07-10-2004 11:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:24 PM.

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