RMAN-00571 RMAN-00569 RMAN-00571 RMAN-03009 ORA-19588

本文详细解析了Oracle数据库归档日志备份过程中遇到的常见错误及其解决方案,包括控制文件中无效记录、并发备份问题以及备份命令语法不当的情况。提供了具体的解决步骤,帮助数据库管理员有效排除故障。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Applies to:

Oracle Server - Enterprise Edition - Version 10.1.0.2 to 11.2.0.2 [Release 10.1 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 24-May-2012***


Symptoms

RMAN Backup of archived logs fails with following error:

channel dev_0: starting archive log backupset
released channel: dev_0
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on dev_0 channel at 08/27/2010 07:22:55
ORA-19588: archived log recid 1485 stamp 727949642 is no longer valid

Cause

There are a few possible causes for this error :

1. Invalid records in the controlfile

Invalid and/or deleted records in the controlfile. Records might be aged out of the controlfile during the backup.

2. The rman backup job had been started TWICE.

The initial resync for each job identified the same set of logs to be backed up.
Both jobs were trying to backup and delete the SAME archivelog set, one of which failed eventually as the other job had
already backed up and deleted the log.

 

3. Incorrect syntax


The backup command being used is correct by 'syntax', however incorrect by 'logic' because RMAN will try to backup some archivelogs (archivelogs which completed till 'sysdate-1')  twice in the same command:

RMAN> backup archivelog all archivelog until time 'sysdate -1' delete input ; 
             ^^^^^^^^^^     ^^^^^^^^                          

 

This backup command is interpreted by RMAN like the following:

+  Take backup of 'all' archived logs and then delete them

and

+ Take backup of archivelogs completed till 'sysdate-1'

If we don't specify 'DELETE INPUT', the command will be succeeded, however, by doing so, we will unnecessarily backing up some of the archived logs (archivelogs which completed till 'sysdate-1') twice which doesn't seem to be the intention of above command.

Solution

1. Invalid records in the controlfile

Run the below command to synchronize the controlfile with the current status
of the backup-related information.
RMAN> crosscheck archivelog all;

2. No concurrent RMAN backups

Make sure that concurrent backups of the archivelogs of the SAME database are not run.

 

3. Correct the syntax

 

Correct the RMAN backup command 'logically' by removing the repeated 'archivelog' keyword:

RMAN> backup archivelog until time 'sysdate -1' delete input ;

If we wish to take backup of all archivelogs, then:

RMAN> backup archivelog all delete input ;

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/13750068/viewspace-750784/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/13750068/viewspace-750784/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值