vipca遇到CRS-0215,Could not start ons

Oracle 10.2.0.4 ,  64bit,  Linux AS 5.3 , 2 nodes .

当我们在安装Clusterware 的时候, 需要在第二节点上vipca ,  配置到最后安装的时候, 安装到 75% 左右,报错:

CRS-0215 : Could not start resource 'ora.mxb2bcoredb01.ons'.

Check the log file "/u01/product/crs/log/mxb2bcoredb01/racg/ora.mxb2bcoredb01.ons.log"  and fix the problem before retrying.

查询发现 :  /etc/hosts  中  127.0.0.1     localhost.localdomain    localhost    写成了

127.0.0.0     localhost.localdomain    localhost    ,  后来改过来,  retrying , 结果还是报错 (改动后不重新启动不生效?), 只有忽略掉,后来clusterware 安装完成后, 节点1 的ons 为offline,     确认已经修改两台机器的   /etc/hosts  中的那一行后 , 重新启动两台机器,  发现 OK .   后面重新启动多次server ,  查看crs log 都发现正常,所有crs 服务都能正常online .   

这种情况会不会有隐患 ? 个人觉得, 它所有的服务安装应该是没有问题, 只是再打开ons 服务的时候, 由于某些配置或网络上的问题,没有正常打开, 只要以后修复就OK , 对它的安装应该是没有影响 , 不知道这样理解对不对  ?  




