On 12:54 23 Feb 2002, Rupendra Singh <[EMAIL PROTECTED]> wrote: | when running some programs from a user other than root my system | gives this error. this has happened all of a sudden and i dont know | what has gone wrong. | | [roop@main root]$ps | ps: error while loading shared libraries: libproc.so.2.0.6: cannot | open shared object file: No such file or directory
Sounds like the permissions on /lib/libproc.so.2.0.6 have become mangled. Go: ls -ld /lib/libproc.so.2.0.6 It should look like this: -rwxr-xr-x 1 root root 46224 Aug 28 13:16 /lib/libproc.so.2.0.7 (I have a slightly newer release than you). Basicly, there should be read (r) and execute (x) permissions for all three permission groups. First fix that, if that's what's wrong. Then try to figure out what happened - permissions don't just "decay". Have you perhaps been mucking around near that directory as root? Also check that everything is ok compared to how the RPM database thinks it should be. For example, here's what I did for this email: [~/lnc]amadeus*> locate libproc.so /lib/libproc.so.2.0.7 That told me where the library was. [~/lnc]amadeus*> L `!!` L `locate libproc.so` -rwxr-xr-x 1 root root 46224 Aug 28 13:16 /lib/libproc.so.2.0.7 Checks the permissions. [~/lnc]amadeus*> rpm -qf !$ rpm -qf `locate libproc.so` procps-2.0.7-11 This tells me that the library comes from the procps RPM package. [~/lnc]amadeus*> rpm --verify procps [~/lnc]amadeus*> This checks the procps package against what is actually installed. As you can see, it made no complaints, so my system is ok in this regard. You can check your whole system this way: rpm --verify -a See "man 8 rpm" for an explaination of what the output means; it's a big manual entry, so search for "VERIFY OPTIONS". Also, expect some differences. Cheers, -- Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/ On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. - Babbage _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list