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: Deleting alert_<sid>.log while db is running?

RE: Deleting alert_<sid>.log while db is running?

From: Martin Kendall <Martin.Kendall_at_Rubus.com>
Date: Sun, 25 Mar 2001 14:00:50 -0800
Message-ID: <F001.002D76DF.20010325131526@fatcity.com>

Hi Guang,

just use the following Unix command:-

echo "" > alert_<sid>.log

That way, the file is "emptied" and the Instance can carry on using it.

Martin

-----Original Message-----
Sent: 25 March 2001 17:05
To: Multiple recipients of list ORACLE-L

Hi:

I have a oracle db (oracle 8.0.5 on Sun Unix) whose alert_<sid>.log size is too large. I want to delete it.

Can I just simply do "rm alert_<sid>.log" without shuting down the db, assuming there is no "writting" going on to the file at that moment? I usually do shutdown, delete alert log file, and then startup db again. But this is a 24*7 db and can not be shutdown.

TIA.



Get your FREE download of MSN Explorer at http://explorer.msn.com

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Guang Mei
  INET: zlmei_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: Martin Kendall
  INET: Martin.Kendall_at_Rubus.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 Sun Mar 25 2001 - 16:00:50 CST

Original text of this message

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