当前位置:操作系统 > Unix/Linux >>

rac10201 for RHEL5 (error while loading shared libraries: libpthread.so.0)解决

rac10201 for RHEL5 (error while loading shared libraries: libpthread.so.0)解决
 
[root@raw01 bin]# ./vipca
/u01/app/oracle/oracle/product/11.2.0/dbhome_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
今天又趟到一个地雷,在10201rac 安装在RHEL5系列中,会有一个固有问题,问题如上。
解决方法
修改vipca文件(需要在两个节点上操作)
[root@rac02 opt]# vi /opt/ora10g/product/10.2.0/crs_1/bin/vipca
找到如下内容:
       Remove this workaround when the bug 3937317 is fixed
       arch=`uname -m`
       if [ "$arch" = "i686" -o "$arch" = "ia64" ]
       then
            LD_ASSUME_KERNEL=2.4.19
            export LD_ASSUME_KERNEL
       fi
       #End workaround
在fi后新添加一行:
unset LD_ASSUME_KERNEL
 
以及srvctl文件 (需要在两个节点上操作)
[root@rac02 opt]# vi /opt/ora10g/product/10.2.0/crs_1/bin/srvctl
找到如下内容:
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
同样在其后新增加一行:
unset LD_ASSUME_KERNEL
 
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,