Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: rotating listener.log
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
> ~~~~~~~~~~~~~~~
>
>
Received on Thu Dec 12 2002 - 04:19:35 CST