Log And Trc Location n In Oracle 19c RAC-20220118
导读:Oracle 19c Rac log和trc文件均集中保存在各种trace目录中,这样方便我们快速分析log和trc。
1.版本
db 19.9
gi 19.9
2.log和trc位置
查看Oracle 19c Rac中所有trace目录,并简述其作用 [root@rac2 ~]# find /u01/app/ -name trace --asm alert log and *.trc /u01/app/grid/diag/asm/+asm/+ASM2/trace --crs alert log and *.trc /u01/app/grid/diag/crs/rac2/crs/trace --db alert log and *.trc /u01/app/oracle/diag/rdbms/racdb/racdb2/trace --asmnet1lsnr_asm.log /u01/app/grid/diag/tnslsnr/rac2/asmnet1lsnr_asm/trace --listener.log /u01/app/grid/diag/tnslsnr/rac2/listener/trace --listener_scan1.log /u01/app/grid/diag/tnslsnr/rac2/listener_scan1/trace --network log /u01/app/19.0.0/grid/network/trace /u01/app/oracle/product/19.0.0/db_1/network/trace --chad alert log and *.trc /u01/app/grid/crsdata/rac2/trace --tfa alert log and *.trc /u01/app/grid/oracle.ahf/data/rac2/diag/tfa/tfactl/user_root/trace /u01/app/grid/oracle.ahf/data/rac2/diag/tfa/tfactl/user_grid/trace /u01/app/grid/oracle.ahf/data/rac2/diag/tfa/tfactl/user_oracle/trace --sqlnet.log(待定) /u01/app/grid/diag/clients/user_root/host_349980017_110/trace --asmtool alert log /u01/app/grid/diag/asmtool/user_root/host_349980017_110/trace --asmcmd执行的 alert log /u01/app/grid/diag/asmcmd/user_grid/rac2/trace --kfod执行的trc /u01/app/grid/diag/kfod/rac2/kfod/trace --arc alert log and *.trc /u01/app/grid/oracle.ahf/data/rac2/diag/acr/user_root/diag/acr/rac2/acrctl/trace --adr alert log and *.trc /u01/app/19.0.0/grid/oradiag_grid/diag/clients/user_grid/host_1874443374_110/trace --弃用 /u01/app/19.0.0/grid/crs/trace
3.简述CRS的trace目录中包含哪些trc文件
-rw-rw---- 1 root oinstall 4685793 1月 17 21:13 osysmond.trc -rw-rw---- 1 root oinstall 803046 1月 17 21:13 osysmond.trm -rw-rw---- 1 root oinstall 238593 1月 17 21:56 ohasd_cssdmonitor_root.trm -rw-rw---- 1 root oinstall 1202682 1月 17 21:56 ohasd_cssdmonitor_root.trc -rw-rw---- 1 root oinstall 247894 1月 17 21:56 ohasd_cssdagent_root.trm -rw-rw---- 1 root oinstall 1272117 1月 17 21:56 ohasd_cssdagent_root.trc -rw-rw---- 1 grid oinstall 294684 1月 17 21:56 gpnpd.trm -rw-rw---- 1 grid oinstall 2477088 1月 17 21:56 gpnpd.trc -rw-rw---- 1 grid oinstall 332588 1月 17 21:57 evmd.trm -rw-rw---- 1 grid oinstall 3738736 1月 17 21:57 evmd.trc -rw-rw---- 1 grid oinstall 1229621 1月 17 21:57 crsd_oraagent_grid.trm -rw-rw---- 1 grid oinstall 8056187 1月 17 21:57 crsd_oraagent_grid.trc -rw-rw---- 1 root oinstall 374158 1月 17 21:57 crsd_orarootagent_root.trm -rw-rw---- 1 root oinstall 2146380 1月 17 21:57 crsd_orarootagent_root.trc -rw-rw---- 1 root oinstall 1455264 1月 17 21:57 ohasd.trm -rw-rw---- 1 root oinstall 9092860 1月 17 21:57 ohasd.trc -rw-rw---- 1 oracle oinstall 680710 1月 17 21:57 crsd_oraagent_oracle.trm -rw-rw---- 1 oracle oinstall 4756086 1月 17 21:57 crsd_oraagent_oracle.trc -rw-rw---- 1 grid oinstall 1456668 1月 17 21:57 gipcd.trm -rw-rw---- 1 grid oinstall 12355424 1月 17 21:57 gipcd.trc -rw-rw---- 1 root oinstall 2663087 1月 17 21:57 ohasd_orarootagent_root.trm -rw-rw---- 1 root oinstall 16649232 1月 17 21:57 ohasd_orarootagent_root.trc -rw-rw---- 1 grid oinstall 3735195 1月 17 21:57 ocssd.trm -rw-rw---- 1 grid oinstall 28127903 1月 17 21:57 ocssd.trc -rw-rw---- 1 grid oinstall 572790 1月 17 21:57 ohasd_oraagent_grid.trm -rw-rw---- 1 grid oinstall 3081452 1月 17 21:57 ohasd_oraagent_grid.trc -rw-rw---- 1 root oinstall 2582405 1月 17 21:57 octssd.trm -rw-rw---- 1 root oinstall 15621586 1月 17 21:57 octssd.trc -rw-rw---- 1 root oinstall 1008257 1月 17 21:57 crsd.trm -rw-rw---- 1 root oinstall 7158217 1月 17 21:57 crsd.trc