欢迎投稿

今日深度:

数据库报ORA-12514,12514报错

数据库报ORA-12514,12514报错


Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor.

原因:监听器配置问题,具体没搞懂,猜测是SID链接不匹配,监听器无法监听到orcl。

修改oracle安装目录下D:\app\xuannan\product\11.2.0\dbhome_1\network\admin\listener.ora文件

# listener.ora Network Configuration File: D:\app\xuannan\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\xuannan\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\xuannan\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = D:\app\xuannan\product\11.2.0\dbhome_1)
(SID_NAME = orcl)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)

ADR_BASE_LISTENER = D:\app\xuannan

加上这一段就好了

www.htsjk.Com true http://www.htsjk.com/oracle/38600.html NewsArticle 数据库报ORA-12514,12514报错 Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor. 原因:监听器配置问题,具体没搞懂,猜测...
相关文章
    暂无相关文章
评论暂时关闭