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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Rename alert log

Re: Rename alert log

From: Richard Ji <rji_at_exenet.com>
Date: Tue, 10 Jul 2001 11:56:19 -0700
Message-ID: <F001.00346290.20010710121442@fatcity.com>

Does anyone know starting from which version you have to do the tricky thing to rename the alert.log? Or is this only apply to certain OS platforms?

I am on 8.1.7 EE on Solaris8 and I can still just move the alert.log and Oracle will just recreate one when it needs to write the next message.

I don't like this new rule that you have to copy it and then null the alert log since those are two separate operations. I can loss a message or two if there is a lag after the copying is done and before nulling the log file.

>>> carmichr_at_hotmail.com 07/10/01 01:26PM >>>
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." <rlsmith_at_kmg.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>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: rlsmith_at_kmg.com
>
>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: ListGuru_at_fatcity.com (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: carmichr_at_hotmail.com 

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: ListGuru_at_fatcity.com (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).

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Richard Ji
  INET: rji_at_exenet.com

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: ListGuru_at_fatcity.com (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).
Received on Tue Jul 10 2001 - 13:56:19 CDT

Original text of this message

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