RAC 10Gr2 for RHEL5 BUG.

执行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

你可能感兴趣的:(RHEL)