Oracle 10gR2 RAC Installation Error: error while loading shared libraries -libpthread.so.0
1) VIPCA Configuration
Error 1: error while loading shared libraries -libpthread.so.0
While installing Oracle 10gR2 RAC (Cluster) on Redhat Enterprise Linux 5 or CentOS 5 you will get following error when you execute root.sh (After Cluster Installation) on last node. This Error is thrown when root.sh execute VIPCA which Virtual IP configuration Tool.
/u01/app/oracle/product/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
[root@rac2 crs]#
To fix this issue edit /u01/app/oracle/product/10.2.0/clust/bin/vipca and add following (Green colored or on line number 124):
then
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
fi
unset LD_ASSUME_KERNEL
Error 2: Error 0(Native: listNetInterfaces:[3])
Once above changes made and when you run /u01/app/oracle/product/10.2.0/clust/bin/vipca you will get following Error
Error 0(Native: listNetInterfaces:[3])
[Error 0(Native: listNetInterfaces:[3])]
Now you will have to configure Virtual IP’s Manually. You can configure it using following commands
/u01/app/oracle/product/10.2.0/clust/bin
[root@rac2 bin]# ./oifcfg setif -global eth0/115.124.120.0:public
[root@rac2 bin]# ./oifcfg setif -global eth1/10.10.10.1:cluster_interconnect
[root@rac2 bin]# ./oifcfg getif
eth0 115.124.120.0 global public
eth1 10.10.10.0 global cluster_interconnect
[root@rac2 bin]#
Now Run VIPCA
2) Srvctl Error:
While checking status of RAC using command srvctl you will again get the following error:
/u01/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
To fix this bug edit following files
/u01/app/oracle/product/10.2.0/db_1/bin/srvctl
and add following (Green colored):
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
unset LD_ASSUME_KERNEL
Now Execute srvctl commands to check the current configuration and status of the RAC database
rac1 RAC1 /u01/app/oracle/product/10.2.0/db_1
rac2 RAC2 /u01/app/oracle/product/10.2.0/db_1
Nice sharing, I am going to try, amzing sys