[root@inthrac01 ~]# /u01/app/oracle/product/10.2.0/crs_1/install/rootaddnode.sh
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Attempting to add 1 new nodes to the configuration
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node
:
node 2: inthrac02 inthrac-pri02 inthrac02
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
/u01/app/oracle/product/10.2.0/crs_1/jdk/jre/bin/java: error while
loading shared libraries: libpthread.so.0: cannot open shared object
file: No such file or directory
awk: (FILENAME=- FNR=1) fatal: attempt to access field -1
/u01/app/oracle/product/10.2.0/crs_1/bin/srvctl add nodeapps -n
inthrac02 -A inthrac-vip02// -o /u01/app/oracle/product/10.2.0/crs_1
/u01/app/oracle/product/10.2.0/crs_1/jdk/jre/bin/java: error while
loading shared libraries: libpthread.so.0: cannot open shared object
file: No such file or directory
Caught cluster exception oracle.ops.mgmt.cluster.ClusterException:
PRKC-1044 : Failed to check remote command execution setup for node
inthrac02 using shells /usr/bin/ssh and /usr/bin/rsh
这个错误是不是似曾相识呀。
是呀,这个就是我们最开始执行vipca时看到的错误,不过是现在的文件时srvctl叻,
解决方法一样,找到srvctl文件的LD_ASSUM_KERNEL
#Remove this workaround when the bug 3937317 is fixed
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
在后面加上
unset LD_ASSUME_KERNEL
至此,CRS的安装才是完全成功了。可以开始下面的DBCA叻。