Error in database creating duplicate in the same server...

Hello

I am getting error after creating duplicate database

DB version 10.2.0.4 =

$ rman target sys/sys@test nocatalog auxiliary.

Recovery Manager: Release 10.2.0.4.0 - Production on Mon Sep 28 15:13:32 2009

Copyright (c) 1982, 2007, Oracle. All rights reserved.

connected to target database: TEST (DBID = 1702666620, is not open)
using the control file of the target instead of recovery catalog database
connected to the auxiliary database: CLNTEST (unassembled)

RMAN > DATABASE of TARGET duplicate to "CLNTEST."

Starting in double Db to 28 / SEP / 09
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid = 156 devtype = DISK

content of Script memory:
{
until the SNA 597629461.
the value of newname for datafile 1 to
"/ u01/data_new/clonetest/system01.dbf";
the value of newname for datafile 2 to
"/ u01/data_new/clonetest/undotbs01.dbf";
the value of newname for datafile 3 to
"/ u01/data_new/clonetest/sysaux01.dbf";
the value of newname for datafile 4 to
"/ u01/data_new/clonetest/users01.dbf";
the value of newname for datafile 5 to
"/ u01/data_new/clonetest/example01.dbf";
the value of newname for datafile 6 to
"/ u01/data_new/clonetest/undotbs02.dbf";
the value of newname for datafile 7 to
"/ u01/data_new/clonetest/alweb1.dbf";
the value of newname for datafile 8 to
"/ u01/data_new/clonetest/indx1.dbf";
restoration
see readonly
clone database
;
}
execution of Script memory

executing command: SET until clause

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

From restoration to 28-SEP-09
using the ORA_AUX_DISK_1 channel

RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 2009-09-28 15:13:40
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of 7 found to restore
RMAN-06023: no backup or copy of datafile 6 to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of the file 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore


RMAN > overlap backupset datafile 1;

using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 154 devtype = DISK
"" element of verified backup: turned out to be "AVAILABLE"
backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
"" element of verified backup: turned out to be "AVAILABLE"
backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
Cut 2 objects


RMAN > overlap backupset datafile 2;

using channel ORA_DISK_1
"" element of verified backup: turned out to be "AVAILABLE"
backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
"" element of verified backup: turned out to be "AVAILABLE"
backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
Cut 2 objects


RMAN > overlap backupset datafile 3.

using channel ORA_DISK_1
"" element of verified backup: turned out to be "AVAILABLE"
backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
"" element of verified backup: turned out to be "AVAILABLE"
backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
Cut 2 objects


RMAN > overlap backupset datafile 4;

using channel ORA_DISK_1
"" element of verified backup: turned out to be "AVAILABLE"
backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
"" element of verified backup: turned out to be "AVAILABLE"
backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
Cut 2 objects


RMAN > overlap backupset datafile 5;

using channel ORA_DISK_1
"" element of verified backup: turned out to be "AVAILABLE"
backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
"" element of verified backup: turned out to be "AVAILABLE"
backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
Cut 2 objects



RMAN > overlap datafile backupset 6;

using channel ORA_DISK_1
"" element of verified backup: turned out to be "AVAILABLE"
backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
"" element of verified backup: turned out to be "AVAILABLE"
backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
Cut 2 objects


RMAN > overlap backupset datafile 7;

using channel ORA_DISK_1
"" element of verified backup: turned out to be "AVAILABLE"
backup handle = piece / u01/rmanbkp/db_prd0akqcnoh_1_1 recid = stamp 10 = 698769169
"" element of verified backup: turned out to be "AVAILABLE"
backup handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid = piece stamp 17 = 698771444
Cut 2 objects



Thank you

Hello

RMAN from checking if the data target files share the same names that duplicate files are used

but I use different directory

/ u01/data_new/clonetest of the duplicate database

/ u01/data/BINGO database target

I think that, when you use no nofilenamecheck clause, RMAN assumes that there is a copy of the backup file also exist at the location of backup of the clone, and in this case there is no backup file it is therefore failed. If you could have copied the location of primary backup file to clone is then probably you could not get the error.

Kind regards.

Tags: Database

