Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: lsnrctl command
"Bryant" <btolar_at_fedworld.gov> wrote in message
news:b0bb806d.0108220638.30f4de28_at_posting.google.com...
> I am attempting to create a simple script to move the listener log
> file on a monthly basis. If the listener has not been named the
> command is simple
>
> lsnrctl set log_file log_file_name
>
> But if the listener has been named(no longer default of LISTENER) and
> I run the same command I get an error. I believe I need to put the
> listener name into the command but, I cannot seem to get the corrct
> syntax. Any suggestions.
>
> Thanks,
> B
Just move the file. The listener will create a new one automatically.
Hth,
Sybrand Bakker,
Senior Oracle DBA Received on Wed Aug 22 2001 - 11:55:53 CDT