For the listener I had do the following to get listener
to archive its old logs
lsnrctl set log_file $ORACLE_HOME/network/log/listener1.log mv $ORACLE_HOME/network/log/listener.log $ORACLE_HOME/network/log/listener.log.$QUALIFIER lsnrctl set log_file $ORACLE_HOME/network/log/listener.log But for alert.log it works fine with a simple mv
mv
$ORACLE_BASE/admin/$SID/bdump/alert_$SID.log
\
$ORACLE_BASE/admin/$SID/bdump/alert_$SID.log.$QUALIFIER We are on 8.1.5.
Satish
>>> [EMAIL PROTECTED] 07/10/01 10:26AM >>> depends on the version of the database you are running.. it used to be that yes, you could just rename it and Oracle would open a new one of the original name when it needed to write to it. In 8.? and above, you can no longer just rename it, Oracle now maintains an open file pointer to it, similar to the way it handles the listener log file. So you will need to do the same sort of tricks to the alert log as you have to do to the listener log (make a copy then copy /dev/null to the original) >From: "Smith, Ron L." <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> >Subject: Rename alert log >Date: Tue, 10 Jul 2001 06:56:31 -0800 > >Can the alert log be renamed while the database is up and running? > >Ron >-- >Please see the official ORACLE-L FAQ: http://www.orafaq.com >-- >Author: Smith, Ron L. > INET: [EMAIL PROTECTED] > >Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 >San Diego, California -- Public Internet access / Mailing Lists >-------------------------------------------------------------------- >To REMOVE yourself from this mailing list, send an E-Mail message >to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in >the message BODY, include a line containing: UNSUB ORACLE-L >(or the name of mailing list you want to be removed from). You may >also send the HELP command for other information (like subscribing). _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rachel Carmichael INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). |
- RE: Rename alert log lhoska
- RE: Rename alert log Kevin Lange
- RE: Rename alert log Jon Walthour
- RE: Rename alert log Mercadante, Thomas F
- RE: Rename alert log Rachel Carmichael
- RE: Rename alert log Jesse, Rich
- RE: Rename alert log Farnsworth, Dave
- RE: Rename alert log Farnsworth, Dave
- RE: Rename alert log Jon Baker
- RE: Rename alert log Mark Leith
- Re: Rename alert log Satish Iyer
- Re: Rename alert log Richard Ji
- RE: Rename alert log Reardon, Bruce (CALBBAY)
- RE: Rename alert log Rachel Carmichael
- Re: Rename alert log Rachel Carmichael
- Re: Rename alert log Richard Ji
- RE: Rename alert log A. Bardeen
- Re: Rename alert log Rachel Carmichael
- Re: Rename alert log Richard Ji
- Re: Rename alert log Rachel Carmichael
- Re: Rename alert log tpall