LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 05: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 05:28 AM.
 
Old 07-25-2016, 06:20 AM   #2
amilo
Member
 
Registered: Oct 2011
Location: Nederland
Distribution: Debian, Centos, Ubuntu
Posts: 81

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, 06:20 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

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

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
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



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

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

All times are GMT -5. The time now is 03:26 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
Open Source Consulting | Domain Registration