報錯日誌
主庫數據庫alert日誌
Sun Jul 18 19:40:07 2021
ARCj: Archive log rejected (thread 1 sequence 225901) at host 'xxxxxx'
FAL[server, ARCj]: FAL archive failed, see trace file.
ARCH: FAL archive failed. Archiver continuing
ORACLE Instance xxxxxx - Archival Error. Archiver continuing.
Trace文件日誌
alert日誌中,讓查看trace file
# 查看arcj進程的trace文件
cd /oracle/diag/rdbms/xxxxxx/xxxxxx/trace
more xxxxx_arcj_22762.trc
Log read is SYNCHRONOUS though disk_asynch_io is enabled!
Error 16401 creating standby archive log file at host 'xxxxxx'
*** 2021-07-18 19:40:07.266
kcrrwkx: unknown error:16401
Log read is SYNCHRONOUS though disk_asynch_io is enabled!
Log read is SYNCHRONOUS though disk_asynch_io is enabled!
在相同的時間,出現了16401的錯誤
錯誤原因
# 查看16401報錯
oerr ora 16401
# 16401, 00000, "archive log rejected by Remote File Server (RFS)"
# // *Cause: An attempt was made to re-archive an existing archive log.
# // *Action: See alert log and trace file for more details.
# // No action is necessary. This is an informational statement provided
# // to record the event for diagnostic purposes.
可以看到是因為重複歸檔一個已經存在的歸檔(備庫中)
查看網上資料FAL[server, ARCN]: FAL archive failed ORA-16401
原因是主庫的歸檔切換過快或者是當時主備庫之間帶寬不足,導致主庫在GAP檢查時,發現有GAP(縫隙),會重新打開一個歸檔進程進行歸檔的傳送,這時,由於原有的歸檔正在被生成,造成重複生成,就會報這個錯誤。也即上一个归档为传送完成,下一个归档切换了。