What broke my box ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



CentOS 5.2 64-bit

I needed some space.

I have a hard drive that had an old Linux install I don't use anymore. 
So I edited /etc/fstab and removed the entries for it (entries I only 
needed so I could get data off it).

Then I edited /boot/grub.conf and removed the lines to boot it.

Then I rebooted.
It booted but a bunch of services failed because libstdc++ could not be 
found.

I logged into a console and tried to verify libstdc++ and that failed, I 
guess rpm depends upon it.

touch /forcefsck && shutdown -r now

After booting - no fsck errors, but libstdc++ error when starting some 
services.

cd /usr/lib64 - the shared library was there.

I looked in /etc/ld.so.conf and /etc/ld.so.conf.d/ just in case for some 
idiotic reason I had added a library path on the other drive - nope.

I then ran /sbin/ldconfig - and then rpm --verify worked.
rebooted and all services started.

So - clearly the library cache got borked and needed to be rebuilt.

The question is what borked it?
Anyone seen this before?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux