ITPub博客

首页 > Linux操作系统 > Linux操作系统 > RMAN-00571 RMAN-00569 RMAN-00571 RMAN-03009 ORA-19588

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

原创 Linux操作系统 作者:yyp2009 时间:2012-12-08 14:50:29 0 删除 编辑

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博客 ” ,链接:https://blog.itpub.net/13750068/viewspace-750784/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: Online Redefinition
请登录后发表评论 登录
全部评论

注册时间:2008-10-17

  • 博文量
    330
  • 访问量
    1094530