Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Please Help Get My Server Back Up, can't boot
ANTAR
post Mar 25 2004, 05:34 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 25-March 04
Member No.: 2,652



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.
Go to the top of the page
 
+Quote Post
hughesjr
post Mar 25 2004, 06:29 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



fsck -a

should work ok ... type it again for the second prompt as well....


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
ANTAR
post Mar 25 2004, 06:43 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 25-March 04
Member No.: 2,652



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
Go to the top of the page
 
+Quote Post
hughesjr
post Mar 25 2004, 06:51 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



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....


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
ANTAR
post Mar 25 2004, 06:55 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 25-March 04
Member No.: 2,652



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
Go to the top of the page
 
+Quote Post
hughesjr
post Mar 25 2004, 07:33 PM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



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.


-----------------------------


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
ANTAR
post Mar 26 2004, 02:49 PM
Post #7


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 25-March 04
Member No.: 2,652



Thanks I will try these and let you know.

cheers
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 10:22 AM