执行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
<CRS_HOME>/bin/vipca
<CRS_HOME>/bin/srvctl
<RDBMS_HOME>/bin/srvctl
<ASM_HOME>/bin/srvctl
本文解决Oracle Clusterware VIPCA配置过程中出现的libpthread.so.0文件缺失问题。通过编辑vipca和srvctl脚本,取消设置LD_ASSUME_KERNEL变量,确保Oracle CRS在Red Hat Enterprise Linux 5环境下正常运行。
146

被折叠的 条评论
为什么被折叠?



