oracle11gRAC之log日志体系:
1、CRS日志(grid):
首选查看alertlog:
$CRS_HOME/grid/log/hostname/alertdbserver1.log
Clusterware后台进程日志:
crsd.Log: $ORA_CRS_HOME/grid/log/hostname/crsd/crsd.Log
ocssd.Log: $ORA_CRS_HOME/grid/log/hostname/cssd/ocsd.Log
evmd.Log: $ORA_CRS_HOME/grid/log/hostname/evmd/evmd.Log
工具执行日志:
$ORA_CRS_HOME/log/hostname/client/
Clusterware 提供了许多命令行工具:
比如crsctl、ocrcheck, ocrconfig,ocrdump,oifcfg和clscfg, 这些工具产生的日志就放在这个目录下
2、DB日志(oracle)
alertlog:
/diag/rdbms///trace
/oracle/app/oracle/diag/rdbms/orclfi/orclfi1/trace
/oracle/app/oracle/diag/rdbms/orclfi/orclfi2/trace
3、lsnrctl log
/oracle/app/11.2.0/grid/log/diag/tnslsnr/dbserver2/listener_scan1/trace/listener_scan1.log[@more@]