Where/How to Check Alert Log File in Oracle 12c?

Prior versions as a DBA we used 
to check the alert logs in background_dump_dest directory. But in 11g onwards the alert log file location is changed to different location mentioned below. The second option is adrci which is the easiest way to access the alert log files for the databases which are running on the box.
Location is : $ORACLE_BASE/diag/ rdbms/SID/SID/trace 
/home/oracle[prodx01]> adrci
ADRCI: Release - Production on Wed Jun 24 00:07:59 2015
Copyright (c) 1982, 2014, Oracle and/or its affiliates.  All rights reserved.
ADR base = "/apps2/oracle"
adrci> show alert
Choose the home from which to view the alert log:
1: diag/tnslsnr/proddb01/listener_proddb01
2: diag/rdbms/PRODDB01/PRODDB01
Q: to quit
DBA Tips Data Pump Reference


Post a Comment


dba topics. Copyright 2011-16 All Rights Reserved | Site Map | Contact | Disclaimer | Google