052-125

You want to check the details of few errors that users have reported. You search for the alert log file and execute few commands to find the location of the alert log file.
View the Exhibit and check the commands executed.


What is the location of the alert_orcl.log file?
A.ORACLE_HOME/dbs
B.ORACLE_HOME/rdbms
C./u01/app/oracle/admin/orcl/adump
D./u01/app/oracle/flash_recovery_area
E.ORACLE_BASE/diag/rdbms/orcl/orcl/alert--xml
F.ORACLE_BASE/diag/rdbms/orcl/orcl/trace--text

参考124
要通过 SQL*Plus 确定预警日志的位置,请执行以下操作:
• 使用 SQL*Plus(或其它查询工具,如 SQL Developer)连接到数据库。
• 查询 V$DIAG_INFO 视图。
要查看不带 XML 标记的纯文本预警日志,请执行以下操作:
• 在 V$DIAG_INFO 查询结果中,记下对应于 Diag Trace 条目的路径。将目录更改至该路径。
• 使用文本编辑器打开 alert_SID.log 文件。
要查看 XML 格式的预警日志,请执行以下操作:
• 在 V$DIAG_INFO 查询结果中,记下对应于 Diag Alert 条目的路径。将目录更改至该路径。
• 使用文本编辑器打开 log.xml 文件。

原文地址:https://www.cnblogs.com/Babylon/p/8028828.html