(warning). fsck died with exit status 4 failed! (code 4).

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
TSerzhO_
Posts: 6
Joined: 2013-02-18 13:17

(warning). fsck died with exit status 4 failed! (code 4).

#1 Post by TSerzhO_ »

First of all, I want to apologize for two things:
1) I am completely noob in Linux and know just nothing at all...
2) My English is very poor; I can read, but to speak, compose and write, express my minds and my thoughts is just hard for me; my mother tongue is Ukrainian...
For that I'm sorry...
So, I will try to maximally use my vocabulary to get You could to understand what I'm saying about... And also to provide You as much the details as I only can...

My system has stopped to boot at all...

Code: Select all

done.
Setting parameters of disc: (none).
Setting preliminary keymap...done.
Activating swap...done.
Checking root file system...fsck from util-linux-ng 2.17.2
/dev/sda1 contains a file system with errors, check forced.
Inodes that were part of a corrupted orphan linked list found.

/dev/sda1: 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 mounted 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 the maintenance shell and restart the system. ... (warning).
Give root password for maintenance
(or type Control-D to continue): _
For now, I just don't know what I should to do next to my system has started to work again...

TSerzhO_
Posts: 6
Joined: 2013-02-18 13:17

Re: (warning). fsck died with exit status 4 failed! (code 4)

#2 Post by TSerzhO_ »

I have a ScreenShots, but can't to attach it, because of:

Code: Select all

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, forum-admin[at]forums[dot]debian[dot]net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache Server at forums.debian.net Port 80

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5441
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 21 times
Been thanked: 88 times

Re: (warning). fsck died with exit status 4 failed! (code 4)

#3 Post by dilberts_left_nut »

First, don't apologise for your language, your english is better than my ukranian :) (but it is good to know)

The filesystem on your root partition needs fixing before it will boot.
enter the root password then run

Code: Select all

fsck /dev/sda1
reboot
AdrianTM wrote:There's no hacker in my grandma...

User avatar
michapma
Posts: 544
Joined: 2008-05-04 20:49
Location: Prague

Re: (warning). fsck died with exit status 4 failed! (code 4)

#4 Post by michapma »

Secondly, don't apologize for being a noob, it's impossible to start as a guru. You did a good job of describing your problem and providing enough information for someone to provide help.

These forums might be a good place to learn both technical and creative English...

TSerzhO_
Posts: 6
Joined: 2013-02-18 13:17

Re: (warning). fsck died with exit status 4 failed! (code 4)

#5 Post by TSerzhO_ »

Thanks, dilberts_left_nut... :-) If You ever need a language help (Ukrainian or russian), then I am here for You... And here too... :)

So, about my debian problem...
I were trying to type my root password in that moment (where is a "_" symbol: {

Code: Select all

...
Give root password for maintenance
(or type Control-D to continue): _
}), but then I've got nothing... Unfortunately, I'm not at home right now and can't to tell You, what actually happens exactly...

Ctrl+D - all just the same...
Last edited by TSerzhO_ on 2013-02-19 11:09, edited 1 time in total.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5441
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 21 times
Been thanked: 88 times

Re: (warning). fsck died with exit status 4 failed! (code 4)

#6 Post by dilberts_left_nut »

It won't show on the screen, just type it and push enter and you should get a command prompt.
AdrianTM wrote:There's no hacker in my grandma...

TSerzhO_
Posts: 6
Joined: 2013-02-18 13:17

Re: (warning). fsck died with exit status 4 failed! (code 4)

#7 Post by TSerzhO_ »

Oh, I see... I will try it tonight... Thank You, hope it'll helps...

TSerzhO_
Posts: 6
Joined: 2013-02-18 13:17

Re: (warning). fsck died with exit status 4 failed! (code 4)

#8 Post by TSerzhO_ »

By the way, don't You accidentally know, why can't I to attach an image files onto this forum?.. Because I have an another problems with my debian too, but without attaching the screens it's will be really hard to explain it for me...

User avatar
michapma
Posts: 544
Joined: 2008-05-04 20:49
Location: Prague

Re: (warning). fsck died with exit status 4 failed! (code 4)

#9 Post by michapma »

TSerzhO_ wrote:By the way, don't You accidentally know, why can't I to attach an image files onto this forum?.. Because I have an another problems with my debian too, but without attaching the screens it's will be really hard to explain it for me...
http://forums.debian.net/faq.php#f3r3

When you're entering your message, at the bottom is an area with two tabs: "Options" and "Upload attachment." Use the second one. Otherwise, you can host the image online using a free site of your choice.

TSerzhO_
Posts: 6
Joined: 2013-02-18 13:17

Re: (warning). fsck died with exit status 4 failed! (code 4)

#10 Post by TSerzhO_ »

