节点2跑root.sh报错了
Running vipca(silent) for configuring nodeapps
/u01/crs_1/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
?
解决这个问题,需要三个步骤来完成:
1、在每个节点上,修改$CRS_HOME/bin目录下的srvctl和vipca文件,在vipca文件ARGUMENTS=""行之前和srvctl文件的export LD_ASSUME_KERNEL行之后增加 unset LD_ASSUME_KERNEL 语句
2、使用$CRS_HOME/bin目录下的oifcfg工具配置pub ip和pri ip
3、在任意一个节点上,用root用户,手动运行vipca,配置完正确的prvip和vip 信息之后,crs就可以安装完成,操作过程如下:
1.1、修改vipca文件,增加标记为红色的那一行
[root@rh2 ~]# cd /u01/crs_1/ [root@rh2 crs_1]# cd bin/ [root@rh2 bin]# cp vipca vipca.bak [root@rh2 bin]# vi vipca #!/bin/sh # # $Header: vipca.sbs 10-dec-2004.15:30:55 khsingh Exp $ # # vipca # # Copyright (c) 2001, 2004, Oracle. All rights reserved. # # NAME # vipca - Node Apps and VIPs Configuration Assistant # # DESCRIPTION # Oracle Cluster Node Applications Configuration Assistant is # used to configure the Node Applications and the virtual IPs. # # MODIFIED (MM/DD/YY) # khsingh 12/10/04 - fix LINUX workaround for bug 4054430 # khsingh 11/22/04 - remove obsolete files # rxkumar 11/29/04 - fix bug4024708 # khsingh 10/07/04 - add workaround for bug (3937317) # khsingh 09/27/04 - changes for PLE (3914991) # khsingh 09/13/04 - add orahome arg back # khsingh 08/16/04 - remove orahome arg # khsingh 12/07/03 - change oembase to oemlt # khsingh 10/31/03 - fix ice browser # khsingh 10/29/03 - add jewt var # khsingh 08/08/03 - fix == # jtellez 06/10/03 - change to srvm_trace # rdasari 06/02/03 - set LD_LIBRARY_PATH appropriately for 32 and 64 bit solaris platforms # jtellez 11/15/02 - change SRVM_DEFS to SRVM_PROPERTY_DEFS # jtellez 11/04/02 - Add srvm_defs # jtellez 10/10/02 - fix srvmhas # jtellez 10/04/02 - srvmhas to jlib # jtellez 09/24/02 - add tracing # jtellez 09/09/02 - add versions to jars # rdasari 08/07/02 - use java instead of jre # jtellez 08/08/02 - enhance comment # jtellez 08/06/02 - add GUI jars # rdasari 08/01/02 - use jdk131 # jtellez 07/26/02 - add srvmhas.jar to classpath # jtellez 07/29/02 - add gui jars # jtellez 07/24/02 - jtellez_vipca # jtellez 7/24/02 - creation # #!/bin/sh # Properties to pass directly to java if [ "X$SRVM_PROPERTY_DEFS" = "X" ] then SRVM_PROPERTY_DEFS="" fi # Check for tracing if [ "X$SRVM_TRACE" != "X" ] then SRVM_PROPERTY_DEFS="$SRVM_PROPERTY_DEFS