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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-20-2016, 06:08 PM
|
#1
|
LQ Newbie
Registered: Dec 2016
Posts: 2
Rep: 
|
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.........
|
|
|
12-20-2016, 06:35 PM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,448
|
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 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 ?.
|
|
|
12-20-2016, 07:38 PM
|
#3
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
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/
|
|
|
12-20-2016, 07:55 PM
|
#4
|
Member
Registered: Jul 2013
Posts: 749
Rep: 
|
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.
|
12-20-2016, 10:59 PM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,448
|
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.
|
|
|
12-21-2016, 06:32 AM
|
#6
|
Member
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Rep:
|
It could be a disk drive error..
|
|
|
12-21-2016, 12:10 PM
|
#7
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,945
Rep: 
|
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.
|
12-21-2016, 01:03 PM
|
#8
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Quote:
Originally Posted by nigelc
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.
|
|
|
12-21-2016, 01:06 PM
|
#9
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
eleanorrigby08:
Please post the output of uname -a for us.
Also what is the output of:
Code:
cat /etc/os-release
|
|
|
12-21-2016, 01:50 PM
|
#10
|
LQ Newbie
Registered: Dec 2016
Posts: 2
Original Poster
Rep: 
|
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!
|
|
|
12-22-2016, 01:02 PM
|
#11
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
... tough situation - best of luck ! Keep us apprised of your progress if you can.
Happy Holidays !
|
|
|
12-22-2016, 02:38 PM
|
#12
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Quote:
Originally Posted by eleanorrigby08
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.
|
|
|
12-22-2016, 02:55 PM
|
#13
|
Senior Member
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,959
|
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.
|
12-22-2016, 04:09 PM
|
#14
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Check and look for drive errors.
|
|
|
12-25-2016, 07:21 PM
|
#15
|
Member
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 424
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|