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: alert log file

RE: alert log file

From: Vergara, Michael (TEM) <mvergara_at_guidant.com>
Date: Mon, 31 Mar 2003 08:38:51 -0800
Message-ID: <F001.005764D0.20030331083851@fatcity.com>


When I see a humungous file like that, I build a little ksh script that hasn't failed me yet.  

suffix=`date +%y%m%d`
cp -p alertSID.log alertSID_${suffix}.log
> alertSID.log
 

The only thing that might happen is if Oracle is updating the log file at EXACTLY the moment you execute this script then that log line may be lost. As I said, it hasn't happened - yet - that I know of - but YMMV.  

Cheers,
Mike

-----Original Message-----
Sent: Monday, March 31, 2003 7:54 AM
To: Multiple recipients of list ORACLE-L

for one of the db over here alert log is biggggggg .Looks like its never been truncated or backup . Is it a problem if i just move this alert log file to another directory , will oracle create a new alert log file ? Do I need to bounce db ?  

btw its 8.1.6 ( hp-ux )
-ak  

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Vergara, Michael (TEM)
  INET: mvergara_at_guidant.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Mon Mar 31 2003 - 10:38:51 CST

Original text of this message

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