listener.ora

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了listener.ora相关的知识,希望对你有一定的参考价值。

ORACLE_HOME/network/admin/

Status : Failure -Test failed: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor


SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
(PROGRAM = extproc)
)

    (SID_DESC =
      (GLOBAL_DBNAME = XE)
      (ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
      (SID_NAME = XE)
    )

)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
)
)

DEFAULT_SERVICE_LISTENER = (XE)

以上是关于listener.ora的主要内容,如果未能解决你的问题,请参考以下文章

Oracel数据库 listener.ora和tnsnames.ora配置

怎么查看和配置oracle中listener.ora

oracle listener.ora文件配置

ORA-12541:TNS:no listener

listener.ora

oracle安装后listener.ora文件