Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I've been working with out servers for the past several years. We have a mix of OS. Fedora, Ubuntu, RHEL, etc. I've accidentally trashed the libc.so.6 link and now nothing but shell commands work. I tried to echo "/lib/libc-2.10.2.so into the /etc/sestatus.conf file, but that didn't have any affect. Does anyone know where the search path is maintained besides PATH so I can try to point the apps to the /lib/libc-2.10.2.so file? I have a bunch of SVN repos on this server and right now, no one has access. I'm desperate.
Thank-you. The ldconfig worked through the install disk in rescue mode. The only thing I'm confused about now is I installed Trac in /opt and now it's gone. I did run "upgrade" from the install disk (ISO) image 1, but I didn't think that would blow away anthing in /opt. This is a RAID server and I doubt that Trac is on the other drive, but who knows. This has been a very strange problem.
You say you've destroyed the "link". Does "ln -s" not work to recreate the link?
>> Hi, i am Dinh. I was updating the eglibc to my board to support valgrind on my board. I copied the libc-2.13.so to /lib and used "ln -s" to change the link of libc.so.6 from libc-2.3.5.so to the libc-2.13.so but the "ln" did not work.
>> If this file is removed by "rm", the "ln" or "su" and some linux services die. Then I had to reload the file system for the board.
>> I believe the "ln" or "su" or other linux commands are using the /lib/libc.so.6
>> Is there any other way to update the libc tricky without update the root file system?