CRS-0215: Could not start resource 'ora.sunrac1.vip'.

在Sun Fire v240上,OS 5.10上安装RAC的时候,在第二个节点执行脚本的时候,两个节点VIP服务起不来

# /db/oracle/product/10.2.0/crs/root.sh

WARNING: directory '/db/oracle/product/10.2.0' is not owned by root

WARNING: directory '/db/oracle/product' is not owned by root

WARNING: directory '/db/oracle' is not owned by root

WARNING: directory '/db' is not owned by root

Checking to see if Oracle CRS stack is already configured

 

Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgraded successfully

WARNING: directory '/db/oracle/product/10.2.0' is not owned by root

WARNING: directory '/db/oracle/product' is not owned by root

WARNING: directory '/db/oracle' is not owned by root

WARNING: directory '/db' is not owned by root

clscfg: EXISTING configuration version 3 detected.

clscfg: version 3 is 10G Release 2.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node :

node 1: sunrac1 sunrac1-priv sunrac1

node 2: sunrac2 sunrac2-priv sunrac2

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 30 seconds.

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

        sunrac1

        sunrac2

CSS is active on all nodes.

Waiting for the Oracle CRSD and EVMD to start

Oracle CRS stack installed and running under init(1M)

Running vipca(silent) for configuring nodeapps

 

Creating VIP application resource on (2) nodes...

Creating GSD application resource on (2) nodes...

Creating ONS application resource on (2) nodes...

Starting VIP application resource on (2) nodes1:CRS-1006: No more members to consider

CRS-0215: Could not start resource 'ora.sunrac1.vip'.

Check the log file "/db/oracle/product/10.2.0/crs/log/sunrac1/racg/ora.sunrac1.vip.log" for more details

.1:CRS-1006: No more members to consider

CRS-0215: Could not start resource 'ora.sunrac2.vip'.

Check the log file "/db/oracle/product/10.2.0/crs/log/sunrac2/racg/ora.sunrac2.vip.log" for more details

..

Starting GSD application resource on (2) nodes...

Starting ONS application resource on (2) nodes...

 

 

Done.

#
 
 
 

查看错误日志/db/oracle/product/10.2.0/crs/log/sunrac1/racg/ora.sunrac1.vip.log发现没有配置网关

 

$ cat ora.sunrac1.vip.log

Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.

2012-08-23 16:21:17.437: [    RACG][1] [3774][1][ora.sunrac1.vip]: checkIf: Default gateway is not defined (host=sunrac2)

Interface bge0 checked failed (host=sunrac2)

Failed to start VIP 143.168.5.201 (host=sunrac2)

 

2012-08-23 16:21:17.437: [    RACG][1] [3774][1][ora.sunrac1.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/db/oracle/product/10.2.0/crs

 

2012-08-23 16:21:17.437: [    RACG][1] [3774][1][ora.sunrac1.vip]: clsrcexecut: cmd = /db/oracle/product/10.2.0/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /db/oracle/product/10.2.0/crs/bin/racgvip start sunrac1

 

2012-08-23 16:21:17.437: [    RACG][1] [3774][1][ora.sunrac1.vip]: clsrcexecut: rc = 1, time = 3.318s

 

2012-08-23 16:21:20.856: [    RACG][1] [3774][1][ora.sunrac1.vip]: checkIf: Default gateway is not defined (host=sunrac2)

Interface bge0 checked failed (host=sunrac2)

Failed to start VIP 143.168.5.201 (host=sunrac2)

 

2012-08-23 16:21:20.857: [    RACG][1] [3774][1][ora.sunrac1.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/db/oracle/product/10.2.0/crs

 

2012-08-23 16:21:20.857: [    RACG][1] [3774][1][ora.sunrac1.vip]: clsrcexecut: cmd = /db/oracle/product/10.2.0/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /db/oracle/product/10.2.0/crs/bin/racgvip check sunrac1

 

2012-08-23 16:21:20.857: [    RACG][1] [3774][1][ora.sunrac1.vip]: clsrcexecut: rc = 1, time = 3.419s

 

2012-08-23 16:21:20.857: [    RACG][1] [3774][1][ora.sunrac1.vip]: end for resource = ora.sunrac1.vip, action = start, status = 1, time = 6.805s

 

 

在两个节点用root用户添加临时网关

#route add default 143.168.5.1

然后再编辑/etc/defaultrouter文件

添加网关

143.168.5.1

在一个节点用root用户重新配置VIP,执行脚本VIPCA

#/db/oracle/product/10.2.0/crs/bin/vipca

 

虚拟IP配置如下图

 

配置完成之后就OK了

fj.png1.jpg

fj.png2.jpg

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27146953/viewspace-742583/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/27146953/viewspace-742583/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值