Sorry, guys, for my reply back are takes so long...
I'm just wanted to say 'a 'BiG THANK You'' to dilberts_left_nut for help!.. I did all like You said, and my debian now works again... :-) Thank You a lot!..
I have and another big problems, but maybe will post it latter, and hope that You could to help me with it too...
Thanks again!..

And 2 michapma
Like I said, when I did all the same like You describes, then I've got an error message...

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: (warning). fsck died with exit status 4 failed! (code 4)

#11 Post by llivv »

to use the img tags to post an image you first have to post the image at an image hosting site.
here are links to a few free image hosting sites.
http://imgboat.com/
http://imgsrc.ru/
http://freeimagehosting.net/
http://postimage.org/
http://tinypic.com/
http://imageshack.eu

It may take a few tries to figure out how to link to your images,
but most free image hosting sites give Forum url's
after you post the image so you can copy and paste the images "Forum url"
into your forum post.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

prabhu
Posts: 4
Joined: 2015-02-04 09:31

Re: (warning). fsck died with exit status 4 failed! (code 4)

#12 Post by prabhu »

Dear All,

I not able to give root passowrd to enter to maintaince mode.

Please help me to fix this please ASAP.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 135 times

Re: (warning). fsck died with exit status 4 failed! (code 4)

#13 Post by Head_on_a_Stick »

prabhu wrote:Dear All,

I not able to give root passowrd to enter to maintaince mode.

Please help me to fix this please ASAP.
Please start a new thread for your problem -- be sure to give it a descriptive title both to attract the attention of users who know about the subject and also to help users who have the same problem and are searching for a solution.

Also, read this post to increase your chances of getting help:
http://forums.debian.net/viewtopic.php?p=550848
deadbang

prabhu
Posts: 4
Joined: 2015-02-04 09:31

Re: (warning). fsck died with exit status 4 failed! (code 4)

#14 Post by prabhu »

Thank u,

i have the problem similar to mr TSerzhO_

but i not able to provide the root password/

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 135 times

Re: (warning). fsck died with exit status 4 failed! (code 4)

#15 Post by Head_on_a_Stick »

prabhu wrote:but i not able to provide the root password/

Code: Select all

sudo su
deadbang

prabhu
Posts: 4
Joined: 2015-02-04 09:31

Re: (warning). fsck died with exit status 4 failed! (code 4)

#16 Post by prabhu »

Thanks for the update,

Its promoting for root password, but from vcenter we are not able to provide the root password.

Is there any other option to fix the issue?

This server is hosted on the EXSi VM server

prabhu
Posts: 4
Joined: 2015-02-04 09:31

Re: (warning). fsck died with exit status 4 failed! (code 4)

#17 Post by prabhu »

Dear Friend,

Thanks, i am not able to provide the root password from vcenter server.

mahboobehd
Posts: 4
Joined: 2016-01-27 22:53

Re: (warning). fsck died with exit status 4 failed! (code 4)

#18 Post by mahboobehd »

Hi,

I have the same problem, but when I run fsck /dev/sda1, I get this message:
"Error reading block 5539406 (Attempt to read block from filesystem resulted in short read) while reading indirect blocks of inode 1376394. Ignore error<y>?"

I am running debian_squeeze_i386_desktop.qcow2, and it was working properly before I tried to make a bridge between host system and qemu.

Thank you in advace for the help,
Mahboobeh

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: (warning). fsck died with exit status 4 failed! (code 4)

#19 Post by kiyop »

mahboobehd wrote:I have the same problem,
Even if you have similar problem, the cause of the problem may be different.
it is better for you to start a new thread. You can link this thread in your new thread.
mahboobehd wrote:but when I run fsck /dev/sda1, I get this message:
"Error reading block 5539406 (Attempt to read block from filesystem resulted in short read) while reading indirect blocks of inode 1376394. Ignore error<y>?"

I am running debian_squeeze_i386_desktop.qcow2, and it was working properly before I tried to make a bridge between host system and qemu.
Your debian_squeeze is booting as the host system, isn't it?

I wonder if /dev/sda1 has bad sector(s).
I suggest you backing-up important data to a safe place such as a partition in an USB media (removable media).
Can you unmount /dev/sda1?
After backing up all the important data, unmount the partition which contains the copied data, and remove the USB media. Then, you can check /dev/sda1 like

Code: Select all

umount /dev/sda1
fsck -f -y -c -c /dev/sda1
with root privilege.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

mahboobehd
Posts: 4
Joined: 2016-01-27 22:53

Re: (warning). fsck died with exit status 4 failed! (code 4)

#20 Post by mahboobehd »

Hi and thank you for the help.

My debian_squeeze is booting as the guest system!
I can not unmount /dev/sda1! It was not successful and I got lots of errors like: inode out of bounds -offset=....

Post Reply