/opt/oracle/10g/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
在rac2(remote机器运行root.sh)是最容易出问题的,问题有:
1) /home/oracle/product/10.2.0/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
解决方法:
a.修改$CRS_HOME/bin/vipca文件
注释掉以下几行,注释后效果如下:
arch=`uname -m`
#if [ "$arch" = "i686" -o "$arch" = "ia64" ]
#then
# LD_ASSUME_KERNEL=2.4.19
# export LD_ASSUME_KERNEL
#fi
#End workaround
b.注释$CRS_HOME/bin/srvctl文件和$ORACLE_HOME/bin/srvctl文件
注释掉以下几行,注释后效果如下:
#Remove this workaround when the bug 3937317 is fixed
#LD_ASSUME_KERNEL=2.4.19
#export LD_ASSUME_KERNEL
2) The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs.
解决方法:
图形界面上运行$CRS_HOME/bin/vipca,手工重新配置rac1-vip和rac2-vip。
su - oracle
su root
vipca
3) Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
Error 0(Native: listNetInterfaces:[3])
[Error 0(Native: listNetInterfaces:[3])]
解决方法:
重新运行sh root.sh
step1: rm -rf /var/tmp/.oracle
step2: cd /etc/oracle/scls_scr/rac2/oracle/
rm -rf cssfatal
step3: re-run sh root.sh
step4: 如果还不成功的话,基本就是共享磁盘有问题。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22779291/viewspace-677925/ ,如需转载,请注明出处,否则将追究法律责任。