Recovery failing with ORA-00328, ORA-00334 [ID 1327154.1]
Recovery failing with ORA-00328,
ORA-00334 [ID 1327154.1]
In this Document
Symptoms
Cause
Solution
References
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review. |
Applies to:
Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 11.2.0.2 - Release: 9.2 to 11.2Information in this document applies to any platform.
Symptoms
Recovery is failing with errors like these:SQL> recover database using backup controlfile until
cancel;
ORA-00279: change 3761213609795 generated at 05/16/2011 06:54:19 needed for thread 1
ORA-00289: suggestion : /usr/oracle/p003/archive/arch/_677042908_1_237409.log
ORA-00280: change 3761213609795 for thread 1 is in sequence #237409
Specify log: {=suggested | filename | AUTO | CANCEL}
ORA-00328: archived log ends at change 3760559938982, need later change 3761213609795
ORA-00334: archived log: '/usr/oracle/p003/archive/arch/_677042908_1_237409.log'
ORA-00279: change 3761213609795 generated at 05/16/2011 06:54:19 needed for thread 1
ORA-00289: suggestion : /usr/oracle/p003/archive/arch/_677042908_1_237409.log
ORA-00280: change 3761213609795 for thread 1 is in sequence #237409
Specify log: {
ORA-00328: archived log ends at change 3760559938982, need later change 3761213609795
ORA-00334: archived log: '/usr/oracle/p003/archive/arch/_677042908_1_237409.log'
Cause
- database was restored to a new host (most likely but not required)- database was opened read/write and NOT with RESETLOGS, so likely a COLD backup including the online redologs has been restored.
- database shutdowned and mounted afterwards, then recovery was started.
The database cannot be opened read/write then recovered. When the restored database is opened read/write it sends the database off into a different "direction" from the source (SCNs from the source archivelog files will not match the SCN requested by the recover command). When you try to apply an archivelog from the source you will see ORA-00328 / ORA-00334.
Look in the alert log for the restored database to see if it was opened after the restore.
Solution
It is STRONGLY recommend to NEVER EVER restore the online redolog files, not even for a COLD-backup. This would have prevented the initial startup to succeed, and the archived redologs would NOT have been overwritten with new and different SCN's.Re-restore the datafiles, move any archivelog files created from the restored database after it was opened, mount, start the recovery.
References
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-764822/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MRP0: Background Media Recovery terminated with error 328,ORA-00328Error
- 【recovery】android使用串列埠列印recovery除錯日誌Android串列埠除錯
- ServeRAID disk drive error recoveryServerAIError
- Creating Standby Database With Enterprise Manager Failing (文件 ID 1400482.1)DatabaseAI
- Failing when including --with-mysqlAIMySql
- 使用Recovery ID恢復密碼(ZT)密碼
- Android 關機、重啟、recovery流程分析Android
- Backup and Recovery Scenarios (Doc ID 94114.1)iOS
- RMAN: Monitoring Recovery Manager Jobs [ID 144640.1]
- MySQL運維之binlog_gtid_simple_recovery(GTID)MySql運維
- 解決物理standby 歸檔日誌損壞ORA-00334
- oracle database backup and recovery user's guide part IVOracleDatabaseGUIIDE
- oracle database backup and recovery user's guide part IIIOracleDatabaseGUIIDE
- Archiver Failing With Ora-12571: Tns:Packet Writer Failure (文件 ID 1143523.1)HiveAI
- Backup And Recovery User's Guide-RMAN TSPITR模型GUIIDE模型
- oracle database backup and recovery user's guide part VII & VIIIOracleDatabaseGUIIDE
- oracle database backup and recovery user's guide part V & VIOracleDatabaseGUIIDE
- oracle database backup and recovery user's guide part I & IIOracleDatabaseGUIIDE
- Crash recovery和Media recovery的區別
- 【Oracle】-Difference between Instance recovery and Crash RecoveryOracle
- Create recovery catalog Configure Recovery Manager
- oracle RECOVERY_PARALLELISM與instance recovery和medium recovery的關係小記OracleParallel
- Performing Tablespace Point-in-Time Recovery with Recovery Manager(轉)ORM
- Backup And Recovery User's Guide-RMAN資料修復概念GUIIDE
- Backup And Recovery User's Guide-禁用塊改變跟蹤GUIIDE
- Heibei solids control Water Based Mud (WBM) Recovery SystemSolid
- RMAN : Consistent Backup, Restore and Recovery using RMAN (Doc ID 162855.1)REST
- postgres crash recovery
- 遭遇 bug InnoDB: Failing assertion: page_get_n_recs(page) > 1AI
- Oracle 11gR2 fast recovery area = flash recovery areaOracleAST
- 如何進入Android系統的Bootloader和Recovery環境Androidboot
- 安卓資料恢復工具:Mac FoneLab Android Data Recovery for Mac安卓資料恢復MacAndroid
- Backup And Recovery User's Guide-建立和更新增量備份GUIIDE
- Backup And Recovery User's Guide-聯機重做日誌切換GUIIDE
- Backup And Recovery User's Guide-RMAN備份概念-增量備份GUIIDE
- Backup And Recovery User's Guide-RMAN架構-RMAN庫(Repository)GUIIDE架構
- Backup And Recovery User's Guide-RMAN TSPITR的基本概念GUIIDE
- Backup And Recovery User's Guide-執行閃回刪除操作GUIIDE