LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Broke dynamic linker! /lib/libc.so.6 symbol _dl_out_of_memory GLIBC (https://www.linuxquestions.org/questions/linux-software-2/broke-dynamic-linker-lib-libc-so-6-symbol-_dl_out_of_memory-glibc-712872/)

defa0009 03-19-2009 12:20 PM

Broke dynamic linker! /lib/libc.so.6 symbol _dl_out_of_memory GLIBC
 
I installed an RPM which I though was glibc2.4 but it was actually a patch for glibc2.4 and now the system hangs at runlevel 5. I'm hoping someone can help me out to resolve this. The distro is SUSE 9 SP4 and it's a remote server that we can only access through KVM. Here is a screen shot of the problem during boot up...

http://www.mtprogramming.com/screenshot.jpg

Some suggestions from the internet are to replace the /lib and /usr/lib directories with the same directories from another machine running SUSE 9 SP4? Is this a good idea? Or is there a simpler way? I can get to the machine and reboot it manually but if it hangs at runlevel 5 how would I get around this so that I can login and fix the problem?

Your help is greatly appreciated!

knudfl 03-20-2009 08:38 AM

If you can't reboot, there is only one way : switch off
the computer.
Extract the 'glibc' package, you want to use, (glibc-2.3.2 ?)
on another machine : 'rpm2cpio <package.rpm> | cpio -idmv'
> > in a new empty directory.
And now you have the 4 directories etc, lib, sbin, usr,
containing the glibc files.
'su' .. # 'chmod -R 0755 *' .. 'chown -R root:root *'
Next : # 'tar -cf glibc-2.x.x.tar etc lib sbin usr' ..
..# 'gzip glibc-2.x.x.tar' and copy the result to a usb - key.

Boot into a live cd Linux on the computer to be "repaired",
cp the glibc-2.x.x.tar.gz package to the "live Linux" ...
.. 'cd /media/<Suse9-location> .. 'su' ..
'tar xvf <path-to-glibc-package>/glibc-2.x.x.tar.gz' .

And then ... just hope, that the Suse 9 will be usable again.
......

defa0009 03-20-2009 08:48 AM

I tried to boot up in fail safe and still no luck...

knudfl 03-20-2009 08:55 AM

Please read post # 2 again, I changed a few details.

And you will not be able to boot into a system with
a faulty 'glibc'. Failsafe or no failsafe.

.....

defa0009 03-20-2009 08:57 AM

OK thanks alot... I'll try that.


All times are GMT -5. The time now is 06:04 PM.