1. 程式人生 > >oracle 10g rac 監聽名稱:CRS-0210: Could not find resource

oracle 10g rac 監聽名稱:CRS-0210: Could not find resource

想重啟監聽程式,結果發現無法找到

[[email protected] ~]$ srvctl stop listener -n node1
CRS-0210: Could not find resource ora.node1.LISTENER_NODE1.lsnr.

檢視監聽

[[email protected] ~]$ srvctl config nodeapps -n node1 -l
監聽程式不存在。

檢視具體節點 發現是存在的.

[[email protected] ~]$ srvctl config listener -n node1
node1 LISTENER1_NODE1

檢視CRS_STAT服務 黑體字 也是存在的,而且執行好好的

[[email protected] ~]$ crs_stat
NAME=ora.MYRAC.MYRAC1.inst
TYPE=application
TARGET=OFFLINE
STATE=OFFLINE

NAME=ora.MYRAC.MYRAC2.inst
TYPE=application
TARGET=OFFLINE
STATE=OFFLINE

NAME=ora.MYRAC.OLTP.MYRAC1.srv
TYPE=application
TARGET=ONLINE
STATE=OFFLINE

NAME=ora.MYRAC.OLTP.cs
TYPE=application
TARGET=OFFLINE
STATE=OFFLINE

NAME=ora.MYRAC.db
TYPE=application
TARGET=OFFLINE
STATE=OFFLINE

NAME=ora.node1.ASM1.asm
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node1

NAME=ora.node1.LISTENER1_NODE1.lsnr
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node1

NAME=ora.node1.gsd
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node1

NAME=ora.node1.ons
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node1

NAME=ora.node1.vip
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node1

NAME=ora.node2.ASM2.asm
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node2

NAME=ora.node2.LISTENER1_NODE2.lsnr
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node2

NAME=ora.node2.gsd
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node2

NAME=ora.node2.ons
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node2

NAME=ora.node2.vip
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node2

當唯一點就是SRVCTL的監聽名稱跟CRS_STAT 不一致.

用NETCA把監聽刪除 重新配置 使用預設的監聽名稱 LISTENER 就行了