Oracle RMAN 丢失归档日志:ORA-19625: error identifying file


在CentOS 5.6 x64 平台备份时出现错误:

RMAN> backup archivelog all format='/opt/Oracle/backup/arch_%T_%s_%p.bak';

Starting backup at 31-AUG-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=11 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 08/31/2011 23:52:25
RMAN-06059: expected archived log not found, loss of archived log compromises recoverability
ORA-19625: error identifying file /data/oracle/fast_recovery_area/DB1/archivelog/2011_08_30/o1_mf_1_5_75t010tk_.arc
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3

这时要进行交叉检测:

RMAN> change archivelog all crosscheck;

released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=11 device type=DISK
validation failed for archived log
archived log file name=/data/oracle/fast_recovery_area/DB1/archivelog/2011_08_30/o1_mf_1_5_75t010tk_.arc RECID=1 STAMP=760576935
validation succeeded for archived log
archived log file name=/data/oracle/db1/arch/1_6_760575845.dbf RECID=3 STAMP=760590035
validation succeeded for archived log
archived log file name=/data/oracle/db1/arch/1_7_760575845.dbf RECID=2 STAMP=760590032
validation succeeded for archived log
archived log file name=/data/oracle/db1/arch/1_8_760575845.dbf RECID=4 STAMP=760590804
validation succeeded for archived log
archived log file name=/data/oracle/db1/arch/1_9_760575845.dbf RECID=5 STAMP=760590810
validation succeeded for archived log
archived log file name=/data/oracle/db1/arch/1_10_760575845.dbf RECID=6 STAMP=760592700
validation succeeded for archived log
archived log file name=/data/oracle/db1/arch/1_11_760575845.dbf RECID=7 STAMP=760592700
validation succeeded for archived log
archived log file name=/data/oracle/db1/arch/1_12_760575845.dbf RECID=8 STAMP=760594889
validation succeeded for archived log
archived log file name=/data/oracle/db1/arch/1_13_760575845.dbf RECID=9 STAMP=760594893
validation succeeded for archived log
archived log file name=/data/oracle/db1/arch/1_14_760575845.dbf RECID=10 STAMP=760594977
validation succeeded for archived log
archived log file name=/data/oracle/db1/arch/1_15_760575845.dbf RECID=11 STAMP=760595061
validation succeeded for archived log
archived log file name=/data/oracle/db1/arch/1_16_760575845.dbf RECID=12 STAMP=760598562
Crosschecked 12 objects

再备份就正常了。

相关内容