Skip to Main Content

Database Software

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to compress SCAN Listener log files?

Raj KushawahaMay 4 2016 — edited May 25 2016

Hi Experts,

I know how to to compress Non-RAC listener.log file by following below method but I'm not sure how to compress scan listener logs in RAC environment.

LSNRCTL> SET LOG_STATUS OFF

Connecting to (ADDRESS=(PROTOCOL=TCP)(HOST=rac1.rajdbsolutions.com)(PORT=1522))

LISTENER parameter "log_status" set to OFF

The command completed successfully

After the above step, we go to listener log location and rename the listener.log file to something else e.g. Listener_old.log

Again turn back the listener logging ON using below command.

LSNRCTL> SET LOG_STATUS ON
Connecting to (ADDRESS=(PROTOCOL=TCP)(HOST=rac1.rajdbsolutions.com)(PORT=1522))
LISTENER parameter "log_status" set to ON
The command completed successfully

Finally we can just compress the renamed listener log file in order to release space.

Please explain the steps to compress SCAN listener log file in RAC environment.

Thanks,

This post has been answered by 2810868 on May 6 2016
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 22 2016
Added on May 4 2016
20 comments
8,629 views