LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-07-2009, 02:53 PM   #1
wernox
LQ Newbie
 
Registered: Jan 2008
Posts: 6

Rep: Reputation: 0
RHEL 5.1 i386 Yum update all results in disaster


at about 8:00AM yesterday, a yum update was triggered from a webmin session on our RHEL 5.1 box. The user thought they were listing, not updating, so they switched to a different page and went to work on something else.

Approximately 3 hours later, the server shutdown and rebooted, hanging when it tried to start xserver. I was able to get it to run level three, and start most stuff manually. I then had to re-link a bunch of shared objects to get stuff like xinetd and cups to work. As I was working on that, I noticed that /usr/include was pretty much empty. I was able to restore that from backup, and at that point was able to boot to runlevel 5.

Kde fails on kdeinit on some sort of missing file or link
Gnome runs, bu8t gives the error "OAFIID:GNOME_MixerApplet not found"
Yum fails with an error about module storage factory not being found.
Rpm appears to work, but rpm -q bash returns "package not installed" and attempting to re-install some of the missing stuff fails on dependency checks mostly for libc.so.6 (which does exist)

At this stage, the server is workable as the DB server it is, backups and cron processes run, its just clear that something bad has happened. I tried deleting and rebuilding the rpm db's, but it had no effect.

Anyone have any suggestions?
 
Old 05-08-2009, 01:37 PM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hye,

this does not sound like an problem with yum. I use CentOS and yum for several years and i have never seen such a problem, except there where repositories used which are not part of the base distribution. Updating with normally works very well. What does the output of yum tell what it has done? Also yum never reboots the system by itself, this has to be done manually.
 
Old 05-08-2009, 03:10 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
This sounds more like a user error. This is one (of the many) reason why only trained personnel should have root access.
 
Old 05-09-2009, 06:14 AM   #4
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hye lazlow,

i agree with you.
 
Old 05-11-2009, 07:29 AM   #5
wernox
LQ Newbie
 
Registered: Jan 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I know exactly what happened, a user logged into webmin as root and clicked the wrong button.

What I really need are ideas on how to fix it. I'm going to try an upgrade install from the original media to see if that at least gets me to a point where everything works and seems stable. Since it's a 24X7 operation, it may be a month or so before I get the downtime I need to try that.
 
Old 05-12-2009, 09:33 AM   #6
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hye,

if yum works on the machine, why not reinstalling missing things using yum? It will resolve all dependencies automatically.
 
  


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
Yum update conflicts when there is both i386 and x86_64 rpm packages installed. zimon Fedora 2 10-09-2008 07:30 AM
RHEL 5.2 yum update with CentOS 5.2 repositories- possible? damunzy Linux - Enterprise 4 08-12-2008 03:30 AM
# yum --enablerepo=updates-testing update ./kdelibs-4.0.5-2.fc9.i386.rpm 'kde*' cfo Linux - Newbie 2 06-17-2008 05:08 PM
yum update dbus results in file conflict dvlierop Fedora 2 11-13-2005 04:21 AM


All times are GMT -5. The time now is 01:23 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration