LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2003, 07:46 AM   #1
pandachina
LQ Newbie
 
Registered: Sep 2003
Posts: 9

Rep: Reputation: 0
Unhappy upgrade glibc destroy my box


hi all:
i have a rhl 9.0 box .today i try to upgrade glibc2.3.2-11.9 to
glibc-2.3.2-27.9 so i type the commond as follow
#rpm -Fvh glibc-common-2.3.2-27.9.i386.rpm glibc-2.3.2-27.9.i386.rpm
prepaing ============================100%
1 glibc-common=========================50%
2 glibc================================100%
error %(post) ...... (i forgot it ) ,exit status 121.
then i found many softwares not work with a error "Segment fault" .so i reboot it but when it loaded
INIT enter level 5
Id "1" respawning too fast: disabled for 5 minutes"
....
Id "5" respawning too fast: disabled for 5 minutes"
messages and the system hangs

i boot in rescue mode.then want to reinstall glibc
with
#rpm -Uvh --oldpackage glibc-common-2.3.2-11.9.i386.rpm glibc-2.3.2-11.9.i386.rpm --root=/mnt/sysimage
preparing ================================100%
1 glibc-common=============================100%
2 glibc====================================100%
rpmdb: /var/lib/rpm/Basenames:No such file or directory
rpmdb:/var/lib/rpm/Basenames:cannot sync:no such file or
directory
error:db4 error(1) from dbenv->close No such file or directory

i have search this problem in forum.
but i cant fix it .
so how can i fix it
it made me mad

thank you in advance
 
Old 09-07-2003, 09:36 AM   #2
pandachina
LQ Newbie
 
Registered: Sep 2003
Posts: 9

Original Poster
Rep: Reputation: 0
and
#chroot /mnt/sysimage
segment fault
 
Old 09-07-2003, 11:59 AM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try to run ldconfig
and maybe try rpm --rebuilddb

However, it sounds pretty serious

Last edited by DavidPhillips; 09-07-2003 at 12:00 PM.
 
Old 09-26-2003, 01:45 PM   #4
dude4linux
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
I'm seeing the same thing while trying to update glibc. At first I was blaming the Promise FastTrak SX4000 ata raid which I just got working, but now I'm not so sure. I have updated glibc on another RH9 server without incident. The server with the problem is also using lvm in addition to the raid card.

Are you using FastTrak raid or lvm by any chance?

I haven't found any way to fix the problem once it occurs except a complete re-install of the OS. Maybe someone out there has a better idea.
 
Old 10-18-2003, 07:53 PM   #5
dude4linux
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
Finally found the solution in another thread (http://www.linuxquestions.org/questi...threadid=57607). The problem has nothing to do with the FastTrak SX4000 or lvm. There appears to be a bug in up2date that downloads the i386 glibc rpm instead of the i686 rpm. If you have a xeon processor like I do, you need to manually download and install the i686 glibc rpm. Working great now. The thread above also has the recovery procedure to restore glibc without having to re-install like I did.
 
  


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
newb question on GNU glibc-2.3.1 upgrade to GNU glibc-2.3.2 clindy528 Slackware 1 11-10-2005 07:49 AM
upgrade glibc-2.2.4 to glibc-2.3.2 on redhat 7.2 Shuja Red Hat 0 07-28-2004 07:10 AM
upgrade glibc destroy my box pandachina General 1 09-07-2003 09:08 AM
upgrade glibc destroy my box pandachina Linux - General 1 09-07-2003 09:07 AM
Glibc Upgrade............. n00x Linux - Software 2 04-25-2003 06:22 PM


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