RMAN-06059: expected archived log not found,ORA-19625

RMAN> backup  database format=‘/oracle_rman/%d_%s.dbf‘ plus archivelog;

Starting backup at 31-7月 -11
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=137 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 07/31/2011 12:41:15
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file /u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_2_7375pt80_.arc
ORA-27037: unable to obtain file status

 出现RMAN-06059,ORA-19625此种情况是因为归档日志已被删,但RMAN备份的时候仍然需要,备份无法进行下去,
 执行change archivelog all crosscheck ;检查归档日志命令

RMAN> change archivelog all crosscheck ;

released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=137 devtype=DISK
validation failed for archived log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_2_7375pt80_.arc recid=1 stamp=757863003
validation failed for archived log
archive log filename=/arc/1_3_757862072.dbf recid=2 stamp=757866473
validation failed for archived log
archive log filename=/arc/1_4_757862072.dbf recid=3 stamp=757867158
validation failed for archived log
archive log filename=/arc2/1_4_757862072.dbf recid=4 stamp=757867158
validation failed for archived log
archive log filename=/arc/1_5_757862072.dbf recid=5 stamp=757867305
validation failed for archived log
archive log filename=/arc2/1_5_757862072.dbf recid=6 stamp=757867305
validation failed for archived log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/SYW/archivelog/2011_07_30/o1_mf_1_6_737bg68j_.arc recid=7 stamp=757867846
validation failed for archived log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/SYW/archivelog/2011_07_30/o1_mf_1_7_737bl10x_.arc recid=8 stamp=757867969
validation failed for archived log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/SYW/archivelog/2011_07_30/o1_mf_1_8_737bl2qc_.arc recid=9 stamp=757867970
validation failed for archived log
archive log filename=/arc/1_9_757862072.dbf recid=10 stamp=757868173
validation failed for archived log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_10_737bxx9y_.arc recid=11 stamp=757868349
validation failed for archived log
archive log filename=/arc/1_11_757862072.dbf recid=12 stamp=757868925
validation succeeded for archived log
archive log filename=/arc2/1_11_757862072.dbf recid=13 stamp=757868925
validation failed for archived log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_12_737cm5vn_.arc recid=14 stamp=757869029
validation failed for archived log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_13_737crw78_.arc recid=15 stamp=757869212
validation failed for archived log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_14_737d2xd0_.arc recid=16 stamp=757869533
validation succeeded for archived log
archive log filename=/arc/1_15_757862072.dbf recid=17 stamp=757869674
validation succeeded for archived log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_15_737d7bom_.arc recid=18 stamp=757869674
validation succeeded for archived log
archive log filename=/arc/1_16_757862072.dbf recid=19 stamp=757870597
validation succeeded for archived log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_16_737f45pm_.arc recid=20 stamp=757870597
validation succeeded for archived log
archive log filename=/arc/1_17_757862072.dbf recid=21 stamp=757870657
validation succeeded for archived log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_17_737f61b4_.arc recid=22 stamp=757870657
validation succeeded for archived log
archive log filename=/arc/1_18_757862072.dbf recid=23 stamp=757946312
validation succeeded for archived log
archive log filename=/arc/1_19_757862072.dbf recid=24 stamp=757946471
Crosschecked 24 objects

发现有很多过期的归档,运行以下命令进行***过期的归档

RMAN> delete expired archivelog all;

released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=137 devtype=DISK

