vipca 遭遇 crs-1006 , crs-0215

tolywang發表於2011-10-26


[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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章