1、Oracle GI集群日志
Oracle集群件诊断日志文件存储在$GRID_HOME/log/目录中。GI中的每个组件在$GRID_HOME/log/目录中拥有各自的目录:
cd /oraapp/grid/gridhome
tree log/ -f -C
log(与Oracle集群件的集群件相关的调试日志总目录)
├── log/crs
├── log/diag
│ ├── log/diag/adrci_dir.mif
│ ├── log/diag/asmcmd
│ │ └── log/diag/asmcmd/user_grid
│ │ └── log/diag/asmcmd/user_grid/STRAC1
│ │ ├── log/diag/asmcmd/user_grid/STRAC1/alert
│ │ │ └── log/diag/asmcmd/user_grid/STRAC1/alert/alert.log
│ │ └── log/diag/asmcmd/user_grid/STRAC1/trace
│ ├── log/diag/clients
│ │ └── log/diag/clients/user_root
│ │ └── log/diag/clients/user_root/host_1659900209_80
│ │ ├── log/diag/clients/user_root/host_1659900209_80/alert
│ │ │ └── log/diag/clients/user_root/host_1659900209_80/alert/log.xml
│ │ ├── log/diag/clients/user_root/host_1659900209_80/cdump
│ │ ├── log/diag/clients/user_root/host_1659900209_80/incident
│ │ ├── log/diag/clients/user_root/host_1659900209_80/incpkg
│ │ ├── log/diag/clients/user_root/host_1659900209_80/lck
│ │ │ ├── log/diag/clients/user_root/host_1659900209_80/lck/AM_1096102193_3488045378.lck
│ │ │ ├── log/diag/clients/user_root/host_1659900209_80/lck/AM_1096102262_3454819329.lck
│ │ │ ├── log/diag/clients/user_root/host_1659900209_80/lck/AM_1744845641_3861997533.lck
│ │ │ └── log/diag/clients/user_root/host_1659900209_80/lck/AM_3216668543_3129272988.lck
│ │ ├── log/diag/clients/user_root/host_1659900209_80/metadata
│ │ │ ├── log/diag/clients/user_root/host_1659900209_80/metadata/ADR_CONTROL.ams
│ │ │ ├── log/diag/clients/user_root/host_1659900209_80/metadata/ADR_INVALIDATION.ams
│ │ │ ├── log/diag/clients/user_root/host_1659900209_80/metadata/INC_METER_IMPT_DEF.ams
│ │ │ └── log/diag/clients/user_root/host_1659900209_80/metadata/INC_METER_PK_IMPTS.ams
│ │ ├── log/diag/clients/user_root/host_1659900209_80/metadata_dgif
│ │ ├── log/diag/clients/user_root/host_1659900209_80/metadata_pv
│ │ ├── log/diag/clients/user_root/host_1659900209_80/stage
│ │ ├── log/diag/clients/user_root/host_1659900209_80/sweep
│ │ └── log/diag/clients/user_root/host_1659900209_80/trace
│ │ ├── log/diag/clients/user_root/host_1659900209_80/trace/ora_19508_139994149721920.trc
│ │ ├── log/diag/clients/user_root/host_1659900209_80/trace/ora_19508_139994149721920.trm
│ │ ├── log/diag/clients/user_root/host_1659900209_80/trace/ora_19521_139711813642048.trc
│ │ ├── log/diag/clients/user_root/host_1659900209_80/trace/ora_19521_139711813642048.trm
│ │ ├── log/diag/clients/user_root/host_1659900209_80/trace/ora_19561_140246566323968.trc
│ │ ├── log/diag/clients/user_root/host_1659900209_80/trace/ora_19561_140246566323968.trm
│ │ ├── log/diag/clients/user_root/host_1659900209_80/trace/ora_20324_140263743649536.trc
│ │