Tracing the LSNRCTL Control Utility
Tracing the LSNRCTL Control Utility [ID 737530.1] | |||||
| |||||
Modified 16-DEC-2011 Type HOWTO Status PUBLISHED |
In this Document
Solution
Applies to:
Oracle Net Services - Version: 10.1.0.2.0 to 11.2.0.3 - Release: 10.1 to 11.2Information in this document applies to any platform.
Checked for relevance on 16-APR-2010.
Goal
In the event that the listener does not start, the LSNRCTL utility still reads the listener.ora file and can be traced.This feature was introduced in 10g and does not exist for 8i and 9i listeners.
See the special note for 11g usage.
Solution
Use the following parameters in the listener.ora file in order to trace LSNRCTL. See the special note for 11g usage.Parameter Name Default value
LSNRCTL_TRACE_LEVEL OFF
LSNRCTL_TRACE_FILE lsnrctl_.trc
LSNRCTL_TRACE_DIRECTORY $ORACLE_HOME/network/trace
LSNRCTL_TRACE_UNIQUE ON
LSNRCTL_TRACE_TIMESTAMP ON
LSNRCTL_TRACE_LEVEL OFF
LSNRCTL_TRACE_FILE lsnrctl_
LSNRCTL_TRACE_DIRECTORY $ORACLE_HOME/network/trace
LSNRCTL_TRACE_UNIQUE ON
LSNRCTL_TRACE_TIMESTAMP ON
LSNRCTL_TRACE_LEVEL = [OFF | USER | SUPPORT | 16]
The trace level should always be set to "SUPPORT" or "16"
Setting only this parameter will normally be all that is needed for lsnrctl tracing. The remaining parameters do not need to be set.
LSNRCTL_TRACE_FILE
Unless changed or unless LSNRCTL_TRACE_UNIQUE=OFF, this parameter will result in a file called lsnrctl_
Oracle Support recommends not changing the default value.
LSNRCTL_TRACE_DIRECTORY
The default location is normally fine, but can be altered if needed.
LSNRCTL_TRACE_UNIQUE = [ON | OFF]
The default of ON should always be used. Setting this parameter to OFF will only create a single "lsnrctl.trc" file that is overwritten each time the listener is restarted.
LSRNCTL_TRACE_TIMESTAMP = [ON | OFF]
The default of ON should always be used. Setting to OFF will prevent timestamps from being logged.
In 11g, only the trace level parameter is used. All other parameters cannot be altered. The trace file follows the rules of 11g's "ADR" tracing - even in the case of ADR being disabled in the listener.
Parameter Name Defualt value
LSNRCTL_TRACE_LEVEL OFF
LSNRCTL_TRACE_FILE not used, file is ora__1.trc
LSNRCTL_TRACE_DIRECTORY not used, output directory is $HOME/oradiag*/lsnrctl///trace (or it can be located in $ORACLE_BASE/diag/lsnrctl///trace)
LSNRCTL_TRACE_UNIQUE not used (set to ON)
LSNRCTL_TRACE_TIMESTAMP not used (set to ON)
Parameter Name Defualt value
LSNRCTL_TRACE_LEVEL OFF
LSNRCTL_TRACE_FILE not used, file is ora_
LSNRCTL_TRACE_DIRECTORY not used, output directory is $HOME/oradiag*/lsnrctl/
LSNRCTL_TRACE_UNIQUE not used (set to ON)
LSNRCTL_TRACE_TIMESTAMP not used (set to ON)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24867586/viewspace-713535/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- LSNRCTL start error!Error
- Oracle OCP(44):LSNRCTLOracle
- dbverify Utility
- DirectShow Utility
- COM Utility
- Utility FilterFilter
- 理解 oracle 的 “lsnrctl status”Oracle
- PG: Utility queries
- dbms_utility
- DBNEWID Utility
- 理解 oracle 的 “lsnrctl status”(ZT)Oracle
- 【Oracle】lsnrctl reload 命令操作Oracle
- Oracle lsnrctl 無法啟動Oracle
- ray tracing in one weekend - 5
- DBVERIFY utility的使用
- 【Oracle】lsnrctl reload 命令簡介Oracle
- Oracle ASH和Session Tracing(ZT)OracleSession
- A Facial Recognition utility in a dozen of LOC
- ASM Metadata Dump UtilityASM
- DBMS_Utility學習
- DBMS_UTILITY.ANALYZE_SCHEMA
- dbms_utility.get_time
- 3 、lsnrctl> reload L1命令
- Tracing Enhancements Using DBMS_MONITOR
- Lecture 12 Real-time Ray Tracing
- Oracle更改埠後lsnrctl無法啟動Oracle
- lsnrctl中,SET PASSWORD和CHANGE_PASSWORD命令
- 【RAC】lsnrctl 工具不適合管理監聽
- Partition|Disk Utility 如何分割磁碟
- SMART Utility for mac (硬碟檢測)Mac硬碟
- File Compare Utility 3.0.002
- DBMS_UTILITY.COMPILE_SCHEMACompile
- enable run glance utility in windows CMDWindows
- [20170703]Oracle Call Interface TracingOracle
- Tracing Oracle Internal Calls - Trace SqlplusOracleSQL
- 硬碟檢測工具:SMART Utility for mac硬碟Mac
- SMART Utility for Mac:硬碟健康的守護者Mac硬碟
- ASMCMD - ASM command line utility .ASM