LinuxQuestions.org
Review your favorite Linux distribution.
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 07-25-2016, 06:27 AM   #1
nitsss
LQ Newbie
 
Registered: Dec 2015
Posts: 7

Rep: Reputation: Disabled
Unhappy system:unexpected inconsistency; RUN fsck Manually


Hi,

i m using artica proxy & now stuck during startup. Actually my lan card was not working so i restart the proxy 3-4 times after replugh the lan card & it works. But now it gives me an error.

system:UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
(i.e., without -a or -p options)
fsck died with exit status 4
failed (code 4)
[...] An automatic file system check (fsck) of the root filesystem failed. A manual fsck must be performed, then the system restarted. the fsck should be performed in maintenance mode with the root filesystem mount in read-only mode... failed!
[...] The root filesystem is currently mounted in read-only mode. A maintenance shell will now be started. After performing system maintenance, press Control-D to terminate maintenance shell & restart the system.
Give root password for maintenance
(or type Control-D to continue):


also when i give root password, it gives me shell.

root@(none):~#
i also tried with mount -o remount,rw /



please help me....

Last edited by nitsss; 07-25-2016 at 06:28 AM.
 
Old 07-25-2016, 07:20 AM   #2
amilo
Member
 
Registered: Oct 2011
Location: Nederland
Distribution: Debian, Centos, Ubuntu
Posts: 78

Rep: Reputation: Disabled
I presume you powerd yoer system off without give it an desent shutdown or init 0 command.
Check on witch device your root normal is mounted.
Reboot your system with a resqeue cd.
Perform a fsck on your root device.

Reboot.
 
Old 07-25-2016, 07:20 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,767

Rep: Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886Reputation: 2886
so what did you try?
 
Old 07-25-2016, 08:37 AM   #4
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,665

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Quote:
m using artica proxy & now stuck during startup. Actually my lan card was not working so i restart the proxy 3-4 times after replugh the lan card & it works. But now it gives me an error.
system:UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
(i.e., without -a or -p options)
fsck died with exit status 4
failed (code 4)
Error Code 4 means the filesystem is left uncorrected. (This happens when fsck is hesitant to alter anything for some predetermined reason. For example if the the partition to be corrected is mounted or the root partition which cannot be unmounted.)

I met this error many times. My solution is usually to boot the machine using a live CD (this will allow me to work while the root partition in the hard drive is not mounted and fsck may no longer be hesitant to correct it.) From the LiveCD when booted you may now bring up a terminal and examine if the hard drive partition is there.
Code:
fdisk -l
if you see the partition then you may now make it a target:
Code:
fsck -a /dev/sda1 <if that is in your case, or /dev/sda{X} whatever number you have actually>
If the "-a" option remains hesitant, then you better use the "-y" option, to automate a "yes" answer in the interactive. For example "fsck -y /dev/sda{n}" at least fsck proceeds without you needing to press "yes" each correction.

BE CAREFUL IF YOU HAVE CRITICAL AND IMPORTANT DATA. AND IF YOU ARE RUNNING RAID YOU MUST NEED SEARCH ALTERNATIVE SOLUTION FIRST.

Hope that helps. Good luck.

m.m.
 
  


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
[SOLVED] UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. JoseKreif Linux - Newbie 21 06-30-2016 07:13 AM
[SOLVED] /dev/sda3: unexpected inconsistency; execute fsck manually. vienswuer Linux - Newbie 11 05-16-2014 02:02 PM
/dev/VolGroup01/u04: UNEXPECTED INCONSISTENCY Run fsck Manually juan_f_vidal Linux - General 4 06-09-2011 12:31 PM
Unexpected inconsistency, run fsck manually twangchuk Linux - Newbie 2 06-12-2009 10:51 AM
Error in partition. Unexpected Inconsistency, won't let me run fsck! mlsbraves Slackware 2 04-15-2005 10:03 PM

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

All times are GMT -5. The time now is 11:18 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