RAC 10Gr2 for RHEL5 BUG.

本文解决Oracle Clusterware VIPCA配置过程中出现的libpthread.so.0文件缺失问题。通过编辑vipca和srvctl脚本,取消设置LD_ASSUME_KERNEL变量,确保Oracle CRS在Red Hat Enterprise Linux 5环境下正常运行。

执行root.sh.

最后会出现一个这样的错误。

OracleCRSstackinstalledandrunningunderinit(1M)
Runningvipca(silent)forconfiguringnodeapps
/home/oracle/crs/oracle/product/10/crs/jdk/jre//bin/java: errorwhileloading
sharedlibraries:libpthread.so.0: cannotopensharedobjectfile:
Nosuchfileordirectory

REF:

10gR2 RAC Install issues on Oracle EL5 or RHEL5 or SLES10 (VIPCA / SRVCTL / OUI Failures) [ID 414163.1]

To workaround Issue above, edit vipca (inthe CRS bin directory on all nodes) to undo the setting of LD_ASSUME_KERNEL. After the IF statement around line 120 add an unset command to ensure LD_ASSUME_KERNEL is not set as follows:

if["$arch"="i686"-o"$arch"="ia64"-o"$arch"="x86_64"]
then
LD_ASSUME_KERNEL=2.4.19
exportLD_ASSUME_KERNEL
fi

unsetLD_ASSUME_KERNEL<<<==Linetobeadded

Similarly for srvctl (in both the CRS and, when installed, RDBMS and ASM bin directories on all nodes), unset LD_ASSUME_KERNEL by adding one line, around line 168 should look like this:

LD_ASSUME_KERNEL=2.4.19
exportLD_ASSUME_KERNEL

unsetLD_ASSUME_KERNEL<<<==Linetobeadded

Remember to re-edit these files on all nodes:
<CRS_HOME>/bin/vipca
<CRS_HOME>/bin/srvctl
<RDBMS_HOME>/bin/srvctl
<ASM_HOME>/bin/srvctl
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值