仔细看一下 看发现什么问题没?
是不是和什么默认监听有关系啊?不懂~
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)
)
)
~
|