5. ons.log日志
[zwq_kfdb1:/oracle10/app/product/crs/10.2.0/opmn/logs]tail -20 ons.log
instanceName: databaseInstanceName
12/02/23 13:20:17 [2] Passive connection 0,134.100.9.11,6200 invalid connect server IP format
2254702859,6201,6114,0
ONSinfo: !!2254702859!0!6201!0!6114
hostName: zwq_kfdb1
clusterId: databaseClusterId
clusterName: databaseClusterName
instanceId: databaseInstanceId
instanceName: databaseInstanceName
12/02/23 13:21:24 [2] Passive connection 0,134.100.9.11,6200 invalid connect server IP format
2254702861,6200,6113,0
ONSinfo: !!2254702861!0!6200!0!6113
hostName: zwq_kfdb2
clusterId: databaseClusterId
clusterName: databaseClusterName
instanceId: databaseInstanceId
instanceName: databaseInstanceName
6. ora.zwq_kfdb1.ons.log文件
[zwq_kfdb1:/oracle10/app/product/crs/10.2.0/log/zwq_kfdb1/racg]ls -l
total 200
-rw-r--r-- 1 oracle10 oinstall 0 Apr 30 2011 evtf.log
-rw-r--r-- 1 oracle10 oinstall 4169 Apr 29 2011 ora.ahsheet.db.log
-rwxrwxr-x 1 oracle10 oinstall 564 Jan 16 2011 ora.ahunicom.db.log
-rwxrwxr-x 1 oracle10 dba 40887 Apr 29 2011 ora.zwq_kfdb1.gsd.log
-rwxrwxr-x 1 oracle10 dba 20480 Apr 30 2011 ora.zwq_kfdb1.ons.log
-rwxrwxr-x 1 root system 16384 Apr 30 2011 ora.zwq_kfdb1.vip.log
-rwxrwxr-x 1 root system 9966 Jan 16 2011 ora.zwq_kfdb2.vip.log
drwxrwxr-x 2 oracle10 dba 256 Jan 15 2011 racgeut
drwxrwxr-x 2 oracle10 dba 256 Jan 15 2011 racgevtf
drwxrwxr-x 2 oracle10 dba 256 Jan 15 2011 racgmain
[zwq_kfdb1:/oracle10/app/product/crs/10.2.0/log/zwq_kfdb1/racg]tail -20 ora.zwq_kfdb1.ons.log
2011-04-21 04:00:56.731: [ RACG][1] [5243026][1][ora.zwq_kfdb1.ons]: Number of onsconfiguration retrieved, numcfg = 2
onscfg[0]
{node = zwq_kfdb1, port = 6200}
Adding remote host zwq_kfdb1:6200
onscfg[1]
{node = zwq_kfdb2, port = 6200}
Adding remote host zwq_kfdb2:6200
2011-04-21 04:00:56.735: [ RACG][1] [5243026][1][ora.zwq_kfdb1.ons]: Number of onsconfiguration retrieved, numcfg = 2
onscfg[0]
{node = zwq_kfdb1, port = 6200}
Adding remote host zwq_kfdb1:6200
onscfg[1]
{node = zwq_kfdb2, port = 6200}
Adding remote host zwq_kfdb2:6200
onsctl: ons started
2011-04-30 18:23:57.514: [ CSSCLNT][1]clsssInitNative: connect failed, rc 2
我今天早上让客户执行了onsctl start和onsctl ping,但是都没有看到相关记录,我自己没有权限执行,如同上面提示Permission denied
节点2上相关情况
进程状态
[zwq_kfdb2:/proc]ps -ef|grep "ons -d"
oracle10 7667896 3342636 0 Apr 29 - 6:55 /oracle10/app/product/crs/10.2.0/opmn/bin/ons -d
oracle10 3342636 1 0 Apr 29 - 0:00 /oracle10/app/product/crs/10.2.0/opmn/bin/ons –d
端口和节点1一样,也是ons占用6200
端口配置也和节点1相同
onsctl ping
[zwq_kfdb2:/proc]onsctl ping
Number of onsconfiguration retrieved, numcfg = 2
onscfg[0]
{node = zwq_kfdb1, port = 6200}
Adding remote host zwq_kfdb1:6200
onscfg[1]
{node = zwq_kfdb2, port = 6200}
Adding remote host zwq_kfdb2:6200
/oracle10/app/product/db/10.2.0/opmn/logs/ons.log.zwq_kfdb2: Permission denied
ons is not running ...
ora.zwq_kfdb2.ons.log
[zwq_kfdb2:/oracle10/app/product/crs/10.2.0/log/zwq_kfdb2/racg]tail -20 ora.zwq_kfdb2.ons.log
Adding remote host zwq_kfdb2:6200
onsctl: ons started
2011-04-29 12:06:45.581: [ RACG][1] [7405762][1][ora.zwq_kfdb2.ons]: Number of onsconfiguration retrieved, numcfg = 2
onscfg[0]
{node = zwq_kfdb1, port = 6200}
Adding remote host zwq_kfdb1:6200
onscfg[1]
{node = zwq_kfdb2, port = 6200}
Adding remote host zwq_kfdb2:6200
2011-04-29 12:06:45.586: [ RACG][1] [7405762][1][ora.zwq_kfdb2.ons]: Number of onsconfiguration retrieved, numcfg = 2
onscfg[0]
{node = zwq_kfdb1, port = 6200}
Adding remote host zwq_kfdb1:6200
onscfg[1]
{node = zwq_kfdb2, port = 6200}
Adding remote host zwq_kfdb2:6200
onsctl: ons started
[zwq_kfdb2:/oracle10/app/product/crs/10.2.0/opmn/logs]tail -20 ons.log
instanceName: databaseInstanceName
12/02/23 13:29:45 [2] Passive connection 0,134.100.9.13,6200 invalid connect server IP format
2254702859,6200,6113,0
ONSinfo: !!2254702859!0!6200!0!6113
hostName: zwq_kfdb1
clusterId: databaseClusterId
clusterName: databaseClusterName
instanceId: databaseInstanceId
instanceName: databaseInstanceName
12/02/23 13:30:12 [2] Passive connection 0,134.100.9.13,6200 invalid connect server IP format
2254702859,6201,6114,0
ONSinfo: !!2254702859!0!6201!0!6114
hostName: zwq_kfdb1
clusterId: databaseClusterId
clusterName: databaseClusterName
instanceId: databaseInstanceId
instanceName: databaseInstanceName
我知道ons资源不太重要,但是我想知道为什么我不能让ons资源online,请ml帮忙诊断下。 |