想重啟監聽程式,結果發現無法找到
[oracle@node1 ~]$ srvctl stop listener -n node1
CRS-0210: Could not find resource ora.node1.LISTENER_NODE1.lsnr.
查看監聽
[oracle@node1 ~]$ srvctl config nodeapps -n node1 -l
監聽程式不存在。
查看具體節點 發現是存在的.
[oracle@node1 ~]$ srvctl config listener -n node1
node1 LISTENER1_NODE1
查看CRS_STAT服務 黑體字 也是存在的,而且運行好好的
[oracle@node1 ~]$ 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 就行了