oracle 10g rac 监听名称:CRS-0210: Could not find resource

想重启监听程序,结果发现无法找到

[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 就行了

你可能感兴趣的:(oracle)