List of Archived Log Copies
Key     Thrd Seq     S Low Time   Name
------- ---- ------- - ---------- ----
1       1    2       X 30-7月 -11 /u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_2_7375pt80_.arc
2       1    3       X 30-7月 -11 /arc/1_3_757862072.dbf
3       1    4       X 30-7月 -11 /arc/1_4_757862072.dbf
4       1    4       X 30-7月 -11 /arc2/1_4_757862072.dbf
5       1    5       X 30-7月 -11 /arc/1_5_757862072.dbf
6       1    5       X 30-7月 -11 /arc2/1_5_757862072.dbf
7       1    6       X 30-7月 -11 /u01/app/oracle/flash_recovery_area/SYW/archivelog/SYW/archivelog/2011_07_30/o1_mf_1_6_737bg68j_.arc
8       1    7       X 30-7月 -11 /u01/app/oracle/flash_recovery_area/SYW/archivelog/SYW/archivelog/2011_07_30/o1_mf_1_7_737bl10x_.arc
9       1    8       X 30-7月 -11 /u01/app/oracle/flash_recovery_area/SYW/archivelog/SYW/archivelog/2011_07_30/o1_mf_1_8_737bl2qc_.arc
10      1    9       X 30-7月 -11 /arc/1_9_757862072.dbf
11      1    10      X 30-7月 -11 /u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_10_737bxx9y_.arc
12      1    11      X 30-7月 -11 /arc/1_11_757862072.dbf
14      1    12      X 30-7月 -11 /u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_12_737cm5vn_.arc
15      1    13      X 30-7月 -11 /u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_13_737crw78_.arc
16      1    14      X 30-7月 -11 /u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_14_737d2xd0_.arc

Do you really want to delete the above objects (enter YES or NO)? yes
deleted archive log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_2_7375pt80_.arc recid=1 stamp=757863003
deleted archive log
archive log filename=/arc/1_3_757862072.dbf recid=2 stamp=757866473
deleted archive log
archive log filename=/arc/1_4_757862072.dbf recid=3 stamp=757867158
deleted archive log
archive log filename=/arc2/1_4_757862072.dbf recid=4 stamp=757867158
deleted archive log
archive log filename=/arc/1_5_757862072.dbf recid=5 stamp=757867305
deleted archive log
archive log filename=/arc2/1_5_757862072.dbf recid=6 stamp=757867305
deleted archive log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/SYW/archivelog/2011_07_30/o1_mf_1_6_737bg68j_.arc recid=7 stamp=757867846
deleted archive log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/SYW/archivelog/2011_07_30/o1_mf_1_7_737bl10x_.arc recid=8 stamp=757867969
deleted archive log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/SYW/archivelog/2011_07_30/o1_mf_1_8_737bl2qc_.arc recid=9 stamp=757867970
deleted archive log
archive log filename=/arc/1_9_757862072.dbf recid=10 stamp=757868173
deleted archive log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_10_737bxx9y_.arc recid=11 stamp=757868349
deleted archive log
archive log filename=/arc/1_11_757862072.dbf recid=12 stamp=757868925
deleted archive log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_12_737cm5vn_.arc recid=14 stamp=757869029
deleted archive log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_13_737crw78_.arc recid=15 stamp=757869212
deleted archive log
archive log filename=/u01/app/oracle/flash_recovery_area/SYW/archivelog/2011_07_30/o1_mf_1_14_737d2xd0_.arc recid=16 stamp=757869533
Deleted 15 EXPIRED objects

***了15个过期的归档,现在再执行一次备份

RMAN> backup database format=‘/oracle_rman/%d_%s.dbf‘ plus archivelog;

Starting backup at 31-7月 -11
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=11 recid=13 stamp=757868925
input archive log thread=1 sequence=15 recid=18 stamp=757869674
input archive log thread=1 sequence=16 recid=20 stamp=757870597
input archive log thread=1 sequence=17 recid=22 stamp=757870657
input archive log thread=1 sequence=18 recid=23 stamp=757946312
input archive log thread=1 sequence=19 recid=24 stamp=757946471
input archive log thread=1 sequence=20 recid=25 stamp=757946742
input archive log thread=1 sequence=21 recid=26 stamp=757947186
input archive log thread=1 sequence=22 recid=27 stamp=757947643
channel ORA_DISK_1: starting piece 1 at 31-7月 -11
channel ORA_DISK_1: finished piece 1 at 31-7月 -11
piece handle=/u01/app/oracle/flash_recovery_area/SYW/backupset/2011_07_31/o1_mf_annnn_TAG20110731T130043_739rcx0n_.bkp tag=TAG20110731T130043 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:10
Finished backup at 31-7月 -11

