Regarding duplicate database

Dear Experts
Pls give me solution for my problem..
I am working on Oracle 10.2 running on rhel 4.I am trying to create duplicate database on the same host as on target.My target database is in archive log mode. When i am trying to fire the above command I get following error. Here are the steps..
[oracle@infotech ~]$ rman target / auxiliary sys/admin@dupli
Recovery Manager: Release 10.2.0.1.0 - Production on Thu Jan 27 12:50:25 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: SQLSTAR (DBID=1533334878, not open)
connected to auxiliary database: DUPLI (not mounted)
RMAN> duplicate target database to dupli
2> logfile
3> '/database/dupli/log/redo01.log' size 10m,
4> '/database/dupli/log1/redo02.log' size 10m;
Starting Duplicate Db at 27-JAN-11
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=153 devtype=DISK
allocated channel: ORA_AUX_DISK_2
channel ORA_AUX_DISK_2: sid=154 devtype=DISK
allocated channel: ORA_AUX_DISK_3
channel ORA_AUX_DISK_3: sid=156 devtype=DISK
allocated channel: ORA_AUX_DISK_4
channel ORA_AUX_DISK_4: sid=157 devtype=DISK
datafile 5 not processed because file is offline
datafile 6 not processed because file is offline
contents of Memory Script:
set until scn 2404769;
set newname for datafile 1 to
"/database/dupli/data/system01.dbf";
set newname for datafile 2 to
"/database/dupli/data/undotbs01.dbf";
set newname for datafile 3 to
"/database/dupli/data/sysaux01.dbf";
set newname for datafile 4 to
"/database/dupli/data/users01.dbf";
restore
check readonly
clone database
skip tablespace TRY,
PROD ;
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 27-JAN-11
using channel ORA_AUX_DISK_1
using channel ORA_AUX_DISK_2
using channel ORA_AUX_DISK_3
using channel ORA_AUX_DISK_4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 01/27/2011 12:55:35
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 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
Although I am having the backups
RMAN> list backup;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
58 Full 6.86M DISK 00:00:01 27-JAN-11
BP Key: 57 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_ncnnf_TAG20110127T105501_6n20fh2b_.bkp
Control File Included: Ckp SCN: 2428375 Ckp time: 27-JAN-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
59 Full 80.00K DISK 00:00:04 27-JAN-11
BP Key: 58 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnsnf_TAG20110127T105501_6n20fmbz_.bkp
SPFILE Included: Modification time: 27-JAN-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
60 Full 370.27M DISK 00:01:41 27-JAN-11
BP Key: 59 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnndf_TAG20110127T105501_6n20fh6k_.bkp
List of Datafiles in backup set 60
File LV Type Ckp SCN Ckp Time Name
2 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/undotbs01.dbf
3 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/sysaux01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
61 Full 339.97M DISK 00:01:57 27-JAN-11
BP Key: 60 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnndf_TAG20110127T105501_6n20fkq2_.bkp
List of Datafiles in backup set 61
File LV Type Ckp SCN Ckp Time Name
1 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/system01.dbf
6 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/try01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
62 Full 652.93M DISK 00:02:15 27-JAN-11
BP Key: 61 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnndf_TAG20110127T105501_6n20fjkw_.bkp
List of Datafiles in backup set 62
File LV Type Ckp SCN Ckp Time Name
4 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/users01.dbf
5 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/prod01.db
Regards
Asif