查询的文件  /u01/product/crs/log/mxb2bcoredb01/racg/ora.mxb2bcoredb01.ons.log 内容是 :   




Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
2010-02-24 16:45:09.610: [    RACG][3577232672] [17799][3577232672][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 0
Number of onsconfiguration retrieved, numcfg = 0
onsctl: ons failed to start

2010-02-24 16:45:09.610: [    RACG][3577232672] [17799][3577232672][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 16:45:09.610: [    RACG][3577232672] [17799][3577232672][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl start

2010-02-24 16:45:09.610: [    RACG][3577232672] [17799][3577232672][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 1, time = 7.280s

2010-02-24 16:45:09.813: [    RACG][3577232672] [17799][3577232672][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 0
ons is not running ...

2010-02-24 16:45:09.813: [    RACG][3577232672] [17799][3577232672][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 16:45:09.813: [    RACG][3577232672] [17799][3577232672][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl ping

2010-02-24 16:45:09.813: [    RACG][3577232672] [17799][3577232672][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 1, time = 0.200s

2010-02-24 16:45:09.813: [    RACG][3577232672] [17799][3577232672][ora.mxb2bcoredb01.ons]: end for resource = ora.mxb2bcoredb01.ons, action = start, status = 1, time = 7.500s

2010-02-24 16:45:16.031: [    RACG][1078521120] [17997][1078521120][ora.mxb2bcoredb01.ons]: onsctl: shutting down ons daemon ...
CONNECT: Network is unreachable
Number of onsconfiguration retrieved, numcfg = 0
onsctl: shutdown of ons failed!

2010-02-24 16:45:16.031: [    RACG][1078521120] [17997][1078521120][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 16:45:16.031: [    RACG][1078521120] [17997][1078521120][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl stop

2010-02-24 16:45:16.031: [    RACG][1078521120] [17997][1078521120][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 2, time = 6.160s

2010-02-24 16:53:16.370: [    RACG][2952391968] [29990][2952391968][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 0
Number of onsconfiguration retrieved, numcfg = 0
onsctl: ons failed to start

2010-02-24 16:45:16.031: [    RACG][1078521120] [17997][1078521120][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 16:45:16.031: [    RACG][1078521120] [17997][1078521120][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl stop

2010-02-24 16:45:16.031: [    RACG][1078521120] [17997][1078521120][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 2, time = 6.160s

2010-02-24 16:53:16.370: [    RACG][2952391968] [29990][2952391968][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 0
Number of onsconfiguration retrieved, numcfg = 0
onsctl: ons failed to start

2010-02-24 16:53:16.370: [    RACG][2952391968] [29990][2952391968][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 16:53:16.370: [    RACG][2952391968] [29990][2952391968][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl start

2010-02-24 16:53:16.370: [    RACG][2952391968] [29990][2952391968][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 1, time = 7.170s

2010-02-24 16:53:16.574: [    RACG][2952391968] [29990][2952391968][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 0
ons is not running ...

2010-02-24 16:53:16.574: [    RACG][2952391968] [29990][2952391968][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 16:53:16.574: [    RACG][2952391968] [29990][2952391968][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl ping

2010-02-24 16:53:16.574: [    RACG][2952391968] [29990][2952391968][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 1, time = 0.210s

2010-02-24 16:53:16.574: [    RACG][2952391968] [29990][2952391968][ora.mxb2bcoredb01.ons]: end for resource = ora.mxb2bcoredb01.ons, action = start, status = 1, time = 7.400s

2010-02-24 16:53:22.782: [    RACG][502730016] [30212][502730016][ora.mxb2bcoredb01.ons]: onsctl: shutting down ons daemon ...
CONNECT: Network is unreachable
Number of onsconfiguration retrieved, numcfg = 0
onsctl: shutdown of ons failed!

2010-02-24 16:53:22.783: [    RACG][502730016] [30212][502730016][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 16:53:22.783: [    RACG][502730016] [30212][502730016][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl stop

2010-02-24 16:53:22.783: [    RACG][502730016] [30212][502730016][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 2, time = 6.170s

2010-02-24 17:12:46.040: [    RACG][3309538592] [27199][3309538592][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 0
Number of onsconfiguration retrieved, numcfg = 0
onsctl: ons failed to start

2010-02-24 17:12:46.040: [    RACG][3309538592] [27199][3309538592][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 17:12:46.040: [    RACG][3309538592] [27199][3309538592][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl start

2010-02-24 17:12:46.040: [    RACG][3309538592] [27199][3309538592][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 1, time = 7.170s

2010-02-24 17:12:46.040: [    RACG][3309538592] [27199][3309538592][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 1, time = 7.170s

2010-02-24 17:12:46.243: [    RACG][3309538592] [27199][3309538592][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 0
ons is not running ...

2010-02-24 17:12:46.244: [    RACG][3309538592] [27199][3309538592][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 17:12:46.244: [    RACG][3309538592] [27199][3309538592][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl ping

2010-02-24 17:12:46.244: [    RACG][3309538592] [27199][3309538592][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 1, time = 0.210s

2010-02-24 17:12:46.244: [    RACG][3309538592] [27199][3309538592][ora.mxb2bcoredb01.ons]: end for resource = ora.mxb2bcoredb01.ons, action = start, status = 1, time = 7.410s

2010-02-24 17:12:52.462: [    RACG][2027404576] [27400][2027404576][ora.mxb2bcoredb01.ons]: onsctl: shutting down ons daemon ...
CONNECT: Connection refused
Number of onsconfiguration retrieved, numcfg = 0
onsctl: shutdown of ons failed!

2010-02-24 17:12:52.463: [    RACG][2027404576] [27400][2027404576][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 17:12:52.463: [    RACG][2027404576] [27400][2027404576][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl stop

2010-02-24 17:12:52.463: [    RACG][2027404576] [27400][2027404576][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 2, time = 6.160s

2010-02-24 17:17:14.460: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 0
Number of onsconfiguration retrieved, numcfg = 0
onsctl: ons failed to start

2010-02-24 17:17:14.460: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 17:17:14.460: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl start

2010-02-24 17:17:14.460: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 1, time = 7.170s

2010-02-24 17:17:14.664: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 0
ons is not running ...

2010-02-24 17:17:14.664: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 17:17:14.664: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl ping

2010-02-24 17:17:14.664: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 1, time = 0.200s

2010-02-24 17:17:14.664: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: end for resource = ora.mxb2bcoredb01.ons, action = start, status = 1, time = 7.390s

2010-02-24 17:17:20.885: [    RACG][3199245600] [1918][3199245600][ora.mxb2bcoredb01.ons]: onsctl: shutting down ons daemon ...
CONNECT: Connection refused
Number of onsconfiguration retrieved, numcfg = 0
onsctl: shutdown of ons failed!

2010-02-24 17:17:14.664: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 0
ons is not running ...

2010-02-24 17:17:14.664: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 17:17:14.664: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl ping

2010-02-24 17:17:14.664: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 1, time = 0.200s

2010-02-24 17:17:14.664: [    RACG][2132860192] [1704][2132860192][ora.mxb2bcoredb01.ons]: end for resource = ora.mxb2bcoredb01.ons, action = start, status = 1, time = 7.390s

2010-02-24 17:17:20.885: [    RACG][3199245600] [1918][3199245600][ora.mxb2bcoredb01.ons]: onsctl: shutting down ons daemon ...
CONNECT: Connection refused
Number of onsconfiguration retrieved, numcfg = 0
onsctl: shutdown of ons failed!

2010-02-24 17:17:20.885: [    RACG][3199245600] [1918][3199245600][ora.mxb2bcoredb01.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/product/crs

2010-02-24 17:17:20.885: [    RACG][3199245600] [1918][3199245600][ora.mxb2bcoredb01.ons]: clsrcexecut: cmd = /u01/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 540 /u01/product/crs/bin/onsctl stop

2010-02-24 17:17:20.885: [    RACG][3199245600] [1918][3199245600][ora.mxb2bcoredb01.ons]: clsrcexecut: rc = 2, time = 6.170s

2010-02-24 17:36:01.829: [    RACG][2271116576] [8942][2271116576][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 2
onscfg[0]
   {node = mxb2bcoredb01, port = 6200}
Adding remote host mxb2bcoredb01:6200
onscfg[1]
   {node = mxb2bcoredb02, port = 6200}
Adding remote host mxb2bcoredb02:6200
Number of onsconfiguration retri
2010-02-24 17:36:01.835: [    RACG][2271116576] [8942][2271116576][ora.mxb2bcoredb01.ons]: eved, numcfg = 2
onscfg[0]
   {node = mxb2bcoredb01, port = 6200}
Adding remote host mxb2bcoredb01:6200
onscfg[1]
   {node = mxb2bcoredb02, port = 6200}
Adding remote host mxb2bcoredb02:6200
onsctl: ons started

2010-02-24 17:50:35.044: [    RACG][2238524704] [8883][2238524704][ora.mxb2bcoredb01.ons]: Number of onsconfiguration retrieved, numcfg = 2
onscfg[0]
   {node = mxb2bcoredb01, port = 6200}
Adding remote host mxb2bcoredb01:6200
onscfg[1]
   {node = mxb2bcoredb02, port = 6200}
Adding remote host mxb2bcoredb02:6200
Number of onsconfiguration retri
2010-02-24 17:50:35.050: [    RACG][2238524704] [8883][2238524704][ora.mxb2bcoredb01.ons]: eved, numcfg = 2
onscfg[0]
   {node = mxb2bcoredb01, port = 6200}
Adding remote host mxb2bcoredb01:6200
onscfg[1]
   {node = mxb2bcoredb02, port = 6200}
Adding remote host mxb2bcoredb02:6200
onsctl: ons started
                                                                        


vipca遇到CRS-0215,Could not start ons
vipca_crs-0215.JPG

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

转载于:http://blog.itpub.net/35489/viewspace-627792/