(1) listener. ora
In this experiment, static listening is configured to listener L1, and the project SID_LIST_L1 is the static listening configuration of L1:
- L1 =
- (DESCRIPTION_LIST =
- (DESCRIPTION =
- (ADDRESS = (PROTOCOL = TCP) (HOST = PC1255-20110528) (PORT = 1522 ))
- )
- )
- SID_LIST_L1 =
- (SID_LIST =
- (SID_DESC =
- (SID_NAME = PLSExtProc)
- (Oracle_HOME = D: \ oracle \ product \ 10.2.0 \ db_1)
- (PROGRAM = extproc)
- )
- (SID_DESC =
- (GLOBAL_DBNAME = t01)
- (ORACLE_HOME = D: \ oracle \ product \ 10.2.0 \ db_1)
- (SID_NAME = t01)
- )
- )
(2) After the listener. ora file is edited, use reload to re-read the configuration file (reload will also re-register the dynamic listener ):
(
RELOAD Purpose Use
RELOADCommand to reread
listener.oraFile. This command enables you to add or change statically configured services without actually stopping the listener.
In addition, the database services, instances, service handlers, and listening endpoints that were dynamically registered with the listener will be unregistered and subsequently registered again.
Http://download.oracle.com/docs/cd/A97630_01/network.920/a96581/lsnrctl.htm
)
- LSNRCTL> status
- Connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = PC1255-20110528) (PORT = 1522 )))
- LISTENER STATUS
- ------------------------
- Alias L1
- Version TNSLSNRFor32-BitWindows: Version 10.2.0.1.0-Production
- Start Date: 24-7-2011 22:14:19
- Normal operation time: 0 days, 1 hour, 26 minutes, 2 seconds
- Tracking levelOff
- SecurityON:LocalOS Authentication
- SNMPOFF
- Listener parameter file D: \ oracle \ product \ 10.2.0 \ db_1 \ network \ admin \ listener. ora
- Listener log file D: \ oracle \ product \ 10.2.0 \ db_1 \ network \ log \ l1.log
- Listener endpoint overview...
- (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = PC1255-20110528) (PORT = 1522 )))
- Service summary ..
- Service"T02"Contains one routine.
- Routine"T02", Status READY, contains 1 handler of this service...
- Service"T02XDB"Contains one routine.
- Routine"T02", Status READY, contains 1 handler of this service...
- Service"T02_XPT"Contains one routine.
- Routine"T02", Status READY, contains 1 handler of this service...
- Command executed successfully
- LSNRCTL> reload
- Connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = PC1255-20110528) (PORT = 1522 )))
- Command executed successfully
- LSNRCTL> status
- Connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = PC1255-20110528) (PORT = 1522 )))
- LISTENER STATUS
- ------------------------
- Alias L1
- Version TNSLSNRFor32-BitWindows: Version 10.2.0.1.0-Production
- Start Date: 24-7-2011 22:14:19
- Normal operation time: 0 days, 1 hour, 26 minutes, 8 seconds
- Tracking levelOff
- SecurityON:LocalOS Authentication
- SNMPOFF
- Listener parameter file D: \ oracle \ product \ 10.2.0 \ db_1 \ network \ admin \ listener. ora
- Listener log file D: \ oracle \ product \ 10.2.0 \ db_1 \ network \ log \ l1.log
- Listener endpoint overview...
- (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = PC1255-20110528) (PORT = 1522 )))
- Service summary ..
- Service"PLSExtProc"Contains one routine.
- Routine"PLSExtProc", Status UNKNOWN, contains 1 handler of this service...
- Service"T01"Contains one routine.
- Routine"T01", Status UNKNOWN, contains 1 handler of this service...
- Command executed successfully