LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-20-2016, 06:08 PM   #1
eleanorrigby08
LQ Newbie
 
Registered: Dec 2016
Posts: 2

Rep: Reputation: Disabled
Linux Illiterate Needs Help with Error


I apologize if this isn't the best forum for this post, but I thought this could be classified as a newbie question.

I have worked for a very small business for years, and we use a computer with RedHat Linux for our accounting program. The computer and proprietary accounting program was built for us years ago. We utilize the accounting program on our PC's through the office network and a TinyTerm Emulator program, so the main Linux computer is in a closet and never gets shut down regularly. In March of 2016, our battery backup died and we were forced to shut the main computer down and reboot. When we rebooted, we got an error screen saying we had been sent to a shell. We eventually searched and found a fsdk command and eventually got the computer back up and running. Everything has been fine since then. Now, our company has shut down and my supervisor had to take the Linux computer home for final accounting purposes at year-end. This is the first time the computer has been shut down since March and rebooted. When she attempted to turn the computer on once it was set up at her house, the same error screen reappeared. She tried the same fsdk command that worked before, but it is not working this time. The screen says
"Checking root filesystem
/dev/sda5 contains a file system with errors, check forced. Error reading block 1933379 (Attempt to reach block from filesystem.......
/dev/sda: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY......
FAILED
An error occurred during the file system check. Dropping you to a shall; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D for normal startup):"

We tried the password and it just restarts. We tried the Control-D to no avail. We tried fsck -y /dev/sda5 (the fix we used last time) but it doesn't seem to be working. We are obviously not familiar with fixing Linux problems and haven't had anyone to help us in years. Any advice on what type of commands to try would be so appreciated. Thanks for any help.........
 
Old 12-20-2016, 06:35 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,161

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
This is a really scary conversation.

This system has had no updates to the operating system/programs in years ?.
Try this command and post the result - it will give us an idea of how old that (operating) system is
Code:
 uname -a
The shell you drop to is a very limited environment - the age of your environment may make it even more so than we are used to these days.
Do you have (good) backups ?. When was the last backup taken, and how (what command) was the backup created ?.
 
Old 12-20-2016, 07:38 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,485
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
/dev/sda: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY......
FAILED
A not so graceful shutdown and or power outage isn't good. I sincerely hope you have backups.

IF you don't have a subscription with Red Hat I suggest giving Centos a try.
Centos is the rebuild of Red Hat if your interested.
https://www.centos.org/download/
 
Old 12-20-2016, 07:55 PM   #4
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
First thing you should do is verify you have good backups, and know how to restore those backups to a new machine. It kinda sounds like the hard drive is failing.

You should get your backups before you start running any kind of diagnostic software, if a drive is failing often the testing tools will make the situation worse, not better.
 
1 members found this post helpful.
Old 12-20-2016, 10:59 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,161

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Be aware that we are actually trying to help. We all deliberately refrained from answering your question because there is a large risk of making matters worse - including using fsck.

You will need to provide more detail.
 
Old 12-21-2016, 06:32 AM   #6
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
It could be a disk drive error..
 
Old 12-21-2016, 12:10 PM   #7
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,538

Rep: Reputation: Disabled
Probably best to download a 'live' distro, it boots up the computer without touching your hard drive, & make a back up copy of your disk, then work on the backup copy.

Check out this web site/distro. http://www.clonezilla.org/
 
1 members found this post helpful.
Old 12-21-2016, 01:03 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,485
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by nigelc View Post
It could be a disk drive error..
Quote:
Error reading block 1933379
Could be a bad sector on the HDD:-

I'd be interested in seeing the output of uname -a like syg00 has asked for.

I agree with fatmac's advise on this because we don't know what the fs errors are.
 
Old 12-21-2016, 01:06 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,485
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
eleanorrigby08:

Please post the output of uname -a for us.
Also what is the output of:

Code:
cat /etc/os-release
 
Old 12-21-2016, 01:50 PM   #10
eleanorrigby08
LQ Newbie
 
Registered: Dec 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you all for your replies. I will try to get this information to my supervisor and we will see what happens (since the computer is at her house). I'll post results when I can.

We do have backups, but since the company has shut down and we only needed the accounting for final taxes, I'm not sure if it's even worth trying to deal with the backups. We may have to work with raw data we have and forget about the computer and accounting system. Our boss passed away a couple of years ago, and we have been trying to deal with the antiquated equipment just to get through the final steps of closing down his business. When he was alive, he didn't want us to spend money on changing or updating anything....leading to major problems!
 
Old 12-22-2016, 01:02 PM   #11
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
... tough situation - best of luck ! Keep us apprised of your progress if you can.

Happy Holidays !
 
Old 12-22-2016, 02:38 PM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,485
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by eleanorrigby08 View Post
Thank you all for your replies. I will try to get this information to my supervisor and we will see what happens (since the computer is at her house). I'll post results when I can.

We do have backups, but since the company has shut down and we only needed the accounting for final taxes, I'm not sure if it's even worth trying to deal with the backups. We may have to work with raw data we have and forget about the computer and accounting system. Our boss passed away a couple of years ago, and we have been trying to deal with the antiquated equipment just to get through the final steps of closing down his business. When he was alive, he didn't want us to spend money on changing or updating anything....leading to major problems!
Your Welcome

Let us know how things go and try to get us the output of those commands.
 
Old 12-22-2016, 02:55 PM   #13
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
I hope that you are not faced by a bunch of auditors.
It won't look good if you haven't replaced any disks for many years.

If you should get it working again, take an immediate backup - but not if it means you lose a "known good" backup.
 
1 members found this post helpful.
Old 12-22-2016, 04:09 PM   #14
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Check
Code:
$ dmesg | grep sd
and look for drive errors.
 
Old 12-25-2016, 07:21 PM   #15
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 424

Rep: Reputation: 83
They're not going to be able to clone the disk if it's failing mechanically. It's likely if you try to copy it that the copy will be corrupted in some way. Anything that stresses the disk(s) more should be avoided. If the data files are in some kind of usable format, they should be copied away somewhere if possible for later use.
 
  


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
Linux distribution for computer illiterate father xahodo Linux - General 5 08-09-2016 09:37 PM
Best Linux For Computer Illiterate With Low Bandwidth? newmint Linux - Newbie 20 10-18-2012 12:41 PM
linux illiterate needs help making a script mrgreaper Linux - Newbie 15 11-13-2008 12:10 PM
linux illiterate to the xtreme SiinsoftheFuture Slackware - Installation 5 04-13-2007 06:47 PM
Linux-illiterate user needs help with his wireless card. bighops2000 Linux - Newbie 4 01-31-2006 11:30 AM

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

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