Dear Experts
As per your suggestion I havle allocated multiple channels including the auxliary channel..*It has executed to a lot of extent but it has hung at last*.I am posting the commands and steps..
[oracle@infotech ~]$ rman target / auxiliary sys/admin@dupli
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Jan 28 11:46:07 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: SQLSTAR (DBID=1533334878)
connected to auxiliary database: DUPLI (not mounted)
RMAN> run{
2> allocate channel c1 type disk;
3> allocate channel c2 type disk;
4> ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
5> ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
6> duplicate target database to dupli;
7> }
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: sid=140 devtype=DISK
allocated channel: c2
channel c2: sid=139 devtype=DISK
allocated channel: aux1
channel aux1: sid=155 devtype=DISK
allocated channel: aux2
channel aux2: sid=154 devtype=DISK
Starting Duplicate Db at 28-JAN-11
contents of Memory Script:
set until scn 2487653;
set newname for datafile 1 to
"/u01/dupli/data/system01.dbf";
set newname for datafile 2 to
"/u01/dupli/data/undotbs01.dbf";
set newname for datafile 3 to
"/u01/dupli/data/sysaux01.dbf";
set newname for datafile 4 to
"/u01/dupli/data/users01.dbf";
set newname for datafile 5 to
"/u01/dupli/data/prod01.dbf";
set newname for datafile 6 to
"/u01/dupli/data/try01.dbf";
restore
check readonly
clone database
executing Memory Script
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
Starting restore at 28-JAN-11
channel aux1: starting datafile backupset restore
channel aux1: specifying datafile(s) to restore from backup set
restoring datafile 00002 to /u01/dupli/data/undotbs01.dbf
restoring datafile 00003 to /u01/dupli/data/sysaux01.dbf
channel aux1: reading from backup piece /u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkhf6_.bkp
channel aux2: starting datafile backupset restore
channel aux2: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /u01/dupli/data/system01.dbf
restoring datafile 00006 to /u01/dupli/data/try01.dbf
channel aux2: reading from backup piece /u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkb92_.bkp
channel aux1: restored backup piece 1
piece handle=/u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkhf6_.bkp tag=TAG20110128T114150
channel aux1: restore complete, elapsed time: 00:01:16
channel aux2: restored backup piece 1
piece handle=/u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkb92_.bkp tag=TAG20110128T114150
channel aux2: restore complete, elapsed time: 00:01:17
channel aux1: starting datafile backupset restore
channel aux1: specifying datafile(s) to restore from backup set
restoring datafile 00004 to /u01/dupli/data/users01.dbf
restoring datafile 00005 to /u01/dupli/data/prod01.dbf
channel aux1: reading from backup piece /u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qk8lg_.bkp
channel aux1: restored backup piece 1
piece handle=/u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qk8lg_.bkp tag=TAG20110128T114150
channel aux1: restore complete, elapsed time: 00:01:15
Finished restore at 28-JAN-11
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "DUPLI" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 2 ( '/u01/dupli/log/redo02.log' ) SIZE 50 M REUSE,
GROUP 3 ( '/u01/dupli/log/redo03.log' ) SIZE 50 M REUSE,
GROUP 4 ( '/u01/dupli/log/redo05.log' ) SIZE 100 M REUSE
DATAFILE
'/u01/dupli/data/system01.dbf'
CHARACTER SET WE8ISO8859P1
contents of Memory Script:
switch clone datafile all;
executing Memory Script
datafile 2 switched to datafile copy
input datafile copy recid=1 stamp=741613900 filename=/u01/dupli/data/undotbs01.dbf
datafile 3 switched to datafile copy
input datafile copy recid=2 stamp=741613900 filename=/u01/dupli/data/sysaux01.dbf
datafile 4 switched to datafile copy
input datafile copy recid=3 stamp=741613900 filename=/u01/dupli/data/users01.dbf
datafile 5 switched to datafile copy
input datafile copy recid=4 stamp=741613900 filename=/u01/dupli/data/prod01.dbf
datafile 6 switched to datafile copy
input datafile copy recid=5 stamp=741613900 filename=/u01/dupli/data/try01.dbf
contents of Memory Script:
set until scn 2487653;
recover
clone database
delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 28-JAN-11
starting media recovery
archive log thread 1 sequence 142 is already on disk as file /u01/flash/SQLSTAR/archivelog/2011_01_28/o1_mf_1_142_6n4qqom4_.arc
archive log filename=/u01/flash/SQLSTAR/archivelog/2011_01_28/o1_mf_1_142_6n4qqom4_.arc thread=1 sequence=142
media recovery complete, elapsed time: 00:00:04
Finished recover at 28-JAN-11
contents of Memory Script:
shutdown clone;
startup clone nomount ;
executing Memory Script

