top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared objec
top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared object
Hi , I am not able to execute top and ps command. Am getting the below error. "top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared object file: No such file or directory" Please help me to solve this issue. Thanks, Ramesh |
Hi,
please post the output of Code:
ldd /usr/bin/top |
Looks like the procps package is not installed, or is corrupted. Install that using your package manager, and then try.
|
Hi,
Thanks for your prompt reply.. This is the output for two commands. ldd /usr/bin/top ll /lib/libproc* root@host1 [~]# ldd /usr/bin/top libproc.so.2.0.6 => not found libncurses.so.4 => /lib/libncurses.so.4 (0x0018c000) libc.so.6 => /lib/tls/libc.so.6 (0x0088a000) /lib/ld-linux.so.2 (0x00f6f000) root@host1 [~]# ll /lib/libproc* /bin/ls: unrecognized prefix: do /bin/ls: unparsable value for LS_COLORS environment variable -rwxr-xr-x 1 root root 47892 Jun 3 05:50 /lib/libproc-3.2.3.so* -rwxr-xr-x 1 root root 47892 Jul 29 09:19 /lib/libproc.so.2.0.6_hacked* My OS version is Red Hat Enterprise Linux ES release 4 (Nahant Update 8) Please assist me. Thnaks, Ramesh |
Quote:
Contact Redhat for assistance, since you are paying for support. |
Quote:
Hi, It is not hacked.. I just renamed that file like this.. Please assist me |
The fact that the library appears to be renamed, is very likely (related to or fully) the root of your problem. Rename the library back to what it is supposed to be named, and see if the problem goes away. If it does not, remove the procps package using your package manager, and re-install it properly. You cannot just rename system libraries willy-nilly, and not expect problems.
|
All times are GMT -5. The time now is 11:23 PM. |