LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-06-2014, 08:55 AM   #1
adam525
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Rep: Reputation: 0
Machine locks up - I suspect HD


I have a "server" at a job I just started. I use the server term VERY loosely. It's basically an old desktop sitting sideways in a rack (which Linux will run on and I'm a Linux fan/user by the way).

Here's the problem. We have a couple of web apps that are absolutely crucial to the business that run on this server and at first I tried to make a tarball of the entire directory to scp it to another machine. My brilliant predecessor already had everything he needed installed (it's Fedora release 14), but he didn't know that so he downloaded one of these "lamp" packages and installed it where everything is contained under one directory - apache, mysql, all the db's, etc.

Anyway, on my first attempt I tarred the entire lampp directory and gzipped it and attemped to scp it to another machine. Halfway through the copy, the machine locked up - as in no response from the keyboard at the machine at all. NOTHING.

My first thought was that the file was so big (3.2 GB) I wasn't sure if it was a 32 bit file size limitation issue - I don't know that much about LFS, I'll admit.

Next attempt, I tried plugging a thumb drive into a USB port on the machine and just running an rsync. It got along a short little while and then the same thing happened. Machine locked up. No response from keyboard (and obviously not from any of my shells I had to it with ssh).

This morning I though I'd try to tar each vhost at a time and scp them over to the new server. I got through a couple of them, then on about the fourth one, same thing. I am completely stumped.

I looked at dmesg to see if I could see anything that stood out and nothing does. I also looked and /var/log/messages and saw nothing really suspicious there either.

This is a VERY OLD computer (hence the reason for trying to get these sites off of here).

Does anyone have any ideas that I could try? I'm at a loss here.

TIA,

Adam
 
Old 06-06-2014, 10:32 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
One thing that can give you these types of failures is a failing power supply. As power supplies get older the amount of power they produce begins to go lower. Your power supply may be slowly dying.

How you diagnose power problems varies with the hardware you are using. I used to have a Dell with a failing power supply. The Dell had small lights on the front of the case. The light pattern gave me a number which indicated which type of pre boot hardware failure I was having. I replaced a failing 75W power supply with a new 100W power supply and that solved the problem. Other computers that I have owned had hardware error codes in a special area of the BIOS.

I suggest that you find a hardware manual for your equipment and see if you can diagnose a hardware problem.

------------------
Steve Stites

Last edited by jailbait; 06-06-2014 at 10:33 AM.
 
Old 06-06-2014, 03:08 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
I'd suspect heat, power supply, ram, and any other hardware. We can't say without some tests.
Take the cover off and see how much dust is in it. Running systems sideways has caused issues before so lay it flat. Be sure to watch out for esd and maybe clean and reseat stuff.



You might consider getting a usb to sata adapter and dd or clone the disk before you loose it all. You might be able to re-create this machine in a VM to keep it going. In any case, get a copy by some means.
 
Old 06-07-2014, 02:29 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,282

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Power supply is a real possibility.
I suggest
Code:
time cp -a /path/to/directory    /path/tousb_mount_dir
No compression, if it locks up kill the cp process (get the id while it's working). It may recover.
 
Old 06-07-2014, 03:04 PM   #5
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Run memtest86+ first.

If you suspect the HDD, then you should try to get your data off ASAP. After you do, you can run a SMART long test.
 
1 members found this post helpful.
Old 06-07-2014, 06:06 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Not trying to stop progress but fedora 14 has been outdated for 3yrs. Are these web apps going to run on todays fedora?
Are the apps available thru repos?
 
Old 06-09-2014, 02:53 AM   #7
adam525
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Original Poster
Rep: Reputation: 0
Thanks for all the replies. Good info there. I'll look into the power supply and the first thing I'll do is stand it up straight. The problem with this thing is that they're running a mission critical web app on it and I've been trying to go through and clean the directory up a bit (it's 5 GB). Someone who didn't know what they were doing downloaded one of these pre-built "lamp" packages, so EVERYTHING is contained in there. The DB's, apache, the libs, the code - everything...
 
Old 06-09-2014, 08:31 AM   #8
adam525
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Original Poster
Rep: Reputation: 0
The thing is that it will run along fine until I start trying to copy things out of that directory. Then, at random, it just locks hard. No response from keyboard or anything.
 
Old 06-09-2014, 12:25 PM   #9
adam525
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Original Poster
Rep: Reputation: 0
To EDDY1,

These are apps that were written in house, so I hope they aren't using too many old libs and will still run. We'll see. The It's business critical.
 
Old 06-09-2014, 12:33 PM   #10
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I'm thinking it is a bad RAM stick until it is ruled out using memtest86+.
 
Old 06-10-2014, 04:45 AM   #11
adam525
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Original Poster
Rep: Reputation: 0
I'm going to work with it this weekend (since it's a "production" box). I'll post the results...
 
Old 06-10-2014, 04:29 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Copy locking up could also be swap too small. Top command and swap tools may help.

Running fsck on it may help but I'd do that after I cloned it off. If this is critical then you should have had a copy or full backup already.....
 
  


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] Machine Hard Locks with Firefox thund3rstruck Slackware 16 05-28-2012 08:57 PM
Machine Locks Up When Hibernating / Suspend carlosinfl Linux - Laptop and Netbook 2 11-26-2010 03:45 PM
Suse 9.3 install locks up my machine Joe Phoebus Linux - Hardware 1 07-29-2005 03:33 PM
Machine locks up at 100% usage... vbp6us Linux - General 10 08-18-2003 01:24 PM
Yast2 Locks machine dbs Linux - Software 0 08-17-2002 04:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:38 AM.

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