数据库卡死 listener.log文件太大问题,停止tnslistener服务可以直接删除

数据库卡死 listener.log文件太大问题,

     停止tnslistener服务可以直接删除listener.log

 listener.log所在路径

D:\app\xxzx\diag\tnslsnr\jd-sc-test1\listener\trace

处理办法cmd

 

Copyright (c) 1991, 2010, Oracle.  All rights reserved.


Welcome to LSNRCTL, type "help" for information.


LSNRCTL> set log_status off
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
LISTENER parameter "log_status" set to OFF
The command completed successfully

LSNRCTL> save_config
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Saved LISTENER configuration parameters.
Listener Parameter File   D:\oracle\product\11.2.0\dbhome_1\network\admin\listen
er.ora
Old Parameter File   D:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ba
k
The command completed successfully
LSNRCTL>

 

 

posted @ 2022-01-14 16:54  南国之恋  阅读(679)  评论(0编辑  收藏  举报