"RMAN" rman-05001:auxiliary filename conflicts with the target database

Source: Internet
Author: User

Oracle 11.2.0.4 runs the following script to create a dataguard standby error rman-005001 using active database replication technology:


run{
Duplicate target Database
For standby
From active database
SPFile
Set Db_unique_name= ' DBKINGSTD '
Set Log_file_name_convert '/u01/app/oracle/oradata/dbking ', '/u01/app/oracle/oradata/dbking '
Set Db_file_name_convert '/u01/app/oracle/oradata/dbking ', '/u01/app/oracle/oradata/dbking '
Set control_files= '/u01/app/oracle/oradata/dbking/control.ctl '
Set log_archive_dest_2= ' Service=dbkingpri lgwr async valid_for= (online_logfiles,primary_role) db_unique_name= Dbkingpri '
Set fal_client= ' DBKINGSTD '
Set fal_server= ' Dbkingpri '
;
}

The error message is as follows:

rman-05538:warning:implicitly using Db_file_name_convert
RMAN-00571: ====================================== =====================
RMAN-00569: =============== ERROR MESSAGE STACK follows ===============
RMAN-00571: ===== ======================================================
Rman-03002:failure of Duplicate Db command at 06/28/2017 17:51:19
rman-05501:aborting Duplication of target database
Rman-05001:auxiliary file name/u01/app/oracle/ ORADATA/DBKING/USERS01.DBF conflicts with a file used by the target database
Rman-05001:auxiliary file name/u01/app/o RACLE/ORADATA/DBKING/UNDOTBS01.DBF conflicts with a file used by the target database
Rman-05001:auxiliary file name/u 01/APP/ORACLE/ORADATA/DBKING/SYSAUX01.DBF conflicts with a file used by the target database
Rman-05001:auxiliary file NAME/U01/APP/ORACLE/ORADATA/DBKING/SYSTEM01.DBF conflicts with a file used by the target database


Cause: If the Nofilenamecheck parameter is not specified during Rman recovery, a RMAN-005001 error occurs when the same file name of the data file is restored, and when the main library, the repository's database file directory is the same, you must use The Nofilenamecheck parameter tells the Rman Main library to have the same file directory and file name as the backup library being created.
Modify the script as follows and try again to create the repository successfully:

run{
Duplicate target Database
For standby Nofilenamecheck
From active database
SPFile
Set Db_unique_name= ' DBKINGSTD '
Set Log_file_name_convert '/u01/app/oracle/oradata/dbking ', '/u01/app/oracle/oradata/dbking '
Set Db_file_name_convert '/u01/app/oracle/oradata/dbking ', '/u01/app/oracle/oradata/dbking '
Set control_files= '/u01/app/oracle/oradata/dbking/control.ctl '
Set log_archive_dest_2= ' Service=dbkingpri lgwr async valid_for= (online_logfiles,primary_role) db_unique_name= Dbkingpri '
Set fal_client= ' DBKINGSTD '
Set fal_server= ' Dbkingpri '
;
}

RMAN rman-05001:auxiliary filename conflicts with the target database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.