The listener supports no services

时间:2022-10-25 17:30:32

问题描述

sql> lsnrctl start

  • 提示:
  • The listener supports no services
  • The command completed successfully
  • 这样启动后远程连接会造成
  • oracle ORA-12514:TNS:listener does not currently know of service requested in connect descriptor
  • 在网上查了一下说有可能是动态注册的问题,我先启的服务然后在起的监听。后来改成先监听后服务效果一样
  • lsnrctl status 查询状态一样是找不到服务.

问题解决

在listener.ora里面添加了一行

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = globe)
(SID_NAME = globe)
)
)

重启监听 成功