配置oracle监听文件

Posted

tags:

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

配置oracle监听文件
如果自己配置的监听文件总是出错,可以复制线面的信息进到自己配置文件中更改主机信息即可

[oracle@master admin]$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /oracle/oracle/11g/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
[oracle@master admin]$ cat listener.ora
# listener.ora Network Configuration File: /oracle/oracle/11g/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = master.example.com)(PORT = 1521))
)
)

ADR_BASE_LISTENER = /oracle/oracle

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /oracle/oracle/11g)
(SID_NAME = orcl)
)
)
[oracle@master admin]$

以上是关于配置oracle监听文件的主要内容,如果未能解决你的问题,请参考以下文章

如何查看oracle监听日志文件

oracle怎么配置监听

配置oracle监听文件

oracle如何配置监听

linux操作系统下oracle数据库如何配置监听

oracle数据库怎么net manager配置监听