Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-01103: database name 'PROD1' in control file is not 'PROD2'

864988Jul 18 2013 — edited Jul 19 2013

Dear Experts,

I am trying to use a full compressed backup of PROD1database to create a new database called PROD2 on the SAME host.

Both databases are using 11.2.0.2 version on Oracle Redhat 5.

1- I created pfile from source PROD1 database, and modified the following;

{code}

*.control_files='+prod2_DG/prod2/controlfile/control01.ctl'

*.db_create_file_dest='+prod2_DG'

*.db_name='prod2'

{code}

2- Started up no mount the prod2 database using the new pfile.

3- restore the controlfile from PROD1 backup;

restore controlfile from '/tmp/prod2/prod1_cntl_4ioet09f_1_1.bkp'

4- alter database mount give me the following error;

{code}

RMAN-00571: ===========================================================

RMAN-03002: failure of startup command at 07/18/2013 05:52:51

ORA-01103: database name 'PROD1' in control file is not 'PROD2'

{code}

I want to test the backup made on prod1 and same time have a new database prod2 on same host.

I also tried with SET DBID = <DBID_OF_PROD1> and it doesn't work!

How I can fix that?

Thanks and best regards

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 16 2013
Added on Jul 18 2013
10 comments
35,109 views