Active duplication with different DB name

Hi,
I am trying to duplicate a Primary database in another server with different db name. On firing the duplicate target database for standby from active database nofilenamecheck i face ORA-01103: database name 'ORADB' in control file is not '11GDB' error. i even tried some other duplication commands by surfing in internet but nothing worked.
Primary DB
db name : ORADB
OS : OracleLinux 5
version : 11.2.0.1.0
Standby DB
db name : 11GDB
OS : OracleLinux 5
version : 11.2.0.1.0
Both the db is running in ASM with different diskgroup name. The below shown in the content of the Standby database pfile.
11GDB.__db_cache_size=314572800
11GDB.__java_pool_size=4194304
11GDB.__large_pool_size=4194304
11GDB.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
11GDB.__pga_aggregate_target=318767104
11GDB.__sga_target=478150656
11GDB.__shared_io_pool_size=0
11GDB.__shared_pool_size=146800640
11GDB.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/11GDB/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='+STDBY/11gdb/controlfile/current.260.788911153'
*.db_block_size=8192
*.db_create_file_dest='+STDBY'
*.db_domain=''
*.db_file_name_convert='+DATA','+STDBY'
*.db_name='11GDB'
*.db_unique_name='11GDB'
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=11GDBXDB)'
*.FAL_CLIENT='11GDB'
*.FAL_SERVER='ORADB'
*.log_archive_config='dg_config=(ORADB,11GDB)'
*.log_archive_dest_1='LOCATION=+STDBY valid_for=(all_logfiles,all_roles) db_unique_name=11GDB'
*.log_archive_dest_2='service=ORADB LGWR async valid_for=(online_logfiles,primary_role) db_unique_name=ORADB'
*.log_archive_dest_STATE_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.log_file_name_convert='+DATA','+STDBY'
*.memory_target=796917760
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.standby_file_management='AUTO'
*.undo_tablespace='UNDOTBS1'
Plz anyone tell me where it goes wrong.
Regards,
007

I am trying to duplicate a Primary database in another server with different db name. On firing the duplicate target database for standby from active database nofilenamecheck i face ORA-01103: database name 'ORADB' in control file is not '11GDB' error. i even tried some other duplication commands by surfing in internet but nothing worked.When you duplicate from primary to standby. Ensure the DB_NAME same on both primary and standby and of course you can have different DB_UNIQUE_NAME in both primary and standby databases.

