[root@rac02 raw]# sh /u01/app/oracle/root.sh
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
assigning default hostname rac01 for node 1.
assigning default hostname rac02 for node 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node :
node 1: rac01 pri01 rac01
node 2: rac02 pri02 rac02
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 90 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
rac01
rac02
CSS is active on all nodes.
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
The given interface(s), "eth0" is not public. Public interfaces should be used to configure
virtual IPs.
[root@rac02 raw]#
---------------------------------------------------------------------------------------
运行vipca 安装到45% 左右, 报错 crs-1006 , crs-0215 .
查看 /u01/app/oracle/log/rac01/racg/ora.rac01.vip.log :
2011-10-26 10:32:16.341: [ RACG][3086948576] [16131][3086948576][ora.rac01.vip]: checkIf: Default gateway is not defined (host=rac01)
Interface eth0 checked failed (host=rac01)
checkIf: Default gateway is not defined (host=rac01)
Interface eth1 checked failed (host=rac01)
Invalid parameters, or failed to bring up VIP (host=rac01)
2011-10-26 10:32:16.444: [ RACG][3086948576] [16131][3086948576][ora.rac01.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/app/oracle
2011-10-26 10:32:16.444: [ RACG][3086948576] [16131][3086948576][ora.rac01.vip]: clsrcexecut: cmd = /u01/app/oracle/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/app/oracle/bin/racgvip start rac01
提示没有设置gateway, 赶紧到 ifcfg-eth0里面加入 GATEWAY = 。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-709685/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-709685/