Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Purging listener.log

pokharelDec 23 2012 — edited Dec 24 2012
Hello,

We are using oracle 10gr2 in aix system. My listener.log file is growing continuously and I want to rename the log file to listener.old and create a new empty listener.log. I have found a method in the internet that seems to be good.

% lsnrctl set log_status off
% mv listener.log listener.old
% lsnrctl set log_status on

I have one question on this. Will the last line create a new listener.log file and new logs will be written in that ? If now hot do I create a new listener.log file and make the logs written there.

Thank you
This post has been answered by Shivananda Rao on Dec 23 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 21 2013
Added on Dec 23 2012
6 comments
2,591 views