Similar Messages

  • HT204053 i RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    I RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    Welcome to the Apple community.
    iTunes and iCloud and different accounts, you will need to delete both accounts from your device before adding the new details in their place.
    For iCloud go to settings > iCloud, scroll down and hit the delete button. You can then sign back in using your correct details. For iTunes go to settings >store, tap your account ID and then sign out, you can then sign back in using your correct Apple ID.

  • How to pass database logon info to a Crystal Report in a subreport with different server name using VS C #

    Post Author: fabu1971
    CA Forum: .NET
    I could pass the database logon in Reports with subreports but the reports with subreports with different  server name I can not pass the logon information . Do you have any idea how I can do that to pass the database logon with different database or server name ?

    Post Author: quafto
    CA Forum: .NET
    You can use the Subreports collection of the ReportDocument object to access all the subreports in your main report. These are returned as ReportDocument objects. Once you have your subreport as a ReportDocument you can loop through your Tables collection and set the ConnectionProperties to your appropriate Server/Database. For example here is some pseudo code: ConnectionInfo boConnectionInfo = new ConnectionInfo();boConnectionInfo.ServerName = "serverName";boConnectionInfo.DatabaseName = "databaseName";boConnectionInfo.UserID = "username";boConnectionInfo.Password = "yourpassword"; foreach(ReportDocument boSubreport in mainReport.Subreports){    foreach(Table boTable in boSubreport.Database.Tables)    {        TableLogOnInfo boTableLogOnInfo = boTable.LogOnInfo;          boTableLogOnInfo.ConnectionInfo = boConnectionInfo;          boTable.ApplyLogOnInfo(boTableLogOnInfo);          boTable.Location = "newtablelocation";     }}

  • Is it possible to create a Synonym with different column names

    Hi,
    I want to create a Synonym with different columns names (Columns not in original table) . I am not sure if this can be done . Any suggessions...
    Thanks in advance....

    Synonyms are not limited to tables. Accroding to the SQL Reference, a synonym is:
    an alternative name for a table, view, sequence, procedure, stored function, package, materialized view, Java class schema object, user-defined object type, or another synonym.
    In fact, synonyms are not even validated until they are used:
    SQL> create synonym my_synonym for table_which_does_not_exist;
    Synonym created
    SQL> select * from my_synonym;
    select * from my_synonym
    ORA-00980: synonym translation is no longer valid

  • Many to many join table with different column names

    Hi have a joint table with different column names as foreign keys in the joining
    tables...
    e.g. i have a many to many reltnshp btwn Table A and Table B ..and join table
    C
    both have a column called pk.
    and the join table C has columns call fk1 and fk2
    does cmd require the same column name in the join table as in the joining table?
    are there any workarounds?
    thanks

    HI,
    No, the foreign key column names in the join table do not have to match the primary
    key names in the joined tables.
    -thorick

  • Create n tables with different number names

    Hi guys, I work with SQL Server 2008 and OS Windows Server 2008 R2 64 bits. I have to create 10 tables with different names e.g. 'Image1', 'Image2', and so on. For this goal, I use a loop and concatenation. Here is the code:
    DECLARE @i INT
    DECLARE @v_table_n CHAR
    SET @i=1
    SET @v_table_n='Image'
    WHILE (@i<=10)
    BEGIN
        DECLARE @STR VARCHAR(100)
           SET @STR = 'CREATE TABLE SQL_DB_Filestream.dbo.Image1' + @v_table_n + CAST(@i AS VARCHAR(10)) + ' (
           [ID_RowFeatVec] INTEGER NOT NULL PRIMARY KEY,
           [CF1] FLOAT,
           [CF2] FLOAT,
           [CF3] FLOAT
           EXECUTE @STR
        SET @i = @i + 1;
    END
    GO
    As a result, an error message appears:
    "The name 'CREATE TABLE SQL_DB_Filestream.dbo.Image1I1 (
        [ID_RowFeatVec] INTEGER NOT NULL PRIMARY KEY' is not a valid identifier."
    I have tried a lot of versions but it doesn't work.
    What am I doing wrong?
    Best wishes
    SV_proj

    >> I have to create 10 tables with different names e.g. 'Image1', 'Image2', and so on. For this goal, I use a loop and concatenation. Here is the code: <<
    1) An SQL Programmer would write ten CREATE TABLE statements. Are you old enough to know about Rube Goldberg? He was a cartoonist who invented inanely complex device for simple task!
    2) Ten identical tables is a huge design flaw. It is so awful I want to use it in one of my books. Tables are sets. A set is completed whole, or as Cantor said “a many that is treated as a one” (it sounds cool in German or Esperanto). 
    3) We hate loops in SQL. This is a declarative language. I will bet you have no idea what that means. 
    What you want to do is mimic a magnetic tape file system from the 1950's. We used to put a label on the tapes based on the date or a sequence number. Not a completed whole. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to join two columns between two tables with different column names

    Hi
    How i can join 2 columns with different names between the 2 tables.
    Can any one please give solution for this.
    Thanks
    Manu

    Hi,
    basic understanding of joins:
    If you want to join 2 tables there should be matching column w.r.t. data and it's data type. You need not to have same column names in both the tables...
    so, find those columns which has got same values..

  • IDoc to File with different file name and data based on the IDoc header dat

    Hi,
    I got a requirement to implement IDOC to file senario.  In this the Converted file should have the file name and file content based on IDoc Header data.  Means If one of the IDoc header field value is
    'A'  - then the file name recieved by reciever system should be 'A.txt' and with the columns A  B  C  D  F.
    'B'  - then the file name recieved by reciever system should be 'B.txt' and with the columns C  D  F.
    In both the case IDoc message type is same.
    Please suggest me what i need to do to achieve this.
    Thanks in Advance. ...
    Regards
    Sri

    Hi,
    As per my requirement, we need to create one file for each IDoc based on IDoc header data. SAP program generates 10 IDocs for each run. All 10 IDoc's message type is same.  Each IDoc has one header record with the file name. Base on the  name in the IDoc header record, file needs to be created with different columns and file name. Means..
    IDoc 01- Header Description contains 'A' - than file will be generated should have name as 'A.txt' and columns 'parent'  'child' 'descripion'.
    IDoc 02- Header Description contains 'B' - than file will be generated should have name as 'B.txt' and columns 'Name' 'Department' 'Description'.
    IDoc 10- Header Description contains 'J' - than file will be generated should have name as 'J.txt' and columns 'Order No'  'Materail' 'Description'.
    Hope this will give more clarity on my requirement. Please let me if you are still not clear on requirement.
    Thanks for your all help..
    Thanks & Regards
    Sreeni

  • Log on into the function module with different user name.

    hi,
            i log on into the system with my user id suppose 'mukka' and i have to check the authorization of another user say 'you' using the function module "authority_check_tcode". but here i am getting the problem that when i assigned sy-uname to 'you' and execute the function module it is entering into the function module with 'mukka' user name only.
    sample code:-
                                sy-uname  = p_uname.
        CALL FUNCTION 'AUTHORITY_CHECK_TCODE'  "#EC"
          EXPORTING
            tcode  = v_tcode
          EXCEPTIONS
            ok     = 1
            not_ok = 2.
    when i am changing the sy-uname with p_uname the sy-uname is changed but when i entered into the function module authority_check_tcode in the debugging mode at the below the sy-uname variable is showing  as 'mukka' only. but i need to check the authorizations of user 'you' pls give me solution to my problem.

    Hi,
    Why would you want to check the authorisation of another user and not the one currently logged in?  The idea of authorisations is to check the current user is able to perform a certain activity.  The majority of fields on SYST are constantly updated to have the correct values (partly so you can't fiddel authorisation checks like this
    Maybe if you explain to us what you are trying to do we can offer some other help.
    Gareth.

  • Restore Rman hotback in different machine with different Database name

    Hi All,
    I have oracle 11.2.0.3.0 in Windows 2003 R2 server 64 bit version,i have my production database "Proddb" in archivelog mode , I have taken RMAN hot backup at 9 AM and i want to restore this RMAN backup into new Machine with new Db Name "Testdb" at 1 PM ,in between 9 AM to 1 PM lots of transactions happened , lots of archivelogs got generated ..
    Can anyone tell me how to restore RMAN Backup in different machine with new Db name and also how to apply those archive logs which got generated between 9 AM to 1 PM.
    Thanks & Regards,
    Vikash Jain

    http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814Yes you will have to apply all those archivelog after yours last backup 9:00 AM to 1:00 PM , someone give you good link to restore the RMAN backup from one machine ot another machine but it is missing one thing which you require is to restore database at new machine with new DB_NAME , for that you can do it in two ways after restoring and recovering the database.
    1)After restoring with original name "Proddb" do not recover database ,Create contorlfile in control.txt format using alter database backup controlfile to trace,Shutdown restored database ,delete/rename contorolfile ,recreate controlfile from control.txt which by setting its first line as
    Create controlfile set database "Testdb" resetlogs noarchivelogStartup mount with new created controlfile after defining new controlfile in pfile ,recover database at sql using backup controlfile "recover database using backup controlfile untill cancel" supply log till 1:00 PM ,Open database with resetlogs,run at comand prompt
    sqlplus "/ as sysdba" @aduplib.sql so2)Or better approach is http://docs.oracle.com/cd/B28359_01/server.111/b28319/dbnewid.htm.
    Khurram

  • How do you do a quick transfer of data from one TX to another TX with different user name

    I have more than one TX and want to keep most of the information, addresses, media, calendar as well as third party software the same on all my TX's.  Is there a way to do this without the long hassle of exporting all that can be exported, and then importing it into each TX.  Then adding all the third party software again?  I have a new TX and remember how long this takes, so I am hoping for a faster method.   I already know how to do a transfer if using the same user name, but this won't work when each will have a different user name in order to hotsync.
    This may be a different question. All the TXs will be used and will sync to the same computer via USB, and all are on the Palm Desktop.   I want to use them interchangeably.  I would also like to keep the information current on all of them, as I now must copy paste any new info (ex. new address) into each via either palm desktop, or beaming to the others.  Often this leads to discrepancies of the data between the different TXs. 
    Post relates to: Palm TX
    Message Edited by Silfox on 06-22-2009 09:03 AM

    You might look into a program called "SyncUs" from an author in the UK.  It will keep all the PIM data synced between two Palm OS units.
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Mutiple sender files and receiver files with different file names

    Hi All,
    Following is my scenario: File (FTP) --> XI --> File (NFS actually SAP system)
    I have 5 source files like ABC<b>1</b>_DateTimeStamp, ABC<b>2</b>_DateTimeStamp, ABC<b>3</b>_DateTimeStamp, ABC<b>3</b>_DateTimeStamp and ABC<b>3</b>_DateTimeStamp.
    I can use single sender file FTP adapter with file name ABC* which picks up all 5 files, but can I use single receiver adapter to create 5 different files with the following file names: ABC1, ABC2, ABC3, ABC3 and ABC3 ?? And last 2 files (ABC3 and ABC3....same name) should be created after 30min and 60min of first ABC3 file. We have to do this because we have jobs scedule on SAP side with variants having file names.
    Is it possible to achieve using single sender/receiver file adapter??
    If not any suggestions how to do this scenario?? 
    Thx
    Navin

    Navin,
    I doesn't know whether its feasible for you or not. Please see the below option
    Create 3 Sender  comm.channels and 1 Receiver comm.channel. In Sender /Receiver file adapter check the Adapter Specific Message attributes.
    I'm suggesting the soln using BPM.
    In IR, Create 3 Outbound Interface (Abstract) and create 1 Inbound Interface(Abstract).
    First 2 comm.channel and 2 Oubtound interface refers to file 1 & file2 respectively.
    The 3rd comm.channel and 3 Outbound interfaces refers to file3 & file4& file 5 .
    Please see the BPM design.
    http://www.flickr.com/photo_zoom.gne?id=698877499&size=o
    Note : Navin the above suggestion is my thought, I think it will work. U can juz give a try.
    Best regards,
    raj.

  • Software install to multiple macs with different account names.

    I will be installing the CS2 creative suite using ARD3. Each home account or profile on each mac is a different name. Installing the apps are fine, but i have preference files that need to be placed in each users preference folder. Does anyone know a easy way to do this with out loging into each account, or specifiying the different path each time when placing the files?

    there is a Macenterprise.org webcast that discusses this. it's not easy if you're not familiar with Automator or Applescript, and i've never done it, but basically you use a combination of Automator and ARD.
    i don't know if the actual webcast archive has been put up yet but the slide presentation has been and maybe some of the scripts.
    http://macenterprise.org/content/view/223/140/
    http://macenterprise.org/content/view/221/82/
    http://macenterprise.org/content/blogcategory/117/130/

  • Script to SaveForWeb with different file name

    Can someone direct me to a script that can take the file and SaveForWeb in different versions and append different text to the filename?
    For example, say I've got a file called "myPhoto".  I need a script that saves it as  JPEG called "myPhotoPOWERPOINT" and a GIF called "myPhotoWEB"
    Is this possible?
    Thanks to everyone for your time

    This script will export the activeDocument as a jpg and gif
    function exportSFWJpg( doc, saveFile, qty ) {
         var exportOpts = new ExportOptionsSaveForWeb( );
         // see guide for other options
         exportOpts.format = SaveDocumentType.JPEG
         exportOpts.includeProfile = true;//default false
         exportOpts.quality = qty;
         if ( saveFile.exists ) saveFile.remove( );
         doc.exportDocument( saveFile, ExportType.SAVEFORWEB, exportOpts );
    function exportSFWGif( doc, saveFile, qty ) {
         var exportOpts = new ExportOptionsSaveForWeb( );// default format is gif
         // see guide for other options
         if ( saveFile.exists ) saveFile.remove( );
         doc.exportDocument( saveFile, ExportType.SAVEFORWEB, exportOpts );
    var doc = activeDocument;
    var docPath = decodeURI( doc.path );
    var docName = decodeURI ( doc.name );
    docName = docName.match( /(.*)(\.[^\.]+)/ ) ? docName = docName.match( /(.*)(\.[^\.]+)/ ) : docName = [ docName, docName, undefined ];
    var saveName = docName[ 1 ];
    exportSFWJpg( doc, new File( docPath + '/' + saveName + 'POWERPOINT.jpg' ), 80 );
    exportSFWGif( doc, new File( docPath + '/' + saveName + 'WEB.gif' ) );

  • Duplicate fillabe page with different filed names..

    Hi, i have one page fillable form (it has check boxes & fillable text fields). so i want to duplicate this page. but duplicating all field names should be unique. i mean i want to make 8 page filable form using my currant fillable page. but all the fields should be unique.( different pages i'm entering different details).. i don't no this is possible or not. if this is possible, pls help me. thanks in advance..

    You probably already know that Acrobat can duplicate the field across pages (right click on the field and select Duplicate across pages). That does not accomplish a part of what you want to get - unique names.
    Take a look at http://try67.blogspot.in/2011/07/acrobat-copy-paste-field-to-multiple.html

Maybe you are looking for

  • How to play one clip multiple times at the same time?

    I am writing a little game where a certain sound has to be played quite frequently. I load it as a Clip and play it with myClip.setFramePosition(0); myClip.loop(0);If the sound has to be played again but is still being played by another event, the se

  • How can I get certified in oracle 10g DBA

    Hi, I have been working as a DBA for past 3 years. Our database is 8i and now i want to upgrade to 10g. I want to get certified in oracle 10g DBA. So far I havn't written any exam in oracle dba. Please assist/suggest and show some path to get it achi

  • Imaq image to word report

    I have IMAQ image and I want to generate report ald place this image in table cell: Can I do that without safing image on disk?

  • Cfdiv unknown tag

    I am attempting to use cfdiv to autorefresh some content on a page an am getting the following error: Unknown tag: cfdiv. ColdFusion cannot determine how to process the tag cfdiv because the tag is unknown and not in any imported tag libraries. The t

  • Can you pls tell me how to unfreeze my iMac?

    Can you pls tell me how to unfreeze my iMac?