ORA-19606: Cannot copy or restore to snapshot control file

東北胖子發表於2018-01-31
今早上班發現在刪除過期備份的控制檔案映象時報錯,查詢mos發現如下文章可以解決,特此記錄:
Error ORA-19606 on RMAN Delete (文件 ID 1215493.1)
處理思路是將指定過期的映象控制檔案從控制檔案記錄的備份資訊uncatalog出去,如下

SYMPTOMS:
=== ODM Issue Clarification ===


Receiving error on 'delete obsolete':
delete noprompt obsolete device type disk;


RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 5 days
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Control File Copy 3 01-SEP-10 C:\APP\ADMINISTRATOR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFAXMPRD.ORA
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of delete command on ORA_MAINT_DISK_1 channel at 09/09/2010 02:04:24
ORA-19606: Cannot copy or restore to snapshot control file




CAUSE:

=== ODM Cause Determination ===

The snapshot controlfile is cataloged as a controlfile copy and is now obsolete. RMAN cannot delete this file as it is used by rman. 


=== ODM Cause Justification ===

Error and information supplied justifies cause

SOLUTION:

=== ODM Solution / Action Plan ===
The snapshot controlfile must be removed as a valid controlfile copy.  To do this, you would:
RMAN>  change controlfilecopy 'C:\APP\ADMINISTRATOR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFAXMPRD.ORA' uncatalog;
Confirm with:
RMAN>  list copy of controlfile;

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/2317695/viewspace-2150730/,如需轉載,請註明出處,否則將追究法律責任。

相關文章