On Fri, Feb 20, 2009 at 06:04:00PM -0800, Michael A. Peters wrote:
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.
Lets call this your auxiliary drive.
So I edited /etc/fstab and removed the entries for it (entries I only needed so I could get data off it).
Which /etc/fstab did you edit? the one on the auxiliary drive or the one on the primary drive?
Then I edited /boot/grub.conf and removed the lines to boot it.
Which grub.conf did you modify? the one on your auxiliary drive or the one on your primary drive?
Then I rebooted.
What drive did you boot from? the auxiliary drive or the primary?
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@centos.org http://lists.centos.org/mailman/listinfo/centos