Tracing the LSNRCTL Control Utility (文档 ID 737530.1)
来源:互联网 发布:java调用函数返回值 编辑:程序博客网 时间:2024/06/08 04:57
适用于:
Oracle Net Services - Version: 10.1.0.2.0 to11.2.0.3 - Release: 10.1 to 11.2
Information in this document applies to anyplatform.
Checked for relevance on 16-APR-2010.
用途:
当侦听器没有启动,LSNRCTL实用程序仍然读取listener.ora文件并可以跟踪。
此功能在10g中引入,对于8i和9i侦听器不存在。
请参阅11g用法的特殊说明。
解决方案:
在listener.ora文件中使用以下参数以跟踪LSNRCTL。请参阅11g用法的特殊说明。
Parameter Name Default value
LSNRCTL_TRACE_LEVEL OFF
LSNRCTL_TRACE_FILE lsnrctl_<pid>.trc
LSNRCTL_TRACE_DIRECTORY $ORACLE_HOME/network/trace
LSNRCTL_TRACE_UNIQUE ON
LSNRCTL_TRACE_TIMESTAMP ON
LSNRCTL_TRACE_LEVEL = [OFF | USER | SUPPORT | 16]
跟踪级别应始终设置为“SUPPORT”或“16”
只设置这个参数通常是lsnrctl跟踪所需要的。其余参数不需要设置。
LSNRCTL_TRACE_FILE
除非更改或除非LSNRCTL_TRACE_UNIQUE = OFF,此参数将产生一个名为lsnrctl_<pid> .trc的文件。Oracle建议不要更改默认值。
LSNRCTL_TRACE_DIRECTORY
默认位置通常很好,但如果需要可以更改。
LSNRCTL_TRACE_UNIQUE = [ON | OFF]
应始终使用默认的ON。将此参数设置为OFF只会创建一个单独的“lsnrctl.trc”文件,每次重新启动侦听器时都会覆盖该文件。
LSRNCTL_TRACE_TIMESTAMP = [ON | OFF]
应始终使用默认的ON。设置为OFF将防止记录时间戳。
在11g中,仅使用跟踪级参数。所有其他参数不能更改。跟踪文件遵循11g的“ADR”跟踪规则 - 即使在侦听器中禁用ADR的情况下也是如此。
参数名称缺省值:
LSNRCTL_TRACE_LEVEL OFF
LSNRCTL_TRACE_FILE未使用,文件为ora_<pid> _1.trc
LSNRCTL_TRACE_DIRECTORY未使用,输出目录为$HOME/oradiag*/lsnrctl/<host>/<host>/trace(或者可以位于$ORACLE_BASE/diag/lsnrctl/<hostname>/<hostname>/trace)
未使用LSNRCTL_TRACE_UNIQUE(设置为ON)
未使用LSNRCTL_TRACE_TIMESTAMP(设置为ON)
- Tracing the LSNRCTL Control Utility (文档 ID 737530.1)
- Tracing Sessions in Oracle Using the DBMS_SUPPORT Package (文档 ID 62160.1)
- Oracle lsnrctl Tracing Listener Connections
- EVENT: 10046 "enable SQL statement tracing (including binds/waits)" (文档 ID 21154.1)
- How to Obtain Tracing of Optimizer Computations (EVENT 10053) (文档 ID 225598.1)
- The JCo utility cookbook
- The fbset utility
- LSNRCTL
- the difference between ClientID and ID of web control
- The DBMS_SUPPORT Package (文档 ID 62294.1)
- FBController - (Facebook Control Utility) version 1.0
- GLUT - The OpenGL Utility Toolkit
- Using the SQL*Loader Utility
- The DefaultButton of must be the ID of a control of type IButtonControl
- The DefaultButton of must be the ID of a control of type IButtonControl
- Enterprise Manager Database Control Configuration - Errors Due to CA Expiry (文档 ID 1222603.1)
- How to manage DB Control 11.x for RAC Database with emca (文档 ID 578011.1)
- window control id
- [LeetCode]219 Contains Duplicate II
- UVa 11212 - Editing a Book
- Python爬虫包 BeautifulSoup 学习(九) 正则表达式与Lambda表达式
- android Fragment 中IllegalStateException异常问题
- Srvctl Does Not Work After the Grid infrastructure upgrade from 11gr2 to 12c (文档 ID 2132856.1)
- Tracing the LSNRCTL Control Utility (文档 ID 737530.1)
- rtmpdump的使用及遇到的问题
- Shell自删除脚本
- 用于深度学习 的Xilinx FPGA XC7K325T PCIeX8 处理板卡
- mysql常用修改表接口sql
- 项目开发编码设置
- 如何理解操作系统负载均衡和运行队列(CPU利用率)(文档 ID 2221159.1)
- 异常处理
- du命令、df命令用法