[oracle@dwhtest admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 09-SEP-2014 18:26:52
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 09-SEP-2014 18:26:49
Uptime 0 days 0 hr. 0 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /oracle/app/diag/tnslsnr/dwhtest/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dwhtest)(PORT=1521)))
The listener supports no services
The command completed successfully
此时侦听没注册服务
侦听静态注册:
[oracle@perass ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 09-SEP-2014 17:25:37
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=perass)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 23-JUL-2014 18:18:50
Uptime 47 days 23 hr. 6 min. 46 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/app/product/11.2.0/db/network/admin/listener.ora
Listener Log File /oracle/app/diag/tnslsnr/perass/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=perass)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "perass" has 2 instance(s).
Instance "perass", status UNKNOWN, has 1 handler(s) for this service...
Instance "perass", status READY, has 1 handler(s) for this service...
Service "perass2" has 1 instance(s).
Instance "perass2", status UNKNOWN, has 1 handler(s) for this service...
Service "perassXDB" has 1 instance(s).
Instance "perass", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@perass ~]$ cat /oracle/app/product/11.2.0/db/network/admin/listener.ora
# listener.ora Network Configuration File: /oracle/app/product/10.2.0/db/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/app/product/11.2.0/db)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = perass)
(ORACLE_HOME = /oracle/app/product/11.2.0/db)
(GLOBAL_DBNAME = perass)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = perass)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)
侦听动态注册:
[oracle@dwhtest admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 09-SEP-2014 18:15:32
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 09-SEP-2014 18:13:41
Uptime 0 days 0 hr. 1 min. 51 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /oracle/app/diag/tnslsnr/dwhtest/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dwhtest)(PORT=1521)))
Services Summary...
Service "dwetl" has 1 instance(s).
Instance "dwetl", status READY, has 1 handler(s) for this service...
Service "dwetlXDB" has 1 instance(s).
Instance "dwetl", status READY, has 1 handler(s) for this service...
Service "dwhtest" has 1 instance(s).
Instance "dwhtest", status READY, has 1 handler(s) for this service...
Service "dwhtest2" has 1 instance(s).
Instance "dwhtest2", status READY, has 1 handler(s) for this service...
Service "dwhtest2XDB" has 1 instance(s).
Instance "dwhtest2", status READY, has 1 handler(s) for this service...
Service "dwhtestXDB" has 1 instance(s).
Instance "dwhtest", status READY, has 1 handler(s) for this service...
The command completed successfully