[oracle@orarac1 ~]$ srvctl status database -d orcl
/ora/app/oracle/product/10.2/db_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
[oracle@orarac1 ~]$
看到这个错误,想起当初完10.2.0.1的时也发生过此错误。就是一时想不起当时怎么处理的。现在是升级到0.3的rac系统。
找出升级前的资料,用备份资料中的srvctl脚本执行
/bak/oracle/app/crs/bin/srvctl status database -d orcl
呵呵,没有报错。检查了了n久的脚本,才找出不同来(呵呵,不够细心)
#Remove this workaround when the bug 3937317 is fixed
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
只要注释掉这两行就ok了
另外在安装rac时vipca脚本也是类似错误
/app/oracle/product/10.2.0/crs/bin/crsctl.bin: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
这个问题是新版的glibc和的有不兼容的地方。按照官方文档要在运行root.sh之前修改vipca脚本。这样就可以安装了。即将该脚本中arch=‘’uname -m‘以下4行注释掉
arch=`uname -m`
#if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
#then
# LD_ASSUME_KERNEL=2.4.19
# export LD_ASSUME_KERNEL
#fi
#End workaround
这样就不会出现错误了。
阅读(1192) | 评论(0) | 转发(0) |