Starting backup at 31-7月 -11
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/app/oracle/oradata/syw/system01.dbf
input datafile fno=00003 name=/u01/app/oracle/oradata/syw/sysaux01.dbf
input datafile fno=00002 name=/u01/app/oracle/oradata/syw/undotbs01.dbf
input datafile fno=00004 name=/u01/app/oracle/oradata/syw/users01.dbf
channel ORA_DISK_1: starting piece 1 at 31-7月 -11
channel ORA_DISK_1: finished piece 1 at 31-7月 -11
piece handle=/oracle_rman/SYW_6.dbf tag=TAG20110731T130053 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 31-7月 -11
channel ORA_DISK_1: finished piece 1 at 31-7月 -11
piece handle=/oracle_rman/SYW_7.dbf tag=TAG20110731T130053 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 31-7月 -11

Starting backup at 31-7月 -11
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=23 recid=28 stamp=757947722
channel ORA_DISK_1: starting piece 1 at 31-7月 -11
channel ORA_DISK_1: finished piece 1 at 31-7月 -11
piece handle=/u01/app/oracle/flash_recovery_area/SYW/backupset/2011_07_31/o1_mf_annnn_TAG20110731T130202_739rgcwd_.bkp tag=TAG20110731T130202 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 31-7月 -11

RMAN>

RMAN-06059: expected archived log not found,ORA-19625

时间: 2024-10-19 11:45:07

RMAN-06059: expected archived log not found,ORA-19625的相关文章

rman RMAN-06059: expected archived log not found

用rman备份数据库加上plus archivelog 备份归档日志 报这个错误RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ========================================================

RMAN-06059: expected archived log not found, loss of archived log compromises recoverability ORA-19625: error identifying file /home/Oracle/PROD/1_2_844469007.dbf

rman备份archivelog时出现以下错误: RMAN> backup archivelog all delete input; Starting backup at 14-APR-14 current log archived using channel ORA_DISK_1 using channel ORA_DISK_2 RMAN-00571: =========================================================== RMAN-00569:

DG环境RMAN删除归档报错RMAN-08137: archived log not deleted

Oracle 12C DG环境,备库归档目录告警,查看crontab脚本,发现有删除操作,保持两天的,后手动执行,查看具体报错原因: RMAN> delete noprompt expired archivelog all; released channel: ORA_DISK_1allocated channel: ORA_DISK_1channel ORA_DISK_1: SID=5408 device type=DISKspecification does not match any ar

12.2备库rman使用delete删除归档日志报错RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process

问题: 客户环境12.2 dg备库环境,定时清理归档脚本并未正常清理归档日志文件. 观察日志可以发现存在如下信息 RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process . 一般情况下,如果在备库环境或者主库环境,配置归档清理测量后,DG环境未应用归档将不允许删除. 本次排查RMAN清理归档策略默认,且无法删除的归档日志在DG视图v$archived_log 中ap

【oracle】oracledba26 RMAN recovers up to log sequence 230, but not including 230.

our database operates in ARCHIVELOGmode. The redo log files are not multiplexed and one of the online redo logs is missing. The missi ng redo log sequence, 230, is not archived and it contained informati on from 10:35 a.m. onwards. The current time i

(转)RMAN-06054: media recovery requesting unknown archived log for thread...

转自:http://blog.itpub.net/29800581/viewspace-1307267/ 使用rman执行recover database 的时候出现RMAN-06054的错误提示: RMAN> recover database; Starting recover at 21-OCT-14 using channel ORA_DISK_1 starting media recovery archived log for thread 1 with sequence 1 is al

Could not find archived log for sequence 1 thread 2 under default destinations SQL

ERROR   OGG-00446  Oracle GoldenGate Capture for Oracle, extjms2.prm:  Could not find archived log for sequence 1 thread 2 under default destinations SQL <SELECT  name    FROM v$archived_log   WHERE sequence# = :ora_seq_no AND         thread# = :ora_

【oracle】oracledba14 archived log files

The loss of which two types of files may require a recovery with the RESETLOGS option?(Choose two.) A. control files B. password file C. archived log files D. system-critical data files for which all the redo entries are present E. non-system-critica

【oracle】oracledba15 To uniquely identify the archived log files for each incarnation of the databas

You are using Oracle Database 10g. The log LOG_ARCHIVE_FORMAT pa rameter is set to 'LOG%t_%_s_%r.dbf'. Why is %r used in the file name format? A. To uniquely identify the archived log files with the restore operation. B. To uniquely identify the arch