The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Wikindx facilitates academic writing in a browser iBot UNIX and Linux RSS News 0 05-27-2008 12:30 PM
Modifying/Rebuilding non-source PRM? eur0dad Linux 2 07-08-2007 08:02 AM
how to view loaded shared libraries by running processes in linux princelinux High Level Programming 3 01-17-2007 07:44 AM
rebuilding sun solaris kernel jigarlakhani UNIX for Dummies Questions & Answers 3 04-03-2002 07:38 PM
Rebuilding Kernel konda UNIX for Advanced & Expert Users 2 02-27-2002 11:58 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-03-2008
Skyybugg's Avatar
Skyybugg Skyybugg is offline
Registered User
  
 

Join Date: Mar 2007
Location: Tampa, FL
Posts: 26
Rebuilding C++ Libraries to save Linux install (purely academic question)

The crisis is over. I am just doing postmortem on how we handled it. So this is just an exercise in academics.

We have a mission critical system running on RED Hat Linux. It is a turnkey system "managed 100% by the vendor". I put this is quotes because we had an event last night that dramatically reduced that percentage for the evening!!

Evidently the Vendor tech was trying to resolve an issue with the internal ultrium tape drive. Backups were not functioning... so he decided to install something to fix the tape drive.. that something wiped out C++ libraries... (??). Evidently this trashed the system. We had a login at the console but it would not authenticate. The application interfaces with other systems, instruments were failing.

He asked for our assistance to rebuild C libraries. He had us download redhat isos and put them on CDs. He had us boot off cd using "linux rescue" at the boot: prompt. Then he had us attempt to reinstall C libs using rpm. It seems the rpm command could not find the rpm database. I think it was looking for rpm database in /var. Var was not mounted. So following the direction of vendor who really owned this cluster, we reinstalled red-Hat formatting boot, root, and swap partitions and preserving the data file systems

1) Could we have attempted to mount /var file system?
and

2) And had we been able to do #1, might the re-install / upgrade of these C+++ libshave worked?

Here are the install commands we were given . The only difference between this and the versions on the CD were not the same as these:

rpm -Uvh /mnt/sources/RedHat/RPMS/glibc-2.3.2-5.i386.rpm --nodeps
rpm -Uvh /mnt/sources/RedHat/RPMS/glibc-common-2.3.2-5.i386.rpm --node

I don't have the output errors about rpm not being able to find the rpm database.
I don't know what the "old" existing red hat was but the CDs Were RH 2.1 ES.


SkyyBugg
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0