We can simply move the existing file and nullify it, but before doing that, we will need to stop the log_status for that period.
cd /u01/app/oracle/product/11.2.0/network/log
lsnrctl set log_status off
mv listener.log listener.old
touch listener.log
lsnrctl set log_status on
No comments:
Post a Comment