>  기사  >  데이터 베이스  >  解决Oracle 10201 RAC安装中libpthread.so.0问题

解决Oracle 10201 RAC安装中libpthread.so.0问题

WBOY
WBOY원래의
2016-06-07 17:33:261579검색

解决Oracle 10gRAC安装中libpthread.so.0问题

解决Oracle 10gRAC安装中libpthread.so.0问题

一。问题

10.2.0.1的CRS在linux5上在以下情况下会遇到同样的问题:
1.root时
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
/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
上面是调用了vipca,root时有时调用到srvctl时,也会报同样的错
2.单独运行 srvctl 时:
o10n2->srvctl stop nodeapps -n o10n2
/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


二。解决过程:

1.经查看该包已经安装

o10n2->ldd /oracle/product/10.2.0/crs/jdk/jre/bin/java
linux-gate.so.1 => (0xf77a2000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4a087000)
libdl.so.2 => /lib/libdl.so.2 (0x4a0a2000)
libc.so.6 => /lib/libc.so.6 (0x49f2c000)
/lib/ld-linux.so.2 (0x49f0d000)
2.再尝试安装相关的rpm包
[root@o10n2 media]# yum install glibc-2.5-58.i686
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
cdrom | 1.1 kB 00:00
Setting up Install Process
Package glibc-2.5-58.i686 already installed and latest version
也提示已经安装


3.情况是找不到这个路径
[root@o10n2 bin]# vi /etc/ld.so.conf
增加:
/lib
/usr/local/lib
[root@o10n2 bin]# /sbin/ldconfig -v

问题依旧没解决

三。解决办法

经过网上查找,,发现只需要在srvctl 和vipca文件

LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
后添加下面一行即可
unset LD_ASSUME_KERNEL

经过以上调整,问题解决。

linux

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.