一个数据库实例如何建立多个监听?
默认已经有一个LISTENER我想用netca添加了一个新的监听,TEST
listener.ora 中的信息如下
TEST =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1555))
)配置好了之后,但是我用PLSQL Developer 联不了数据库!
默认已经有一个LISTENER我想用netca添加了一个新的监听,TEST
listener.ora 中的信息如下
TEST =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1555))
)配置好了之后,但是我用PLSQL Developer 联不了数据库!
添加监听用net manager 工具。 一般一个实例对应一个Listener。
用1555端口的提示 ORA-12514:TNS:监听程序无法识别连接描述符中的请求的服务
在命令行里看看lsnrctl的status
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 16-JUL-2010 10:23:27
Uptime 0 days 0 hr. 47 min. 50 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
STATUS of the LISTENER
------------------------
Alias TEST
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 16-JUL-2010 09:55:10
Uptime 0 days 1 hr. 16 min. 20 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /oracle/product/10.2.0/db_1/network/log/test.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1525)))
The listener supports no services
The command completed successfully