Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: rotating listener.log
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