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: How do you check for alert log file for the latest error ?

Re: How do you check for alert log file for the latest error ?

From: Johan Eriksson <valpis_at_gmail.com>
Date: Wed, 15 Nov 2006 12:17:50 +0100
Message-ID: <6c133d8a0611150317o4c288a96t9dca7d3c4374e684@mail.gmail.com>


On 11/15/06, Anand <shastry17_at_gmail.com> wrote:
> Hi all,
>
>
> How do you check for alert log file for the latest error ?
>

I use vi for this, but someone most cartainly have this scripted.

> Linux command to remove files in the log direcotory,in such a way that the
> last 15 days fills must exist but purge the remaining files?
>

find ./ -ctime +15 -exec rm {} \;
(been running in the directory you want to purge )

> What if the alert log file has been deleted by some script?
>

Then it doesn't exists and oracle will create a new on (if when trying to write to it or during startup I don't know and haven't tested)

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Nov 15 2006 - 05:17:50 CST

Original text of this message

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