Results 1 to 7 of 7
Good day,
I untared a few libs on the wrong server (that's the when you're supposed to start laughing!) and I corrupted my server. Everytime it boots up, I get ...
- 02-14-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 4
Corrupted libs: kernel parnic error
Good day,
I untared a few libs on the wrong server (that's the when you're supposed to start laughing!) and I corrupted my server. Everytime it boots up, I get the following error:
/sbin/init: relocation error: /lib/tls/libc.so.6: symbol _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference. Kernel panic - not syncing. Attempted to kill init!
I can I restore the original libs? I'm running RHEL 2.6.9-42 on a Proliant DL585. Thanks for your help.
Jerome
- 02-14-2011 #2
If you have a list of the libs you replaced,
then you can identify the RPMs involved.
These could help:
Once you have a list of affected RPMs,Code:rpm -V <package-name> and rpm -qf /lib/<libname>
this should get your system back on track:
Code:yum reinstall <rpm_1> <rpm_2> <etc>
You must always face the curtain with a bow.
- 02-14-2011 #3Just Joined!
- Join Date
- Feb 2011
- Posts
- 4
Thanks for your reply. Those are the libs that were "untared"
/lib/ld-linux.so.2
/usr/lib/libz.so.1
/lib/libcrypt.so.1
/lib/libssl.so.4
/lib/libcrypto.so.4
/lib/libresolv.so.2
/lib/libnsl.so.1
/lib/libdl.so.2
/usr/lib/libncurses.so.5 .
/lib/libm.so.6
/lib/libc.so.6
/usr/lib/libgssapi_krb5.so.2
/usr/lib/libkrb5.so.3
/usr/lib/libcom_err.so.2
/lib/libcom_err.so.2
/usr/lib/libk5crypto.so.3 .
My server crashes before I get to any login prompt. I do have the RHEL CD here. Is it just a matter of booting from the CD and repair the broken libs? How can I do that?
- 02-14-2011 #4
ok, from the list you gave me, I found the appropiate RPMs
Unfortunately, your major "victim" seems to be glibc, which explains why you cant get a login.Code:<lib> <RPM> /lib/ld-linux.so.2 glibc /usr/lib/libz.so.1 zlib /lib/libcrypt.so.1 glibc /lib/libssl.so.4 openssl /lib/libcrypto.so.4 openssl /lib/libresolv.so.2 glibc /lib/libnsl.so.1 glibc /lib/libdl.so.2 glibc /usr/lib/libncurses.so.5 ncurses /lib/libm.so.6 glibc /lib/libc.so.6 glibc /usr/lib/libgssapi_krb5.so.2 krb5-libs /usr/lib/libkrb5.so.3 krb5-libs /usr/lib/libcom_err.so.2 e2fsprogs-libs /lib/libcom_err.so.2 e2fsprogs-libs /usr/lib/libk5crypto.so.3 krb5-libs
So you also cannot "yum reinstall" right away.
If you want to avoid a reinstall, you have to
- manually copy these libs from another similar system (or backup) into the damaged machine (via the RHEL boot cd)
- hope that it boots
- and once it does, issue:
Code:yum reinstall glibc zlib openssl ncurses krb5-libs e2fsprogs-libs
You must always face the curtain with a bow.
- 02-14-2011 #5Just Joined!
- Join Date
- Feb 2011
- Posts
- 4
So it looks like I don`t have the right CD cause it just won`t boot with it. Is there a link where I can download RHEL 2.6.9-42 and update those libs?
- 02-14-2011 #6
Yes, login to the redhat network.
https://rhn.redhat.com/
There you have access to the ISOsYou must always face the curtain with a bow.
- 02-15-2011 #7Just Joined!
- Join Date
- Feb 2011
- Posts
- 4
So I downloaded the following ISO
rhn.redhat.com/rhn/software/channel/downloads/Download.do?cid=1214
...but it seems like this isn't a boot CD.....can somebody confirm?


Reply With Quote