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 'ORDB' in control file is not 'ORCL'

newbieDBAApr 5 2013 — edited Apr 5 2013
hey there !!
11.2.0
win 7 pro

let me tell u whole scenario for how i reach to this error - ORA-01103: database name 'ORDB' in control file is not 'ORCL'
-installed new 11g ( test/ practice environment )
-by default database created 'ORCL' while installation
-created another instance 'ORDB' ( my aim was to create auxiliary database/duplicate database )
-done well according to oracle documents and SUCESSFULLY created a duplicated database
-i thot of sycnronization to auxiliary to target db , so i read docs and learn that you can issue
DUPLICATE TARGET DATABASE TO dupdb ( its an oracle Doc's exmple so i put my db name and path accordingly )
SKIP TABLESPACE tools
LOGFILE
GROUP 1 ('/duplogs/redo01a.log',
'/duplogs/redo01b.log') SIZE 200K REUSE,
GROUP 2 ('/duplogs/redo02a.log',
'/duplogs/redo02b.log') SIZE 200K REUSE;
NOW, process was Failed , above command didn work bcos of some syntax error .
BUT what happned is - now whenever i connect both target and auxiliary database from RMAN it shows this -


C:\Users\Administrator>rman target /@orcl auxiliary /@ordb

Recovery Manager: Release 11.2.0.1.0 - Production on Fri Apr 5 10:54:04 2013

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

connected to target database: ORCL (DBID=1339650140)
connected to auxiliary database: ORCL (not mounted)

RMAN>
and also whenever i connect Target ( main , not auxiliary db ) from SQL it shows the error that i described in title .

I feel like something BUG because this happned to me 5th time , in that 5 times 4 times i got this error while i was duplicating a database . and also after sucessfully duplicated DB ( that was 5th time )

Thanks
Regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2013
Added on Apr 5 2013
2 comments
2,531 views