Can not connect ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

戏子无情 提交于 2019-12-06 23:14:28

Your database hasn't been registered with the listener. lsnrctl status returned "The listener supports no services" and your listener.ora file doesn't have a SID_LIST.

Connect to your database instance as a SYSDBA and run:

 ALTER SYSTEM SET LOCAL_LISTENER='';

If that doesn't resolve your problem then you mostly likely have several listeners and you'll need to follow the registration process for the listener that you want.

All of this complexity is to allow an operating system to run multiple listeners, which can be useful.

Do note that depending on how you started your instance, you may need to specify SCOPE on the ALTER SYSTEM command or your configuration will disappear on restart of the instance.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!