error while loading shared
libraries: libpthread.so.0: cannot open shared object file
And the third and latest issue we got today with RAC installation
was the following error while running rootdelete.sh which is used to
disable clusterware applications:
[root@node1 install]# srvctl
/u01/oracle/product/10.2.0/crs_1/jdk/jre/bin/java: error while
loading shared libraries: libpthread.so.0: cannot open shared object
file: No such file or directory
[root@node1 install]#
./rootdelete.sh
/u01/oracle/product/10.2.0/crs_1/jdk/jre/bin/java: error while
loading shared libraries: libpthread.so.0: cannot open shared object
file: No such file or directory
Then we got the same error while using srvctl utility to manage
configuration information. After a little investigation, we’ve found
that we need to edit two executables 1. srvctl and vipca (as it’s
called when running rootdelete.sh) and comment the line where
LD_ASSUME_KERNEL parameter is set
then
LD_ASSUME_KERNEL=2.4.19
# export LD_ASSUME_KERNEL
After commenting the line, we were able to bypass the above
mentioned error.
You can refer the following metalink note for more
information:
">Executing Applypreferences.sh Fails With
“Error while loading shared libraries: libpthread.so.0: cannot open
shared object file: No such file or directory” [ID 729952.1]
[root@node1 install]# ./rootdelete.sh
Shutting down Oracle Cluster Ready Services (CRS):
Stopping
resources.
Error while stopping resources. Possible cause: CRSD
is down.
Stopping CSSD.
Unable to communicate with the CSS
daemon.
Shutdown has begun. The daemons should exit soon.
Checking to see if Oracle CRS stack is down...
Oracle CRS stack
is not running.
Oracle CRS stack is down now.
Removing
script for Oracle Cluster Ready services
Updating ocr file for
downgrade
Cleaning up SCR settings in '/etc/oracle/scls_scr'
[root@node1 install]#