oracle10g监听的奇怪现象!谁能解释一下?

[复制链接]
查看11 | 回复4 | 2011-9-2 08:49:42 | 显示全部楼层 |阅读模式
仔细看一下 看发现什么问题没?
是不是和什么默认监听有关系啊?不懂~
LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias
LISTENER
Version
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date
08-NOV-2006 17:36:04
Uptime
0 days 0 hr. 1 min. 25 sec
Trace Level
off
Security
ON: Local OS Authentication
SNMP
OFF
Listener Parameter File /home/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /home/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 "home" has 1 instance(s).
Instance "home", status READY, has 1 handler(s) for this service...
Service "homeXDB" has 1 instance(s).
Instance "home", status READY, has 1 handler(s) for this service...
Service "home_XPT" has 1 instance(s).
Instance "home", status READY, has 1 handler(s) for this service...
The command completed successfully

listener.ora
# listener.ora Network Configuration File: /home/oracle/product/10.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 61.51.17.27)(PORT = 1522))
)
SID_LIST_LISTENER1 =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = home)
(ORACLE_HOME = /home/oracle/product/10.2.0/db_1)
(SID_NAME = home)
)
)
INBOUND_CONNECT_TIMEOUT_ =0
~
~

tnsnames.ora:
HOME =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 61.51.17.27)(PORT = 1522))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = home)
)
)
~
回复

使用道具 举报

千问 | 2011-9-2 08:49:42 | 显示全部楼层
假如使用lsnrct start, 启动的默认的listener 监听;
而在你的listener.ora 中,描述的是监听listener1,启动的方式是 lsnrctl start LISTENER1
可以看看 status LISTENER1
回复

使用道具 举报

千问 | 2011-9-2 08:49:42 | 显示全部楼层
先stop 再start看看
回复

使用道具 举报

千问 | 2011-9-2 08:49:42 | 显示全部楼层
那一般启动listener是启动默认的?还是把所有的listener都打开?前提当然是所有开启的listener端口不冲突!
回复

使用道具 举报

千问 | 2011-9-2 08:49:42 | 显示全部楼层
一般启动默认的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行