LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-12-2008, 06:38 PM   #1
bluethumb
Member
 
Registered: Jan 2006
Distribution: RHEL 4, Scientific Linux, Centos, Ubuntu
Posts: 58

Rep: Reputation: 15
Unhappy Installed on identical machines, one has flaky programs


We just got two identical machines from Dell (without Windows!). I downloaded the .iso of Scientific Linux 5.2, a clone of RHEL 5.2, and burned a DVD. I installed both machines from this disk. I wouldn't swear that I installed exactly the same packages on both, but there's not much difference.

One machine was strange almost from the beginning. I tried to run system-config-services, but it crashed every time with a segfault. Rather than investigate, I just redid the installation. This time system-config-services works OK. Now whenever I try to run vi or vim in a gnome-terminal, the window crashes. There's no problem in a KDE Konsole window.

First I ran memtest86 to look for bad memory. No errors. Then I ran the Dell hard disk diagnostic. No errors. I ran the installation media test on the DVD on both computers. No errors.

Then I started looking at the installed files, particularly /usr/bin/gnome-terminal. It's not the same size on the two computers! The bad one has a smaller file. This looks like progress. Then I ran rpm -V on the gnome-terminal package and it passed on both machines. I don't understand that at all.

Then I went back to the installation disk. I ran rpm -qip --dump on the RPM package to see what gnome-terminal should look like. Neither the size nor the md5 checksum agrees with either of the installed gnome-terminal files. Both files are bigger than the size given in the RPM.

Looking a little farther, I checked /usr/bin/vim and the vim-enhanced package. The two installed files are the same size (rah!), but they are both a bit bigger than the RPM says. None of the md5 checksums agree.

Then I re-installed the gnome-terminal package from the DVD. The file is the same size and it still crashes.

What's going on here? Should I expect the checksums to match? Should the actual file size match what the RPM dump says? Is there a plausible explanation for how things got messed up?
 
Old 09-14-2008, 12:52 PM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Check Logs

Look at logs under /var/log, especially message, kernel.log, and syslog. Check the output of dmesg. If they're identical, then it is how they were installed or hardware.

The logs may show you things about the hardware that another diagnostic won't. And yes, this sounds like hardware.

If one system works, then it is probably not due to your media; else there would be other problems.
 
Old 09-15-2008, 02:40 AM   #3
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
Try doing a Package count

rpm -qa | wc -l

If the numbers are different on each machine, then you don't have the same packages. You can use rpm to sanity check the packages on the 'dodgy' host, it'll take some time to do them all, but it might help.

Stuart.
 
  


Reply

Tags
crash, gnometerminal, md5, rpm, vim


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
2 identical machines/setup - one sees server, other doesn't? pcCodingNut Linux - Newbie 10 07-22-2008 03:57 PM
Programs installed with package manager aren't recognised by other programs fraserm Linux - Software 3 04-21-2007 12:38 PM
KDE freezes on identical machines LarryFrigginWachs Linux - General 1 04-17-2006 04:53 PM
Sync up identical machines kenny_dilger Linux - General 1 07-09-2004 04:26 PM
building 5 identical machines - how to clone the HDs? BrianK Linux - General 1 12-18-2003 04:25 PM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration