ITPub博客

首页 > 数据库 > Oracle > 清空listener.log文件内容后,内容不能写入listener.log文件的解决方法

清空listener.log文件内容后,内容不能写入listener.log文件的解决方法

原创 Oracle 作者:xingfei80 时间:2010-07-29 11:46:56 0 删除 编辑

清空listener.log文件内容后,内容不能写入listener.log文件的解决方法

问题描述:

清空listener.log文件内容后,内容不能写入listener.log文件中。

解决方法:

执行:

$ Lsnrctl status

发现正常

$ lsnrctl

>Show log_file

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mant)(PORT=1521)))

LISTENER parameter "log_file" set to listener.log

The command completed successfully

>show log_status

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mant)(PORT=1521)))

LISTENER parameter "log_status" set to ON

The command completed successfully

很是郁闷了一会儿 。。。

> set log_status off;

> set log_status on;

再观察listener.log,已经有记录了 !

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/14663377/viewspace-1035623/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-07-14

  • 博文量
    102
  • 访问量
    492761