ITPub博客

首页 > Linux操作系统 > Linux操作系统 > CRS-0215: Could not start resource 'ora.sunrac1.vip'.

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

原创 Linux操作系统 作者:xcdream6 时间:2012-09-03 16:54:36 0 删除 编辑
在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了

1.jpg

2.jpg

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

请登录后发表评论 登录
全部评论

注册时间:2012-07-10

  • 博文量
    8
  • 访问量
    22610