Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: lsnrctl command

Re: lsnrctl command

From: Gerard H. Pille <ghp_at_skynet.be>
Date: Wed, 22 Aug 2001 23:12:36 +0200
Message-ID: <3B842044.4C071765@skynet.be>


Sybrand Bakker wrote:
>
> "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

On a unix system, you can move it where the sun doesn't shine, even "remove" it, the listener will keep writing to that file until it is stopped and restarted.

So that may be a solution: stop the listener, move the file, start the listener.

-- 

Gerard H. Pille
Received on Wed Aug 22 2001 - 16:12:36 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US