Similar Messages

  • RMAN duplicate Database

    Hi ALL,
    While doing duplicate database using RMAN i m getting following error.
    released channel: d1
    RMAN-00571: =================================
    RMAN-00569: === ERROR MESSAGE STACK FOLLOWS ======
    RMAN-00571: =======================================
    RMAN-03002: failure of Duplicate Db command at 05/14/2008 08:08:23
    RMAN-03015: error occurred in stored script Memory Script
    ORA-06550: line 1, column 1730:
    PLS-00302: component 'LOGTERMINAL_OBJ' must be declared
    ORA-06550: line 1, column 1716:
    PL/SQL: Statement ignored
    Recovery Manager complete.
    Please Help
    Regards
    Mital

    thanks Werner for reply ,
    the above problem is solved, the proble was that you have said. the problem was realted to version . the target db was of 10.2.0.3 and the rman aux db is at 10.2.0.4
    i have changed auxiliary db to 10.2.0.3 and the problem is resolved.
    but now i am facing some diff. error.
    setup:
    backup server :\\bkpsvr\backup$\
    backup location : \\bkpsvr\backup$\
    target server \\tgt_svr
    auxiliary server :\\aux_svr\ :
    restore location : G:\ORACLE\ORADATA\ERPBI2DV\
    during duplicate db commad while reading from backup piece it is givnig following error.
    ORA-19870: error reading backup piece \\BRNORA10\BACKUP$\BI2\DF_ERPBI2_654625830_4599_1
    ORA-19504: failed to create file "G:\ORACLE\ORADATA\ERPBI2DV\OWB_ERPBI2DV_01"
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    released channel: d1
    RMAN-00571: ==============================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ======================================
    RMAN-03002: failure of Duplicate Db command at 05/14/2008 12:39:14
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 100 found to restore
    RMAN-06023: no backup or copy of datafile 99 found to restore
    please help.
    Message was edited by:
    mits

  • Doubt   regarding   Oracle Database 10g Release 2 (10.2.0.1.0) installation

    hello
    my pc has following configurtion
    256mb ram
    60gb hdd
    p4 2.4 ghz
    win xp pro sp2
    I want to know if my pc will be able to run " Oracle Database 10g Release 2 (10.2.0.1.0) " standard edition on it.
    <<http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html>>
    I thought of increasing RAM, but it is not feasible.
    I know i could run oracle XE, but can my pc also run the standard edition.
    I could not find minimum hardware requirements for standard edition on this site.
    anyway, i will use it for sql and and other advanced concepts in RDBMS which i may learn during my course in database. so i prefer standard edition instead of XE
    any help greatly appreciated
    thanks in advance

    I suggest you not to doubt   regarding   Oracle Database 10g Release 2 (10.2.0.1.0) installation.
    It is not necessary. If you don't receive an answer within a reasonable amount of time you could edit your thread with whatever ( a period is enough) to raise it to the top once again.
    It becomes difficult for us to track duplicated threads and unnecessarily duplicates efforts.
    ~ Madrid.

  • Duplicate database

    hello friends,
    my requirement is that, i am running some
    sites with oracle database. but , at same time i want to configure a mirror database on
    different host. suppose in case primary
    database fails then we can up the mirrored database. my objective is site should not go
    to downtime even for a single second. and
    when primary database will be up then whatever transaction was made to mirror database that should be transfered to primary
    server.
    so, in my problem , till what extent this
    duplicate database of recovery manager will
    be helpful to me. if any other third party
    software is available for my requirement
    then please let me know.
    thanx,
    null

    I don't think it is possible.
    If you need this level of availability,
    look at something different from Oracle,
    for example, Tandem systems (from Compaq)
    and their nonStop SQL database. However, a Tandem system costs roughly 10 times more
    than a similar Oracle system.
    If you need to use Oracle, look at hardware-level solution rather tan software-level solution. For example, EMC has SRDF technology - hardware-level mirroring
    of your hard disk. Software-level solution
    for high availability include Parallel server
    (requires clustering software and external disk array) and standby database.
    In my experience, achieving high availability is a matter of having enough finds for the project - you need a second
    (third, fourth) system for development/testing/UAT, mirror all disks, etc.
    RMAN has nothing to do with high availability -
    it is just a tool for backing up databases.
    Regards,
    Sev
    [email protected]
    null

  • Rman duplicate database from test to production different host

    Dear All,
    usually i do the rman duplicate (clone) database in different host using same backup location as the source database in target database.
    now i am in situation to clone the database with different backup location
    source database location:/u01/db/backup
    target database location: /tmp_dbbkup
    is it possible to create the duplicate database with the command
    rman target sys@UAT1 auxiliary /
    RMAN>CATALOG BACKUPPIECE '/tmp_dbbkup/UAT_2670198561_44_20110101;
    RMAN>duplicate target database to DEV;
    is it ok?
    we dont have privilege/rights to create a folder/directory in production server.
    what i have to do now?
    thanks in advance.
    my oracle version: 10.2.0.4.0
    operating system: AIX

    tychos wrote:
    Hi rajeysh,
    what i have to do now?You could make a sym link on the dev server
    So /u01/db/backup on the dev server points to /tmp_dbbkup
    Regards,
    Tychothank for your reply tychos,
    $ ln -s /u01/db/backup/OUAT_2670198561_44_20110101 /oracle/db/backup/UAT_2670198561_44_20110101
    $ ls -ltr
    total 1475968
    -rw-r----- 1 oracle dba 307654656 Jan 7 10:03 db_DEV_20110107_4em1gm3e_1_1_L0
    -rw-r----- 1 oracle dba 448030720 Jan 7 10:03 db_DEV_20110107_4dm1gm3e_1_1_L0
    lrwxrwxrwx 1 oracle dba 45 Jan 11 20:53 UAT_2670198561_44_20110101 -> /u01/db/backup/OUAT_2670198561_44_20110101
    $ ln -s /u01/db/backup/AOUAT_2670198561_46_20110101 /oracle/db/backup/OUAT_2670198561_46_20110101
    $ ln -s /u01/db/backup/OUAT_2670198561_47_20110101 /oracle/db/backup/OUAT_2670198561_47_20110101
    $ ln -s /u01/db/backup/OUAT_2670198561_45_20110101 /oracle/db/backup/OUAT_2670198561_45_20110101
    $
    is it ok
    will the duplicate gets the information from /oracle/db/backup
    if i did anything wrong , please correct me?

  • He ABAP/4 Open SQL array insert results in duplicate database records

    Dear Gurus,
    II am getting a dump when I run MD02/ MD03. (t- code to run MRP)
    Below is the message system is showing:
    Please help
    Thanks in Advance
    Best Regards
    Adhish
    Short text
    The ABAP/4 Open SQL array insert results in duplicate database records.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLM61U" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
    in
    procedure "INSERT_MDSBI_IN_MDSB" "(FORM)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    1 *----
    2 * ARRAY-INSERT auf MDSB
    3 *----
    4 FORM INSERT_MDSBI_IN_MDSB.
    INSERT MDSB6 FROM TABLE MDSBI.
    7 ADD SY-DBCNT TO STATS-RESBI. "statistics
    8 ENDFORM.

    Hi,
    There must be inconsistency in the number range. This happens when the current number in the number range for dependent requirements is lower than the highest number in the database table of the dependent requirements RESB.
    Please check the current number in transaction OMI2. Here in the interval you can see the current number. Then please check the highest number in table RESB. If the current number in OMI2 is lower than the highest number in table RESB then this should be the reason for the dump.
    Check and revert. If that's not the case we'll look into other possibilities.
    In mean time check for SAP Note 138108.

  • Problems with DUPLICATE DATABASE when datafile was added after full backup

    Hi,
    I'm facing a problem when performing database duplication with the RMAN duplicate database command on a 10g database. If I preform the duplication from a full backup that is missing a datafile which was added to the database after the full backup, I get the following error message:
    Starting restore at 10-10-2009 18:00:38
    released channel: t1
    released channel: t2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/10/2009 18:00:39
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 43The redo log which was CURRENTat the time of the datafile's 43 creation is also available in the backups. It seems like RMAN can't use the information from the archived redo logs to reconstruct the contents of datafile 43. I suppose that because the failure is reported already in the RESTORE and not in the RECOVER phase, so the archived redo logs aren't even accessed yet. I get the same message even if I make a separate backup of datafile 43 (so a backup that is not in the same backupset as the backup of all other datafiles).
    From the script the duplicate command produces, I guess that RMAN reads the contents of the source database's controlfile and tries to get a backup which contains all the datafiles to restore them on the auxiliary database - if such a backup is not found, it fails.
    Of course if I try to perform a restore/recover of the source database it works without problems:
    RMAN> restore database;
    Starting restore at 13.10.09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    creating datafile fno=43 name=F:\ORA10\ORADATA\SOVDEV\SOMEDATAFILE01.DBF
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to F:\ORA10\ORADATA\SOVDEV\SYSTEM01.DBF
    .....The datafile 43 is recreated and then redo is applied over.
    So, does anyone know if duplicate database can't use archived redo logs to recreate the contents of a datafile as a normal restore/recover does? If it's so, then it means it's necessary to perform a full database backup before every run of duplicate database if a datafile was added after such a backup.
    Thanks in advance for any answers.
    Regards,
    Jure

    Hi Jure,
    I have hit exactly the same problem during duplication.
    Because we backup the archive logs every 6 hours with rman I added an extra run block to this script.
    run
    backup incremental level 0
    format 'bk_%d_%s_%p_%t'
    filesperset 4
    database not backed up;
    (I also than hit a bug in the catalog which was solved by patching up the catalog dbs from 11.1.0.6 to 11.1.0.7.)
    This will narrow down the datafile not being part of any rman backup to 6 hours while skipping datafiles for which a backup already exists.
    Regards,
    Tycho

  • 11g DUPLICATE database

    I am going to do 11g RMAN active DUPLICATE database to another server, size > 300GB, will take hours,
    Question: after its done, the DUPLICATE database is at the status of begin DUPLICATE or end of DUPLICATE?

    Hello,
    When you finish the duplicate you can issue:
    SQL> select name,open_mode from v$database;
    NAME OPEN_MODE
    CLONEDB READ WRITE
    kind regards
    Mohamed

  • Error while duplicate database for standby

    Hello Guys,
    Both of my database are 10gR2 and Linux is the operating system.
    I am trying to create a standby database for my production database.
    I have matched the directory structure of primary and standby database and there is no conflict. Directory permissions are also set.
    After taking the rman backup from production database when i connect auxiliary database from production. I run this command to duplicate database and create standby database.
    rman
    set until sequence XXXX;
    duplicate target database for standby dorecover nofilenamecheck;
    I get this error:
    executing Memory Script
    executing command: SET until clause
    Starting restore at 04-JUN-11
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /tmp/backup_files/standby_control_1jme2far_1_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/04/2011 21:00:37
    RMAN-03015: error occurred in stored script Memory Script
    ORA-19870: error reading backup piece /tmp/backup_files/standby_control_1jme2far_1_1
    ORA-01565: error in identifying file '/u01/app/oracle/product/10.2.0/db_1/dbs/spfileORCL.ora'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    */tmp/backup_files/standby_control_1jme2far_1_1 file exists*
    * spfileORCL.ora* exists on both servers in same directory and same path.
    Can you please suggest where is the problem?
    Thank you so much.
    Imran

    ORA-19870: error reading backup piece /tmp/backup_files/standby_control_1jme2far_1_1
    ORA-01565: error in identifying file '/u01/app/oracle/product/10.2.0/db_1/dbs/spfileORCL.ora'
    ORA-27037: unable to obtain file statusLinux-x86_64 Error: 2: No such file or directory
    Might the backup piece not exist or file is unae to read at this time. Can you check is this physically exist Or not?
    And preferred to take new fresh backup and perform duplicate

  • Error in creating Duplicate Database in same server..

    Hi,
    I am getting following error when 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, not open)
    using target database control file instead of recovery catalog
    connected to auxiliary database: CLNTEST (not mounted)
    RMAN> DUPLICATE TARGET DATABASE TO "CLNTEST";
    Starting Duplicate Db at 28-SEP-09
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=156 devtype=DISK
    contents of Memory Script:
    set until scn 597629461;
    set newname for datafile 1 to
    "/u01/data_new/clonetest/system01.dbf";
    set newname for datafile 2 to
    "/u01/data_new/clonetest/undotbs01.dbf";
    set newname for datafile 3 to
    "/u01/data_new/clonetest/sysaux01.dbf";
    set newname for datafile 4 to
    "/u01/data_new/clonetest/users01.dbf";
    set newname for datafile 5 to
    "/u01/data_new/clonetest/example01.dbf";
    set newname for datafile 6 to
    "/u01/data_new/clonetest/undotbs02.dbf";
    set newname for datafile 7 to
    "/u01/data_new/clonetest/alweb1.dbf";
    set newname for datafile 8 to
    "/u01/data_new/clonetest/indx1.dbf";
    restore
    check readonly
    clone database
    executing Memory Script
    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
    Starting restore at 28-SEP-09
    using channel ORA_AUX_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/28/2009 15:13:40
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 8 found to restore
    RMAN-06023: no backup or copy of datafile 7 found to restore
    RMAN-06023: no backup or copy of datafile 6 found to restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 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> crosscheck backupset of datafile 1;
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=154 devtype=DISK
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
    Crosschecked 2 objects
    RMAN> crosscheck backupset of datafile 2;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
    Crosschecked 2 objects
    RMAN> crosscheck backupset of datafile 3;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
    Crosschecked 2 objects
    RMAN> crosscheck backupset of datafile 4;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
    Crosschecked 2 objects
    RMAN> crosscheck backupset of datafile 5;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
    Crosschecked 2 objects
    RMAN> crosscheck backupset of datafile 6;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
    Crosschecked 2 objects
    RMAN> crosscheck backupset of datafile 7;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
    Crosschecked 2 objects
    Thanks,

    Hi,
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/ora10g/product/10.2.0/db_1/dbs/snapcf_TEST.f'; # default
    Thanks,

  • Error while duplicate database from one server to another server

    Hi there,
    I am practicing duplicate database from one single database server to another server. Hardware and driver path on 2 machines is the same. Here are my steps:
    --------------------- Clone site:
    1. modify listener.ora with content:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (SID_NAME= orcl)
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
    2. stop and start listener again, message show like :
    Service “orcl” has 1 instance(s).
    Instance “orcl”, status UNKNOWN, has 1 handler(s) for this service…
    The command completed successfully
    3. create pfile from spfile.
    4. shutdown and startup nomount with pfile is new pfile create from step 3.
    --------------------------------------- Source site
    1. modify tnsnames.ora with content like:
    VVCOREDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = vvcoredb)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT=1521))
    (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = orcl)
    2. run command from rman like these:
    rman> connect target sys@vvcoredb
    rman> target database Password:
    rman> connect auxiliary sys@orcl
    rman> auxiliary database Password:
    rman> DUPLICATE TARGET DATABASE to orcl from active database spfile nofilenamecheck;
    Then the result show below:
    Starting Duplicate Db at 24-SEP-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=63 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
    executing Memory Script
    Starting backup at 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=74 device type=DISK
    Finished backup at 24-SEP-12
    sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''ORCL'' comment=
    ''duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    executing Memory Script
    sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/24/2012 17:44:12
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
    ORA-01262: Stat failed on a file destination directory
    Linux-x86_64 Error: 2: No such file or directory
    I don't know what wrong with my pfile? I specify correct my pfile on clone site like this:
    orcl.__db_cache_size=1476395008
    orcl.__java_pool_size=16777216
    orcl.__large_pool_size=16777216
    orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    orcl.__pga_aggregate_target=1342177280
    orcl.__sga_target=1979711488
    orcl.__shared_io_pool_size=0
    orcl.__shared_pool_size=436207616
    orcl.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='orcl'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area/vvcoredb'
    *.db_recovery_file_dest_size=4070572032
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
    *.memory_target=3313500160
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    Please suggest me do i miss some steps when try to duplicate database?
    Any suggestions are welcome.
    Thanks in advance!
    P/s: Sorry for my bad English.

    Oh god, it worked. Thank you. But i got another problem like this:
    duplicate target database to orcl from active database spfile set "db_recovery_file_dest" = "/u01/app/oracle/flash_recovery_area/vvcoredb" nofilenamecheck;
    Starting Duplicate Db at 24-SEP-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=63 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
    executing Memory Script
    Starting backup at 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=74 device type=DISK
    Finished backup at 24-SEP-12
    sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''ORCL'' comment=
    ''duplicate'' scope=spfile";
    sql clone "alter system set db_recovery_file_dest =
    ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment=
    '''' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    executing Memory Script
    sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
    sql statement: alter system set db_recovery_file_dest = ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment= '''' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area 3307048960 bytes
    Fixed Size 2217872 bytes
    Variable Size 1811941488 bytes
    Database Buffers 1476395008 bytes
    Redo Buffers 16494592 bytes
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''VVCOREDB'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    sql clone "alter system set db_unique_name =
    ''ORCL'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone force nomount
    backup as copy current controlfile auxiliary format '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
    restore clone controlfile to '/u01/app/oracle/recovery_area/vvcoredb/control02.ctl' from
    '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
    alter clone database mount;
    executing Memory Script
    sql statement: alter system set db_name = ''VVCOREDB'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set db_unique_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area 3307048960 bytes
    Fixed Size 2217872 bytes
    Variable Size 1811941488 bytes
    Database Buffers 1476395008 bytes
    Redo Buffers 16494592 bytes
    Starting backup at 24-SEP-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile copy
    copying current control file
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/24/2012 18:42:09
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/24/2012 18:42:09
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    I have a comment that source site doesn't have flash_recovery_area, instead it's name is recovery_area, is it problem?
    Edited by: 788420 on Sep 24, 2012 4:44 AM

  • Rman clone duplicate database from active database

    Hi All,
    I read document saying that rman can duplicate database from active database (prod) to a remote server, so long as you configure listener and tnsname.
    I am working toward it.
    I met a problem, which is when i bring up auxiliary database in nomount mode, the listener service of that auxiliary database is in BLOCKED status, and throw out ora-12528 error when I rman auxiliary sys/pass@clonedb. Isn't nomount mode the mode which auxiliary db is supposed to be in?
    (ora-12528: TNS:listener: all appropriate instances are blocking new connections)
    Thanks,
    milic

    You may have run into the same problem like I did recently:
    The (UR=A) clause in tnsnames.ora is intended to work with a dynamically registered handler so the use of SERVICE_NAME versus SID is preferred.
    ORA-12528: TNS listener BLOCKED - trying to duplicate database
    Also for further problems:
    RMAN 11gR2 duplicate database ORA-17627 ORA-01017 RMAN-03009 ORA-17628

  • Duplicate database from active database in 11g?

    Does anyone know if it's possible to clone a database from stby by issuing RMAN duplicate database FROM ACTIVE DATABASE command in 11g?
    I know it's possible from primary to create stby.
    Thanks in advance

    You may have run into the same problem like I did recently:
    The (UR=A) clause in tnsnames.ora is intended to work with a dynamically registered handler so the use of SERVICE_NAME versus SID is preferred.
    ORA-12528: TNS listener BLOCKED - trying to duplicate database
    Also for further problems:
    RMAN 11gR2 duplicate database ORA-17627 ORA-01017 RMAN-03009 ORA-17628

  • The ABAP/4 Open SQL array insert results in duplicate database records

    Hi,
    Iam getting following error :
    The ABAP/4 Open SQL array insert results in duplicate database records.
    Error in ABAP application program.
    The current ABAP program "SAPLV60U" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    " Information on where terminated
    The termination occurred in the ABAP program "SAPLV60U" in "VBUK_BEARBEITEN".
    The main program was "SAPMSSY4 ".
    The termination occurred in line 503 of the source code of the (Include)
    program "LV60UF0V"
    of the source code of program "LV60UF0V" (when calling the editor 5030).
    Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
    the
    procedure "VBUK_BEARBEITEN" "(FORM)" but was not handled locally, not declared
    in the
    RAISING clause of the procedure.
    The procedure is in the program "SAPLV60U ". Its source code starts in line 469
    of the (Include) program "LV60UF0V "."
    Please assist how to proceed further ..
    Many thanks
    Mujeeb.

    Sorry, THe correct note is 402221.
    Description from the note
    << Please do not post SAP notes - they are copyrighed material >>
    Edited by: Rob Burbank on Feb 22, 2009 3:46 PM

  • Duplicate database in 11g

    Hi all,
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 02/17/2010 09:18:42
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece
    I have got stuck with this error, while iam trying to duplicate database using rman from active database clause, I have checked in backup location for target and the autobackups are still available.
    thanks in advance.

    Handle:      user12984527
    Status Level:      Newbie
    Registered:      Apr 15, 2010
    Total Posts:      72
    Total Questions:      28 (25 unresolved)
    so many questions & so few answers,
    when all else fails, Read The Fine Manuals
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmbackp.htm#BRADV143

Maybe you are looking for

  • Is there a way to make a long clip into a short clip without compressing it any further?

    Is there a way to make a long clip into a short clip without compressing it any further? I went through all my old formats (VHS, hi8, miniDV, etc) and captured them. They end up as .mov files. Some of the longer 2hr ones are about 28GB. If I am makin

  • Question on Adobe X trial download

    I followed the steps to download a trial of Adobe X, but it does not interact in the tools menu for a document to trial the features of an edit. Also what happened to my other Adobe programs...they are gone....does the trial overwrite them...if so no

  • Ipad and skype problem

    When I use skype on our new Ipad my video works, but the person I can not see the person I am shatting with.  It just continues to say "initating contact".  I have read about other having this problem, but is there a solution?  Thanks!

  • Embeding flash news scroller in Dreamweaver

    Hi,can anyone suggest mw how to embed flash news scroller code in dreamweaver, because I have bee trying to insert the flash news scroller which I installed on my computer desktop and typed some text in text field of the news scroller then I tried to

  • Airport Extreme 802.11n network question

    I received my Airport Express 802.11n and could finally add it to my Airport Extreme in a new network. Man I am happy I could forget the WDS hanky panky Thx also to Bob Timmons for giving advise For some reasons I had initial problems seeing the Airp