Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Truncated Listener Log/backing up?
J. Dex,
Look at the set log_file command in lsnrctl. You can rename the log file on the fly. What I did in the past (on NT) was something like:
Echo "set log_file lis.temp" > lsn.cmd
Lsnrctl < lsn.cmd
Rename listener.log listener_save.log
Echo "set log_file listener.log" > lsn1.cmd
Lsnrctl < lsn1.cmd
Good Luck!
Tom
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of J. Dex
Sent: Thursday, January 11, 2007 9:44 AM
To: oracle-l_at_freelists.org
Subject: Truncated Listener Log/backing up?
Our listener log has grown too large and I want to back it up. It is my
understanding that it can't be truncated because it is an open file.
What
are other people doing to resolve this issue? This is on a W2K server
where the listener is password protected and security patches have been
applied. I want to add whatever type of process can be used into a
script.
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Thu Jan 11 2007 - 09:11:06 CST
![]() |
![]() |