VIPCA的时候,ons出现问题。
racle Database 10g CRS Release 10.2.0.4.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
这里是移除了/etc/hosts里面的127.0.0.1 localhost.localdomain localhost导致,ons需要ping localhost所以这里ping不到导致错误。
解决方法,加上127.0.0.1 localhost.localdomain localhost
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22123669/viewspace-674631/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22123669/viewspace-674631/