Similar Questions

  • Can we create database of watch on the same server as the primary database

    I have Oracle 10 g Rel2, Windows server 2003 operating system. Can I create backup of database on the same server on which we have our primary database?

    Yes, you can
    You must configure the settings DB_FILE_NAME_CONVERT file
    If the standby database is on the same system as the primary database or if the structure of the directory where data files are located on the standby site is different from the primary site, this parameter is required.
    Please refer to the documentation:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/initparams048.htm#REFRN10038

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com

  • Database of VC on the same server or on a dedicated SQL Server

    Hi guys

    What is the best practice?

    to keep

    1 VC database on the same server as the CV or

    2. maintain the VC database on the SQL Server?

    Please advice.

    If you know that your environment will grow exponentially in the near future, I would recommend Dungeon DB on separate server. There are many companies that have SQL data existing clusters that may be home to the VC database, maybe you can find one in your business.

    Another outfit mentioned on the same server have no problem, we use DB on the same server with 32 servers ESX and VM 500, works very well so far.

  • Add VDSwitchPhysicalNetworkAdapter error - 'vmnic must be managed by the same server VC.

    I used PowerCli 6.0 R3 on vSphere 6.0 Update 1 b.  I have only a single virtual machine, my VM vCenter which is a Windows Server 2012.  I have also 2 Dell ESXi servers.

    I have created a virtual Distributed Switch (vDS), 3 groups of ports vd and have added the first 2 VMHosts service VDS using PowerCli.

    My problem occurs when I try to add my vmnic host that need the VDS (10 GB NIC).  I get the following error:

    The PhysicalNicImpl - "vmnic6" must be managed by the same VC server that you use to call this operation.

    A code snippet is attached.  I appreciate any suggestions on what may cause this error.  You feel something in my environment.

    Thank you Luke, you gave me the idea and I was able to understand.

    In my script that I was connected to 2 my vCenter server and ESXi hosts and I never specified the vCenter server in cmdlets for a list of the network adapters.  So instead for expansion via vCenter cards, I received the ESXi host and this is why the Add-VDSwitchPhysicalNetworkAdapter complained.

    Once, I started from vCenter in as the parameter server, everything started to click.

    Difficulty:

    $vctServerObj = to connect-viServer $vctIPaddress

    $vmHostObj = get-vmhost-name $serverIP - Server $vctServerObj

    $adapterList = get-VMHostNetworkAdapter-host $vmHostObj - Server $vctServerObj

    {Foreach ($adapter to $adapterList)

    $newVDSObj | Add-VDSwitchPhysicalNetworkAdapter - VMHostNetworkAdapter $Server adapter $vctServerObj

    }

  • Replication of Golden gate on the same server

    Hello

    What I need to do to replicate a table from a source database to a database of target on the same server. Here are my settings files


    excerpt from load1
    ggs_owner username, password ggs_owner
    rmthost < servername > .ca, mgrport 7576
    rmttask replicat group load2
    table gsdba.mytesttable;


    replicat load2
    ggs_owner username, password ggs_owner
    assumetargetdefs
    map gsdba.mytesttable, target gsdba.mytesttable;

    port 7576
    ggs_owner username, password ggs_owner
    purgeoldextracts/t01/software/gg/dirdat

    With this configuration, the data are reloaded in the source table :-(

    Thank you

    Hello

    Please mark the thread as solved & closed if you do not yet matter.

    1. how to stop excerpt/replicate?

    kill extracted GroupName
    kill replicat GroupName

    2. how to remove extracat / replicat

    remove the extract GroupName [!]
    Remove replicat GroupName [!]

    3. how to clean-up (first stop)

    cleaning extract GroupName
    cleaning replicat GroupName

    GG documentation is here:

    http://download.Oracle.com/docs/CD/E18101_01/index.htm

    I guess you must

    1. stop the extract/replicat if can't stop it kill
    2. cleaning after arrested or killed
    3. delete

    Kind regards

  • Dev to create and test instances of the Summit on the same server and database

    I have a dev and instances of the Apex on different servers of prod. I want a test instance on the same server as the instance of dev.

    I use workspace import/export so all the workspaces instance have the same id of the workspace. The application ID is the same on each instance in the same workspace. This allows the pages to be exported or imported in the case of differenct.

    My question is (I'm sure it's obvious) I can have several instances of the Apex on the same database (dev and test) and have each the same instance ID workspace, etc..

    Sam

    .. often I have multiple instances of the Apex on the same database (dev and test) and I each instance have IDS of the same workspace...

    No, there can only be one Application Express instance in a database.

    Scott

  • Duplicated on the same server database

    Hi, I'm trying to replicate a database on the same server. It seems to have worked, but I get a lot of error messages in the log of alerts. Please can someone tell if I'm doing something wrong or that I don't need to worry about these messages. Here's what I do:

    Taking rman backup archivelog and proddb database

    Do pfile from spfile proddb

    create directories by replacing the name proddb by clonedb

    copy the proddbinit.ora file rename to replace all references to proddb with clonedb of clonedbinit.ora

    Add 2 entries to clonedbinit.ora:

    * .db_file_name_convert = 'PRODDB', 'CLONEDB '.

    * .log_file_name_convert = 'PRODDB', 'CLONEDB '.

    Instance defined in CLONEDB and startup nomount

    Sign in to rman - rman AUXILIARY.

    DUPLICATE TO CLONEDB DATABASE

    BACKUP LOCATION ' / U01/PRODDB.

    I haven't specified a SPFILE because I don't think I need one as I created a complete pfile file

    "When I look in the alerts log, I get a message saying load ' ORA-01565: could not open the Spfile" and error in the identification of file & apos spfileclonedb.ora & apos;

    I read if you clone to a database on the same server, you must manually create your own pfile and do not use the SPFILE option during replication.

    What I am doing wrong?

    Thank you very much

    Adam

    I think your spfile has no parameter value:

    db_file_name_convert ='/ EOYFIN/TESTP / ',' / FMWSPRT/TESTS /'

    To ensure that:

    create pfile from spfile;

    then check your pfile file to see the entrance is there or not.

    Option 1

    -----------------

    Just add that then you can do it in duplicate using the set command order

    -----------------------------------------------

    Run {}

    allocate channel pr1 type disk;

    allocate channel pr2 type disk;

    allocate auxiliary channel stdby type disk;

    current spfile database of target duplicate database tests

    :

    :

    Set db_file_name_convert ='/ EOYFIN/TESTP / ',' / FMWSPRT/TESTS /'

    Set log_file_name_convert ='/ EOYFIN/TESTP / ',' / FMWSPRT/TESTS /'

    :

    ;

    }

    Option 2

    ------------------------

    If it not is not for this put entry pfile.

    Start the databases using pfile and then create spfile;

    SPFile to start;

    Try again

    See you soon

    M

  • How to install the new database on the same server peoplesoft

    Hi people,

    I have the people tools 8.52 and financial 9.1 on my windows 2008 server where I use my database in ms SQL Server 2008 R2.we created a demo base data and configured PIA which works very well.

    Suppose if I want to create two databases more in the same server for different environments, which is the best way to do it?

    should I just create two databases in sql server and run scripts as utlspace.sql, fcddl.sql, dbowner.sql... like that then create new domain in with psadmin and areas Web servers application servers?

    or

    I should run PS_HOME\setup\PsMpDbInstall command, and then create database system etc etc?


    Please let me know for any information on this topic.

    Hello

    As Nevin said, both do the same thing, another automatic manual.

    If you choose to use PsMpDbInstall, to choose Assistant option existing Create database on the server instead of set up a server and create a database

    I prefer to run the scripts manually, that gives me more control and view the measures taken, but it is a personal choice.

    Halin

  • Hi all, I have attached to an external vendor bank in an OU to the site account and provider is global. This RIB is not filling at the fatcure level when creating invoice in the same OU

    Hi all, I have attached to an external vendor bank in an OU to the site account and provider is global. This RIB is not filling at the fatcure level when creating invoice in the same OU

    Hello

    Is the defined account currency and the currency of the same as the currency of invoicing supplier site? It will not default if they are different currencies.

    Cheryl

  • Move-VM error: VM must be managed by the same VI servers as the destination data store

    I work with 2 ESXi servers and a single vCenter server with vSphere 6.0 Update 1 b; and PowerCLI 6.0 Release 2

    I have an a datacenter, cluster, vCenter and a vDS.  I need to pass the vCenter data store to another and get the error message:

    "Move-VM VM you are moving should be handled by the same server of VI as the destination container and the data store.

    Code looks like the following:

    $vctObj = to connect-viserver $vctIPaddress

    $esx1Obj = to connect-viserver $esx1IPaddress

    $esx2Obj = to connect-viserver $esx2IPaddress

    $vmObj = get-vm-name $vmname - Server $vctObj

    $destDSobj = get-datastore-name $destDSname

    Move-vm - vm $vmObj Datastore - $destDSobj - 'End' DiskStorageFormat

    I can migrate successfully from the virtual machine to vCenter data store through the VI Client, but PowerCLI left me speechless.

    Maureen

    Try to use the Server parameter on the Get-Datastore line

  • Multiple vCenter on the same server database

    Hi all

    I'm migrating vCenter vCenter 5.5 5.1.

    Is it possible to use the same server SQL2008R2 for vCenter 5.5 database?

    Installation vCenter 5.5 database to the same server vCenter 5.1 will be will damage the 5.1 database? Use different database?

    What is the best way to secure the vcenter 5.1 during the installation of vcenter 5.5 database other than the database backup 5.1?

    Also does need seprate SSO database?

    Thank you...

    I used SQL dissferent account and vCenter was insalled on the new database without problems.

  • I have the last El Captain MAC update fom and an iMac Mid 2015 retina but Lightroom refuses to use the GPU indicating a display error. Has anyone else experienced the same question?

    I have the latest update of El captain and an iMac Mid 2015 retina but Lightroom refuses to use the GPU indicating a display error. Has anyone else experienced the same question?

    I also got an iMac mid 2015 27 "retina and not have problems. But I have another option 'see the add screen pictures"deselected it's the ravages of a single reading. See screenshot of my graphics card.

  • Whenever I have cut an audio clip in my sequence, the source monitor freezes creating two of the same framework.

    Whenever I have cut an audio clip in my sequence, the source monitor freezes creating two of the same framework.  I then have to wait anywhere from five to ten minutes only for Panel source monitor back to normal to continue editing, with playback.  Itself doesn't freeze, I am able to go into my settings and change again within the sequence.  It's only the source monitor.  Anyone know this problem and is there a solution?  Thank you!  My apologies if this has already been discussed in another post.

    I am running on a processor intel i5 processor 4690 k, 16 GB of ram, all-new msi motherboard and 980 gtx graphics card nine.

    Under the key sequence, uncheck preview Composite during Trim.

  • Multiple instances of oracle with characterset different on the same server database

    Hello

    We are finalizing plans to install Automic (software scheduliong formerly UC4) for our suite of retail applications and replace Uc4.

    The process came to know that Automic does not support AL32UTF8 database characterset.

    At this moment we have RMS and UC4 UC4 supports AL32UTF8 and schema for UC4 running on the same database server is inside the RMS database.

    From now on, it is recommended to have a separate database instance on the same server as the RMS database and with a different characterset which is WE8MSWIN1252.

    Is it possible to have 2 instances of database running with different charactersets, one with AL32UTF8 and the other with WE8MSWIN1252. ?

    There are configuration requirements before implementing instances of database?  THS APPWORX (for UC4) schema will be exported (data pump export) and imported into the new database.

    The utility Automic we want to use is not compatible AL32UTF8 and manage only a database of character set WE8MSWIN1252.

    Any help and advice would be much appreciated.

    Thank you

    RAM.

    PL post OS and database versions.

    Is it possible to have 2 instances of database running with different charactersets, one with AL32UTF8 and the other with WE8MSWIN1252. ?

    Yes - without any doubt - two databases are independent and have nothing to do with each other.

    There are configuration requirements before implementing instances of database?  THS APPWORX (for UC4) schema will be exported (data pump export) and imported into the new database.

    You may have - to test the export/import process rigorously. If your source is AL32UTF8 and target is WE8MSWIN1252, data loss may occur for those characters that are in the former, but not the last.

    HTH
    Srini

  • How can I create a cluster of two instances that are running on the same server?

    Hello
    I can't find how to create a cluster or even a rule of failover for my two instances that are running on the same server ODSEE 11 GR 1 material.
    Could you please help?

    Thank you

    Hello
    Clustering (intended as Sun Cluster, Veritas Cluster, etc...) IS NOT supported since 7.0:

    http://docs.Oracle.com/CD/E20295_01/PDF/821-1216.PDF [page 20]

    and, according to my own experience, is the WORST way to achieve high availability of Service LDAP directory and in a way almost CONCEDED for replication problems in your topology (lock, split, re-init, etc...).

    Please use the "application level" collection that you get out of the box with the multimaster replication.

    http://docs.Oracle.com/CD/E20295_01/HTML/821-1217/index.html

    http://docs.Oracle.com/CD/E20295_01/HTML/821-1220/fhkry.html#scrolltoc

    HTH,
    Marco

Maybe you are looking for