Help - Search - Members - Calendar
Full Version: Please Help Get My Server Back Up
Linuxhelp > Support > Technical Support
ANTAR
Hello,
this is my first post.

I am a Linux novice but promise to learn in the upcoming days.

here is the problem I have Red hat version 2 4 2 2

due to a power surge my Linux server is not
booting completely. here is the error.

/dev/sda1: unexpected Inconsistency, Run fsck Manually
(ie without -a OR -p options)

***an error occured during the file system check
Dropping you to a shell, the system will Reboot
*** when you leave the shell

give root password for maintenance
(or type Control-D for normal startup)

After I type in the password I get this line

(repair file system)#1

I typed fsck -a

the next line was
Parallelizing fsck Version 1.18 (11-Nov 1999)
(repair file system)# 2


What are some commands I can try here to repair the file.
Please note I know nothing about linux and need someone to hold my hand with these command line



Thank you very much.
hughesjr
fsck -a

should work ok ... type it again for the second prompt as well....
ANTAR
thank you for getting back to me quickly

I typed fsck -a
and this is what I am ending up with.


Parallelizing fsck Version 1.18 (11-Nov 1999)
(repair file system)# 3 fsck -a
Parallelizing fsck Version 1.18 (11-Nov 1999)
(repair file system)# 4 fsck -a
Parallelizing fsck Version 1.18 (11-Nov 1999)
(repair file system)# 5 fsck -a
Parallelizing fsck Version 1.18 (11-Nov 1999)
(repair file system)# 6 fsck -a

etc....


(repair file system)# 20


do I continue ?? is this fixing anything or am getting the same message over and over

thanks again for the help.

antar
hughesjr
Probably not going to work ... this seems like a very old version of redhat ...

try rebooting and running fsck without any options....

then manually select repair for any errors found.

I see that it is a scsi drive ... what is the type of computer....
ANTAR
try rebooting and running fsck without any options....

*** How?, I get the error listed in my first post.

then manually select repair for any errors found.

*** How? can you please walk me through it

I see that it is a scsi drive ... what is the type of computer....

***IBM netfinity 3500

thanks again
hughesjr
So you get the same error with:

fsck

and

fsck -a
-----------------------------
Since this is an intel system, maybe a newer version of fsck might be better.

Can the system boot from CD? If yes, I would recommend downloading the SystemRescueCD (direct download link), burn it to CD {using a burn as image option (nero, Easy Cd Creator) with a windows machine} and booting from it fromthe linux machine.

If you can't boot from CD, I would still burn the above program and also download SmartBootManager. If you have a windows machine available, you can download sbminst.exe and cwsdpmi.exe, copy them to a directory by themselves ... I use c:\sbm ... then open a command prompt and put a blank floppy in drive A:, then open a comand prompt and:

c:
cdsbm
sbminst -d 0


Now you should be able to boot from the floppy on your Linux machine ... and pick the CD even it it wouldn't boot before from the SystemRescueCD ...

Once you get to the boot prompt, press enter ... if you are asked for a key map ... I pick US

Once you get to the main prompt (all the hardware is detected and drivers are loaded ... issue the command:

fdisk -l /dev/sda

If all the partitions are there ... run the command:

fsck /dev/sda1

Do all the partitions except swap partitons.


-----------------------------
ANTAR
Thanks I will try these and let you know.

cheers
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.