RMAN-06133 錯誤解決一例
一、問題:在做資料庫的異地恢復的時候,恢復控制檔案報RMAN-06024錯
RMAN> run{
2> allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
3> sql 'alter session set NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"';
4> sql 'alter session set NLS_LANGUAGE=American';
5> set until time='2009-07-09 21:50:00';
6> restore controlfile;
7> release channel t1;
8> }
allocated channel: t1
channel t1: sid=1117 devtype=SBT_TAPE
channel t1: Data Protection for Oracle: version 5.3.3.0
sql statement: alter session set NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"
sql statement: alter session set NLS_LANGUAGE=American
executing command: SET until clause
Starting restore at 10-JUL-09
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/10/2009 09:24:45
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
crosscheck發現控制檔案是存在的:crosscheck結果如下:
backup piece handle=controlfile1_20090708_691709298 recid=5718 stamp=691709298
crosschecked backup piece: found to be 'AVAILABLE'
透過 restore controlfile from "controlfile1_20090708_691709298";語句可以恢復該控制檔案。
但接下來恢復資料檔案時,報RMAN-06133錯誤:
RMAN> run{
2> allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
3> sql 'alter session set NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"';
4> sql 'alter session set NLS_LANGUAGE=American';
5> set until time='2009-07-09 21:50:00';
6> restore database;
7> release channel t1;
8> }
allocated channel: t1
channel t1: sid=1117 devtype=SBT_TAPE
channel t1: Data Protection for Oracle: version 5.3.3.0
sql statement: alter session set NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"
sql statement: alter session set NLS_LANGUAGE=American
executing command: SET until clause
Starting restore at 10-JUL-09
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/10/2009 10:45:12
RMAN-06133: recovery catalog may have obsolete data for datafile 43
二、在原備份的資料庫上檢查43號檔案,是最近加入的,懷疑是rman的catalog資訊和資料庫的控制檔案不一致,透過resync catalog之後,重新恢復控制檔案,然後恢復資料檔案,解決了問題
三、操作步驟
$ rman target / catalog
RMAN> resync catalog;
starting full resync of recovery catalog
full resync complete
RMAN>
[@more@]相關錯誤:
RMAN-06133: | recovery catalog may have obsolete data for datafile string |
Cause: | A RESTORE UNTIL was issued, and the recovery catalog choose an older incarnation of the datafile than is listed in the control file. |
Action: | If the recovery catalog has correct data for the datafile, then restore a backup control file using the same UNTIL clause, then retry the datafile restore. Otherwise, restore a backup of the incarnation of the datafile listed in the control file. |
Oracle Error :: RMAN-06093
Cause
The specified datafile number was dropped and then reused. The control file mounted by the target database contains the newer version of the datafile, but the recovery catalog contains information about only the older version.
Action
Issue a RESYNC command to update the recovery catalog, then reissue the failing command. If the error persists, contact Oracle Customer Support.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22049049/viewspace-1024033/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-03113錯誤解決一例
- MySQL 5.6 GTID常見錯誤解決一例MySql
- ORA-02063錯誤解決一例
- ORA-12514: 錯誤解決一例
- client backup was not attempted because backup window closed 錯誤解決一例client
- Linux共享連結庫錯誤解決一例(轉)Linux
- ORA-02019錯誤解決一例
- GCS shadows traversed, 4001 replayed 錯誤解決一例GC
- 通過sql跟蹤解決ORA-00942錯誤一例SQL
- 解決了一例Shutdown時碰到Ora-600錯誤的問題
- Ocelot錯誤解決
- catalog is missing 10 attribute(s)錯誤的解決辦法一例
- keepalived啟動報錯解決一例
- VIM 常用錯誤解決
- sqldeveloper for windows 錯誤解決SQLDeveloperWindows
- TNS-12547,TNS-12537錯誤解決方法一例
- ORA-01547、ORA-01994錯誤解決一例
- vsftpd 錯誤:530 and 500 錯誤解決方法FTP
- AIX中使用DBCA建立資料庫ora-12547錯誤解決一例AI資料庫
- timesten11218 ORA-12154錯誤解決一例
- latex 錯誤以及解決方案
- ora-27504錯誤解決
- Datastore error in 'dirbdb'錯誤解決ASTError
- ORA-27054 錯誤解決
- mysql與php錯誤解決MySqlPHP
- mysql錯誤解決總結MySql
- PbootCMS 404 錯誤解決方法boot
- 【故障解決】OGG-00446 錯誤解決
- 使用Push方式安裝EM 12c Agent報Shell path is incorrect錯誤解決一例
- dbfread報錯ValueError錯誤解決方法Error
- SQL server 7安裝錯誤一例SQLServer
- 【故障解決】ORA-06502錯誤解決
- HTTP 錯誤 500.19- Internal Server Error 錯誤解決方法HTTPServerError
- dns錯誤怎麼辦 dns錯誤的解決辦法DNS
- HTTP代理錯誤怎麼解決?HTTP
- undefined reference to錯誤的解決方法Undefined
- SAXParseException的錯誤解決之二Exception
- PHP curl error 60 錯誤解決PHPError