【RMAN】RMAN-05001: auxiliary filename conflicts with the target database
在oracle 10.2.0.1中使用duplicate 建立standby的時候,遇到如下錯誤:
RMAN> duplicate target database for standby;
sql statement: alter database mount standby database
released channel: ORA_AUX_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/24/2011 10:38:31
RMAN-05501: aborting duplication of target database
RMAN-05001: auxiliary filename /opt/oracle/oradata/orcl/example01.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary filename /opt/oracle/oradata/orcl/users01.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary filename /opt/oracle/oradata/orcl/sysaux01.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary filename /opt/oracle/oradata/orcl/undotbs01.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary filename /opt/oracle/oradata/orcl/system01.dbf conflicts with a file used by the target database
如果在RMAN恢復時不指定 nofilenamecheck 引數,則在資料檔案相同檔名恢復時會出現RMAN-05501錯誤,當主庫,備庫的資料庫檔案目錄是一樣的時候,必須使用 nofilenamecheck引數告訴rman主庫和被建立的備份庫擁有一樣的檔案目錄和檔名。
RMAN> duplicate target database for standby nofilenamecheck;
Starting Duplicate Db at 24-AUG-11
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=34 devtype=DISK
contents of Memory Script.:
{
restore clone standby controlfile;
sql clone 'alter database mount standby database';
}
executing Memory Script
Starting restore at 24-AUG-11
using channel ORA_AUX_DISK_1
failover to previous backup
channel ORA_AUX_DISK_1: starting datafile backupset restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece /opt/oracle/flash_recovery_area/ORCL/backupset/2011_08_23/o1_mf_ncnnf_TAG20110823T202127_7576t7qv_.bkp
channel ORA_AUX_DISK_1: restored backup piece 1
piece handle=/opt/oracle/flash_recovery_area/ORCL/backupset/2011_08_23/o1_mf_ncnnf_TAG20110823T202127_7576t7qv_.bkp tag=TAG20110823T202127
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
output filename=/opt/oracle/oradata/orcl/control01.ctl
output filename=/opt/oracle/oradata/orcl/control02.ctl
output filename=/opt/oracle/oradata/orcl/control03.ctl
Finished restore at 24-AUG-11
sql statement: alter database mount standby database
released channel: ORA_AUX_DISK_1
contents of Memory Script.:
{
set newname for tempfile 1 to
"/opt/oracle/oradata/orcl/temp01.dbf";
switch clone tempfile all;
set newname for datafile 1 to
"/opt/oracle/oradata/orcl/system01.dbf";
set newname for datafile 2 to
"/opt/oracle/oradata/orcl/undotbs01.dbf";
set newname for datafile 3 to
"/opt/oracle/oradata/orcl/sysaux01.dbf";
set newname for datafile 4 to
"/opt/oracle/oradata/orcl/users01.dbf";
set newname for datafile 5 to
"/opt/oracle/oradata/orcl/example01.dbf";
restore
check readonly
clone database
;
}
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28389881/viewspace-1705376/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RMAN-05517: temporary file conflicts with file used by target database(zt)Database
- RMAN 6217 not connected to auxiliary database with a net service nameUXDatabase
- 【RMAN】RMAN-20001: target database not found in recoveryDatabase
- RMAN-05541: no archived logs found in target databaseHiveDatabase
- 11g rman新特性 duplicate target database for standby from active databaseDatabase
- RMAN-05001,RMAN-05500 問題解決
- rman duplicate建立異地auxiliary Database oracle_11g oracle_sid不同UXDatabaseOracle
- rman duplicate建立異地auxiliary Database oracle_11g oracle_sid相同UXDatabaseOracle
- RMAN-04006: error from auxiliary database: ORA-01034: ORACLE not availableErrorUXDatabaseOracleAI
- RMAN-20005: target database name is ambiguousDatabase
- rman duplicate target database RMAN-03002 RMAN-03015 RMAN-06136Database
- “rman target /” 和 “rman nocatalog target /” 區別
- RMAN-04006: error from auxiliary database: ORA-01017: invalid username/password;ErrorUXDatabase
- RMAN-20001: target database not found in recovery catalogDatabase
- auxiliary database: ORA-12528錯誤UXDatabase
- "rman target /” 和"rman nocatalog target /”區別實踐
- rman target / debug trace
- rman: can't open target
- rman連線AUXILIARY報錯ORA-12528UX
- 使用oracle 11g rman新特性 duplicate target database for standby from active database 建立物理dataguard並開啟RealOracleDatabase
- RMAN的"rman: can't open target"錯誤
- RMAN duplicat databaseDatabase
- rman recover databaseDatabase
- RMAN duplicate databaseDatabase
- Hide RMAN Passwords when Connecting to a Target Database (Doc ID 183377.1)IDEDatabase
- oracle 10g rman duplicate target database for standby會自動新增臨時檔案Oracle 10gDatabase
- RMAN-20002: target database already registered in recovery catalog 解決方法Database
- 【轉帖】rman連線AUXILIARY報錯ORA-12528UX
- Rman backup standby databaseDatabase
- 沒有連線target database的情況下執行RMAN duplicate可能引發的問題Database
- 通過rman duplicate database!Database
- rman backup database force 功能Database
- RMAN duplicate database到新主機Database
- rman 建 Standby Database 筆記Database筆記
- RMAN CONVERT DATABASE 的限制Database
- Bug 13250486 : ADD STANDBY DATABASE FOR TARGET WITH FLASHBACK ON FAILS WITH ERRDatabaseAI
- Duplicating a Database Without Recovery Catalog or Target ConnectionDatabase
- Duplicate Database from ASM to Non- ASM Database Using RMANDatabaseASM