vipca遇到CRS-0215,Could not start ons

tolywang發表於2010-02-25
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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章