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: rotating listener.log

Re: rotating listener.log

From: Michael Raschepkin <rm_at_DELETE.IT.artelecom.ru>
Date: Sun, 15 Dec 2002 08:55:12 +0300
Message-ID: <3DFC1940.20A20FE8@DELETE.IT.artelecom.ru>


thanks a lot.

it's very strange because alert<SID>.log is filled ok when recreated.

Alexander Moeckel wrote:

> Hello,
> with HP-UX I use a shell script:
> cp listener.log listener_`date +%Y%m%d_%H%M`.log
> echo "" > listener.log
>
> Oracle has problems, if the logfile is deleted or renamed. No new file
> will be created before you restart the listener or instance. With the
> echo the content of the file will be deleted, not the file himself.
>
> Alex
>
> Michael Raschepkin wrote:
> > Hello
> >
> > I have Oracle 8.0.5, Solaris7.
> > What utility could you advise me to rotate the listener's log file?
> > I used newsyslog, it renamed the file to listener.log.1, created new
> > listener.log, but listener didnot write there until I restarted it.
> >
> > --
> > ~~~~~~~~~~~~~~~
> > With respect,
> > Michael
> > ~~~~~~~~~~~~~~~
> >
> >

--
~~~~~~~~~~~~~~~
 With respect,
 Michael
~~~~~~~~~~~~~~~
Received on Sat Dec 14 2002 - 23:55:12 CST

Original text of this message

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