Failure of Duplicate Db command 11g R2

I have a RAC production(prod) database (11G R2) and created Auxiliary(cscp) database on different server and both have same Solaris 10 platforms. I cannot clone the database using “UNTIL TIME”. I do followings but get error. I would appreciate your help. I am running command from Auxiliary. Should I run RMAN from Prod server?
In Aux Server:
1-     Moved password file
2-     Created init.ora and has following value
DB_NAME='cscp'
3-     startup nomount pfile='/apps/oracle/ora112/dbs/init.ora';
in prod Server:
1-     connect target sys/pw@prod
2-     connect auxiliary sys/pw@cscp;
3-     connect catalog rman/pw@prod;
4-     RUN {
SET NEWNAME FOR DATABASE TO "/apps/oracle/ora112/oradata/%U";
DUPLICATE TARGET DATABASE TO CSCP pfile=/apps/oracle/ora112/dbs/init.ora
SPFILE
NOFILENAMECHECK
UNTIL TIME "to_date('08-09-2010 13:03:14','dd-mm-yyyy hh24:mi:ss')"
LOGFILE
GROUP 1 ('/apps/oracle/ora112/redo01a.log') SIZE 50M REUSE,
GROUP 2 ('/apps/oracle/ora112/redo02a.log') SIZE 50M REUSE;
Here is the output:
executing command: SET NEWNAME
Starting Duplicate Db at 30-SEP-10
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=5 device type=DISK
contents of Memory Script:
set until scn 3958980184;
restore clone spfile to '/apps/oracle/ora112/dbs/spfilecscp.ora';
sql clone "alter system set spfile= ''/apps/oracle/ora112/dbs/spfilecscp.ora''";
executing Memory Script
executing command: SET until clause
Starting restore at 30-SEP-10
using channel ORA_AUX_DISK_1
WARNING: A restore time was estimated based on the supplied UNTIL SCN
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: restoring SPFILE
output file name=/apps/oracle/ora112/dbs/spfilecscp.ora
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/30/2010 09:16:24
RMAN-03015: error occurred in stored script Memory Script
ORA-03113: end-of-file on communication channel

Hi Maxym,
I used following command and to verify backup files then copy them to other server. I get error. Do you have any suggestions what I get Controllfile is not found?
RMAN> restore database preview until time "to_date('01-10-2010 22:26:30','dd-mm-yyyy hh24:mi:ss')";
When I run Duplicate database command, there was following error generated by the RMAN:
executing command: SET NEWNAME
Starting Duplicate Db at 04-OCT-10
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/04/2010 13:54:55
RMAN-05575: CONTROLFILE backup created before to_date('01-10-2010 22:26:30','dd-mm-yyyy hh24:mi:ss') not found in /mnt
After that, I run following command and copied the control file to other server and run duplicate command but still I get same error from rman.
RMAN> restore controlfile preview until time "to_date('01-10-2010 22:26:30','dd-mm-yyyy hh24:mi:ss')";
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
7350 Full 18.92M DISK 00:00:03 01-OCT-10
BP Key: 7360 Status: AVAILABLE Compressed: NO Tag: TAG20101001T011209
Piece Name: +DATA/cs01/autobackup/2010_10_01/s_731207529.613.731207531
Control File Included: Ckp SCN: 3981788360 Ckp time: 01-OCT-10

Similar Messages

  • RMAN-03002: failure of Duplicate Db command at 06/01/2013 16:47:33

    sql statement: alter system reset db_unique_name scope=spfile
    Oracle instance shut down
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/01/2013 16:47:33
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of archived log for thread 1 with sequence 8064 and starting SCN of 13048058320848 found to restore
    i am trying to duplicate a database, at the end it is getting finished with this error.
    can any one help me fixing this one?

    It is preferable to set an UNTIL point (to the latest available archivelog) when doing a DUPLICATE. Else, Oracle attempts a complete recovery and fails after the last archivelog it finds.
    Hemant K Chitale

  • Failure of duplicate - ORA -06054

    Hi,
    After a backup, we have a duplicate script running to copy it over to other server.
    Sometimes, when there is extra activity on the db and the backup takes longer, the duplicate fails with this:
    RMAN-03002: failure of Duplicate Db command at 04/08/2009 03:06:52
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 35238 lowscn5968228973373
    Can someone explain the meaning of this error? Is it as simple as delaying the timing of the duplicate for much later in the morning ?
    Thanks,
    DA

    The short answer is probably yes, you ought to be able to confirm by querying the primary for when that log was generated.
    You don't say what your script actually does, but when I've done this in the past the duplicate has been
    run {
    set until time '<Some well known time eg 6am>'
    duplicate target to ....
    }rather than
    run {
    duplicate target to ....
    }what then you need to watch out for is when the backup fails and you spend most of the day applying yesterdays archives to the duplicate!
    Niall Litchfield
    http://www.orawin.info/
    Dan A wrote:
    Hi,
    After a backup, we have a duplicate script running to copy it over to other server.
    Sometimes, when there is extra activity on the db and the backup takes longer, the duplicate fails with this:
    RMAN-03002: failure of Duplicate Db command at 04/08/2009 03:06:52
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 35238 lowscn5968228973373
    Can someone explain the meaning of this error? Is it as simple as delaying the timing of the duplicate for much later in the morning ?
    Thanks,
    DA

  • 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

  • Duplicate database command fails with RMAN-06023

    Hello,
    I am trying to test out the duplicate database command in RMAN and am running into some issues.
    I did a backup of my test database, copied the backup files to a second server, and now I'm trying to run the duplicate command and I get RMAN-06023 errors for all of my datafiles.
    I did crosschecks on my backupsets and they showed as available. They are in the same location on the new server, with the same permissions. There are no recent archived logs, as this is a very quiet environment.
    My commands and output (edited slightly) were as follows:
    RMAN> run {
    2> allocate channel d1 device type disk;
    3> allocate channel d2 device type disk;
    4> backup database;
    5> }
    allocated channel: d1
    channel d1: sid=32 devtype=DISK
    allocated channel: d2
    channel d2: sid=36 devtype=DISK
    Starting backup at 03-JUL-07
    channel d1: starting full datafile backupset
    channel d1: specifying datafile(s) in backupset
    channel d2: starting full datafile backupset
    channel d2: specifying datafile(s) in backupset
    input datafile fno=00012 name=/database/oradata/source/matrix_ts01.dbf
    input datafile fno=00004 name=/database/oraindex/source/ind_ts01.dbf
    input datafile fno=00006 name=/database/oradata/source/users_ts01.dbf
    input datafile fno=00003 name=/database/oradata/source/drsys01.dbf
    input datafile fno=00007 name=/database/oradata/source/ORACLEORADATATST2CWMLITE01.DBF
    input datafile fno=00009 name=/database/oradata/source/ORACLEORADATATST2ODM01.DBF
    input datafile fno=00005 name=/database/oradata/source/tools_ts01.dbf
    channel d2: starting piece 1 at 03-JUL-07
    including current SPFILE in backupset
    including current controlfile in backupset
    input datafile fno=00011 name=/database/oradata/source/ORACLEORADATADATA.DBF
    input datafile fno=00001 name=/database/oradata/source/system_ts01.dbf
    input datafile fno=00002 name=/database/oradata/source/undo_ts01.dbf
    input datafile fno=00008 name=/database/oradata/source/ORACLEORADATATST2EXAMPLE01.DBF
    input datafile fno=00010 name=/database/oradata/source/ORACLEORADATATST2XDB01.DBF
    channel d1: starting piece 1 at 03-JUL-07
    channel d2: finished piece 1 at 03-JUL-07
    piece handle=/database/oracle/product/9.2.0/dbs/0ciltjgn_1_1 comment=NONE
    channel d2: backup set complete, elapsed time: 00:08:17
    channel d1: finished piece 1 at 03-JUL-07
    piece handle=/database/oracle/product/9.2.0/dbs/0biltjgn_1_1 comment=NONE
    channel d1: backup set complete, elapsed time: 00:09:22
    Finished backup at 03-JUL-07
    released channel: d1
    released channel: d2
    ** at this point I copied the files listed above to same directory on destination server **
    RMAN> connect auxiliary sys/[email protected]
    connected to auxiliary database: destination (not mounted)
    RMAN> run {
    2> allocate auxiliary channel aux1 device type disk;
    3> allocate auxiliary channel aux2 device type disk;
    4> duplicate target database to destination nofilenamecheck;
    5> }
    llocated channel: aux1
    channel aux1: sid=10 devtype=DISK
    allocated channel: aux2
    channel aux2: sid=13 devtype=DISK
    Starting Duplicate Db at 03-JUL-07
    printing stored script: Memory Script
    set until scn 4873550;
    set newname for datafile 1 to
    "/database/oradata/destination/system_ts01.dbf";
    set newname for datafile 2 to
    "/database/oradata/destination/undo_ts01.dbf";
    set newname for datafile 3 to
    "/database/oradata/destination/drsys01.dbf";
    set newname for datafile 4 to
    "/database/oraindex/destination/ind_ts01.dbf";
    set newname for datafile 5 to
    "/database/oradata/destination/tools_ts01.dbf";
    set newname for datafile 6 to
    "/database/oradata/destination/users_ts01.dbf";
    set newname for datafile 7 to
    "/database/oradata/destination/ORACLEORADATATST2CWMLITE01.DBF";
    set newname for datafile 8 to
    "/database/oradata/destination/ORACLEORADATATST2EXAMPLE01.DBF";
    set newname for datafile 9 to
    "/database/oradata/destination/ORACLEORADATATST2ODM01.DBF";
    set newname for datafile 10 to
    "/database/oradata/destination/ORACLEORADATATST2XDB01.DBF";
    set newname for datafile 11 to
    "/database/oradata/destination/ORACLEORADATADATA.DBF";
    set newname for datafile 12 to
    "/database/oradata/destination/matrix_ts01.dbf";
    restore
    check readonly
    clone database
    executing script: 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
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 03-JUL-07
    released channel: aux1
    released channel: aux2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/03/2007 14:35:13
    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 12 found to restore
    RMAN-06023: no backup or copy of datafile 11 found to restore
    RMAN-06023: no backup or copy of datafile 10 found to restore
    RMAN-06023: no backup or copy of datafile 9 found to 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
    Thanks for any help,

    Hi,
    Where is you RMAN catalog? I think you forgot to connect to it.
    To duplicate a database check that folowing applies:
    1-the auxiliary instance is mounted
    2-the listener for the auxiliary db is up
    3-the backup pieces that RMAN is going to restore ARE AVAILABLE on the
    secondary/auxilary server with SAME NAME the have on the primary server (you can use NFS to avoid the copy of the pieces from primary to auxuliary box)
    Remember to be conected to both: target and auxiliary db.
    I have extracted the folowing lines from an RMAN script I used to create an standby database with the DUPLICATE command (the RMAN catalog was in the primary db controlfile, and the command was run on the primary server:
    $ rman target / nocatalog auxiliary sys/pwd@standbycard log=crCARD.log
    RMAN> duplicate target database for standby nofilenamecheck dorecover;
    I hope this helps
    Gustavo Restuccia

  • Rman : 'failure during compilaton of command'

    Hello friends,
    I am new to Rman backup.
    However, I attempted one for the first time, with a script file 'full_backup.sh'. I am having oracle 8i in Unix server.
    Rman did run and some files have been created in the backup directory. But towards the end, there was this message.
    RMAN-03022 : compiling command : backup
    RMAN-03026 : error recovery releasing channel resources
    RMAN- 08031 : released channel : c1
    RMAN- 08031 : released channel : c2
    RMAN- 08031 : released channel : c3
    ERROR MESSAGE STACK FOLLOWS
    RMAN - 03002 : failure during compilation of command
    RMAN - 03013 : command type : backup
    RMAN - 06089 : archival log /home2/oracle/arch/arch_1_14932.arc not found or out of sync with catalog.
    I would like to know
    1. whether I have successfully completed backup using the RMAN script
    2. What is the significance of the above message.
    3. Of course, I have deleted some archive log files, of which the last one could be /arch_1_14932.arc, before ever running RMAN.
    please help,
    regards,
    thomaskprakash

    Hi,
    can you paste the content of the script on the board? well here i am not in a position to comment on anything.for a instance i guess that you have some archivelog missingm,and this is the reason the rman came up with these texts.
    thanks
    Alok

  • Assertion failure error after migration to 11g (11.1.1.5)

    Hi All,
    I am facing an issue here after we migrated from 10g to 11g (11.1.1.5). Few reports shows following error.
    Error Codes: OAMP2OPY:ACIOA5LN
    Assertion failure: isXsiTypeSqlExpression(rExpr) at line 67 of /scratch/aime1/adestore/views/aime1_dadvfa0112/bifndn/analytics_web/main/project/webreport/exprformulautils.cpp
    Any workaround/fix for this error?
    Regards,
    Rajesh

    Hi Rajesh,
    We had the exact same issue occur in 11.1.1.5 as well. Our problem was due to the fact that our report was referencing a saved filter, and in that saved filter, we had a line that was a SQL based filter just like Haris mentions in this thread. We could not get a saved filter with an SQL filter line to work (even creating it from scratch), so I believe this is an 11.1.1.5 bug.
    We got around the problem by applying the contents of the saved filter, instead of the filter reference itself. Once we did that, the SQL filter line worked just fine.
    Please let me know if this works for you.
    Thanks,
    Jeremy
    Here's the first thread I posted this to:
    Re: Drill not working after miagrating (from 10g to 11.1.1.5 )

  • Adobe Muse CC crash with error #2063 - failure to execute IME command

    Is there any reason I am getting the following:
    Adobe Muse encountered an unexpected error and will have to be terminated.
    IME$/set enabled-Error: Error #2063: Error attempting to execute IME command.??
    Running on OSX 10.6.8 on Mac Pro

    Hello,
    Please uninstall Adobe Air from your computer, and reinstall the same from here: http://get.adobe.com/air/
    Once done, run Muse and check if you get the error again. You'll find the uninstaller for Adobe Air in the "Utilities" folder in your MAC.
    Hope this helps.
    Cheers
    Parikshit

  • Sudden failure of 32-bit Oracle 11g ODBC driver in 64-Bit Win7 box

    I had a working ODBC connection to an Oracle DB using the 32-bit 11g ODBC driver. Suddenly I was unable to connect, getting the error:
    Testing Connection
    Unable to connect
    SQLState=S1000
    [Oracle][ODBC][Ora]ORA-00604: error occurred at recursive SQL level 1
    ORA-12899: value too large for column "SYSTEM"."LOGON_AUDIT"."PROCESS" (actual: 13, maximum: 12)
    ORA-06512: at line 51
    OK
    For a strange twist, the connection works perfectly with the workstation in Safe Mode. I've tried disabling Symantec Endpoint Protection, and adjusting the Firewall, but so far no dice. Any advice I can get will be appreciated!
    Thanks
    Keith

    How do you get the 32bit client to communicate with the 64bit Oracle instance on the same windows box? After installing the 64 bit db and client (on a developer desktop), I installed the 32 bit client to a different oracle home. I could not get it to connect to the listener - what am I doing wrong? Should I reinstall it to the 64bit home - I'm afraid that'll kill everything though.
    Also, I think I'm correct in this, but not sure: any 32bit app must use the 32bit client on the 64bit box. MS Access needs 32bit ODBC, which needs 32bit client, etc.
    Thx,
    Jeff

  • Can't click on links in an email and successful launch browser/link. Get a "General failure" error message. "A failure occured sending the command to the application."

    This started happening after I updated my firefox version - exactly why I'm usually reticent to do so. If I click on a link or image in an email I get the aforementioned error message. Please help.

    Is Firefox your default browser? You have to have a default browser because the email client just sends out a notice to the default browser.
    * http://kb.mozillazine.org/Default_browser

  • Getting error while running duplicate command

    RMAN> duplicate target database to JEFFDUP;
    Starting Duplicate Db at 18-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=156 devtype=DISK
    contents of Memory Script:
    set until scn 1188531;
    set newname for datafile 1 to
    "C:\ORACLE\SYSTEM01.DBF";
    set newname for datafile 2 to
    "C:\ORACLE\UNDOTBS01.DBF";
    set newname for datafile 3 to
    "C:\ORACLE\SYSAUX01.DBF";
    set newname for datafile 4 to
    "C:\ORACLE\USERS01.DBF";
    set newname for datafile 5 to
    "C:\ORACLE\EXAMPLE01.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
    Starting restore at 18-JAN-11
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to C:\ORACLE\SYSTEM01.DBF
    restoring datafile 00002 to C:\ORACLE\UNDOTBS01.DBF
    restoring datafile 00003 to C:\ORACLE\SYSAUX01.DBF
    restoring datafile 00004 to C:\ORACLE\USERS01.DBF
    restoring datafile 00005 to C:\ORACLE\EXAMPLE01.DBF
    channel ORA_AUX_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\DB_2\FLASH_RECOVERY_AREA\ORCL4\BACKUPSET\2011_01_10\O1_MF_NNNDF_TAG20110110T001815_6L
    QJM5_.BKP
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=C:\ORACLE\PRODUCT\10.2.0\DB_2\FLASH_RECOVERY_AREA\ORCL4\BACKUPSET\2011_01_10\O1_MF_NNNDF_TAG20110110T001815_6LN0QJM5_.BKP tag=TAG20110110T001815
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:01:06
    Finished restore at 18-JAN-11
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "JEFFDUP" RESETLOGS ARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 ( 'C:\ORACLE\REDO01.LOG' ) SIZE 50 M REUSE,
    GROUP 2 ( 'C:\ORACLE\REDO02.LOG' ) SIZE 50 M REUSE,
    GROUP 3 ( 'C:\ORACLE\REDO03.LOG' ) SIZE 50 M REUSE
    DATAFILE
    'C:\ORACLE\SYSTEM01.DBF'
    CHARACTER SET WE8MSWIN1252
    **RMAN-00571: ===========================================================**
    **RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============**
    **RMAN-00571: ===========================================================**
    **RMAN-03002: failure of Duplicate Db command at 01/18/2011 19:10:32**
    **RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed**
    **ORA-01130: database file version 10.2.0.3.0 incompatible with ORACLE version 10.2.0.0.0**
    **ORA-01110: data file 1: 'C:\ORACLE\SYSTEM01.DBF'**
    Please help me in this..
    Thanks...

    >
    01504, 00000, "database name '%s' does not match parameter db_name '%s'"
    // *Cause:  The name in a database create or mount does not match the name
    // given in the INIT.ORA parameter db_name.
    // *Action: correct or omit one of the two names.
    >
    I think you have to edit the pfile from the auxiliary db..
    see:
    http://www.google.de/url?sa=t&source=web&cd=1&ved=0CBsQFjAA&url=http%3A%2F%2Fblogs.oracle.com%2FAlejandroVargas%2Fgems%2FRMANDUPDBPRACTICE.pdf&ei=PLQ1TYigMIqUOtyI_bYC&usg=AFQjCNHwggp30FDq-l3Wq5Pu4gk48X3Xhw
    Regards,
    - wiZ

  • Error while doing cloning using Duplicate command

    Hi,
    I am facing issue while doing clonning using duplicate command 'Active database'
    The error i am facing is as follows.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 02/19/2013 07:31:10
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on c14 channel at 02/19/2013 07:31:09
    ORA-17628: Oracle error 19510 returned by remote Oracle server
    Please help me in this.Not able to resolve it
    Thanks

    Aman wrote:
    Hi,
    I am facing issue while doing clonning using duplicate command 'Active database'
    The error i am facing is as follows.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 02/19/2013 07:31:10
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on c14 channel at 02/19/2013 07:31:09
    ORA-17628: Oracle error 19510 returned by remote Oracle server
    Please help me in this.Not able to resolve it
    Thanks[oracle@ora11gr2ee ~]$ oerr ora 17628
    17628, 00000, "Oracle error %s returned by remote Oracle server"
    // *Cause:  Oracle server on the remote instance has returned an error.
    // *Action: Look at remote instance alert log/trace file for more information
    // and take appropriate action or contact Oracle Support Services
    // for further assistance
    Seems pretty straightforward... is the target instance up?

  • The RMAN Duplicate Command Fails During The Recover.

    This exact script works fine in our lab. We are using Oracle 10.2.0.4.0.
    The hot backup for standby is also a script which runs without error in both the lab and
    the production machine.
    I am obviously missing something.
    Any help would be greatly appreciated.
    Thanks,
    Jeff
    =================
    RMAN BACKUP SCRIPT
    =================
    RMAN> run
    2> {
    3> allocate channel c1 device type disk format '/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_3261_BK4STDBY_%U';
    4> backup current controlfile for standby format '/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_3261_CNTRL4STDBY_%U';
    5> backup as compressed backupset check logical tag='1NETCMN1_3261_BK4STDBY' database include current controlfile for standby;
    6> backup archivelog from sequence 463 format '/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_3261_LOGS4STDBY_%U';
    7> release channel c1;
    8> }
    released channel: ORA_DISK_1
    allocated channel: c1
    channel c1: sid=578 devtype=DISK
    Starting backup at 22-JAN-13
    channel c1: starting full datafile backupset
    channel c1: specifying datafile(s) in backupset
    including standby control file in backupset
    channel c1: starting piece 1 at 22-JAN-13
    channel c1: finished piece 1 at 22-JAN-13
    piece handle=/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_3261_CNTRL4STDBY_05o02f01_1_1 tag=TAG20130122T144104 comment=NONE
    channel c1: backup set complete, elapsed time: 00:00:02
    Finished backup at 22-JAN-13
    Starting backup at 22-JAN-13
    channel c1: starting compressed full datafile backupset
    channel c1: specifying datafile(s) in backupset
    input datafile fno=00004 name=/u01/oradata/apoint/users01.dbf
    input datafile fno=00001 name=/u01/oradata/apoint/system01.dbf
    input datafile fno=00002 name=/u01/oradata/apoint/undotbs01.dbf
    input datafile fno=00003 name=/u01/oradata/apoint/sysaux01.dbf
    channel c1: starting piece 1 at 22-JAN-13
    channel c1: finished piece 1 at 22-JAN-13
    piece handle=/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_3261_BK4STDBY_06o02f05_1_1 tag=1NETCMN1_3261_BK4STDBY comment=NONE
    channel c1: backup set complete, elapsed time: 00:22:35
    channel c1: starting compressed full datafile backupset
    channel c1: specifying datafile(s) in backupset
    including standby control file in backupset
    channel c1: starting piece 1 at 22-JAN-13
    channel c1: finished piece 1 at 22-JAN-13
    piece handle=/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_3261_BK4STDBY_07o02gah_1_1 tag=1NETCMN1_3261_BK4STDBY comment=NONE
    channel c1: backup set complete, elapsed time: 00:00:07
    Finished backup at 22-JAN-13
    Starting backup at 22-JAN-13
    current log archived
    channel c1: starting archive log backupset
    channel c1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=463 recid=5 stamp=805323439
    input archive log thread=1 sequence=464 recid=6 stamp=805331764
    input archive log thread=1 sequence=465 recid=7 stamp=805387242
    input archive log thread=1 sequence=466 recid=8 stamp=805387245
    input archive log thread=1 sequence=467 recid=9 stamp=805388633
    channel c1: starting piece 1 at 22-JAN-13
    channel c1: finished piece 1 at 22-JAN-13
    piece handle=/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_3261_LOGS4STDBY_08o02gaq_1_1 tag=TAG20130122T150354 comment=NONE
    channel c1: backup set complete, elapsed time: 00:00:36
    Finished backup at 22-JAN-13
    released channel: c1
    RMAN> exit
    Recovery Manager complete.
    =====================
    RMAN DUPLICATE SCRIPT
    =====================
    RMAN> run
    2> {
    3> allocate auxiliary channel c1 device type disk;
    4>
    5> duplicate target database for standby dorecover nofilenamecheck;
    6> release channel c1;
    7> }
    allocated channel: c1
    channel c1: sid=299 devtype=DISK
    Starting Duplicate Db at 21-JAN-13
    contents of Memory Script:
    set until scn 143395851;
    restore clone standby controlfile;
    sql clone 'alter database mount standby database';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 21-JAN-13
    channel c1: starting datafile backupset restore
    channel c1: restoring control file
    channel c1: reading from backup piece /u03/oradata/apoint/DB_BACKUPS/1NETCMN1_6874_BK4STDBY_03o008gn_1_1
    channel c1: restored backup piece 1
    piece handle=/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_6874_BK4STDBY_03o008gn_1_1 tag=1NETCMN1_6874_BK4STDBY
    channel c1: restore complete, elapsed time: 00:00:04
    output filename=/u01/oradata/apoint/control01.ctl
    output filename=/u02/oradata/apoint/control02.ctl
    output filename=/u03/oradata/apoint/control03.ctl
    Finished restore at 21-JAN-13
    sql statement: alter database mount standby database
    contents of Memory Script:
    set until scn 143395851;
    set newname for tempfile 1 to
    "/u01/oradata/apoint/temp01.dbf";
    switch clone tempfile all;
    set newname for datafile 1 to
    "/u01/oradata/apoint/system01.dbf";
    set newname for datafile 2 to
    "/u01/oradata/apoint/undotbs01.dbf";
    set newname for datafile 3 to
    "/u01/oradata/apoint/sysaux01.dbf";
    set newname for datafile 4 to
    "/u01/oradata/apoint/users01.dbf";
    restore
    check readonly
    clone database
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    renamed temporary file 1 to /u01/oradata/apoint/temp01.dbf in control file
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 21-JAN-13
    channel c1: starting datafile backupset restore
    channel c1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /u01/oradata/apoint/system01.dbf
    restoring datafile 00002 to /u01/oradata/apoint/undotbs01.dbf
    restoring datafile 00003 to /u01/oradata/apoint/sysaux01.dbf
    restoring datafile 00004 to /u01/oradata/apoint/users01.dbf
    channel c1: reading from backup piece /u03/oradata/apoint/DB_BACKUPS/1NETCMN1_6874_BK4STDBY_02o0076b_1_1
    channel c1: restored backup piece 1
    piece handle=/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_6874_BK4STDBY_02o0076b_1_1 tag=1NETCMN1_6874_BK4STDBY
    channel c1: restore complete, elapsed time: 00:21:32
    Finished restore at 21-JAN-13
    contents of Memory Script:
    switch clone datafile all;
    executing Memory Script
    datafile 1 switched to datafile copy
    input datafile copy recid=5 stamp=805323205 filename=/u01/oradata/apoint/system01.dbf
    datafile 2 switched to datafile copy
    input datafile copy recid=6 stamp=805323205 filename=/u01/oradata/apoint/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafile copy recid=7 stamp=805323206 filename=/u01/oradata/apoint/sysaux01.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=8 stamp=805323206 filename=/u01/oradata/apoint/users01.dbf
    contents of Memory Script:
    set until scn 143395851;
    recover
    standby
    clone database
    delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 21-JAN-13
    starting media recovery
    channel c1: starting archive log restore to default destination
    channel c1: restoring archive log
    archive log thread=1 sequence=462
    channel c1: reading from backup piece /u03/oradata/apoint/DB_BACKUPS/1NETCMN1_6874_LOGS4STDBY_04o008gu_1_1
    channel c1: restored backup piece 1
    piece handle=/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_6874_LOGS4STDBY_04o008gu_1_1 tag=TAG20130121T183822
    channel c1: restore complete, elapsed time: 00:00:03
    archive log filename=/u03/oradata/apoint/DB_ARCHIVE_LOGS/apoint_1_688761648_462.arch thread=1 sequence=462
    Oracle Error:
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/u01/oradata/apoint/system01.dbf'
    released channel: c1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/21/2013 20:53:44
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/u03/oradata/apoint/DB_ARCHIVE_LOGS/apoint_1_688761648_462.arch'
    ORA-16145: archival for thread# 1 sequence# 462 in progress
    RMAN> exit

    Jeff;
    I think the issue is in your backup. If you compare your command with mine, you may or may not see the issue, but this is how I got this to work.
    Yours
    RMAN run
    allocate channel c1 device type disk format '/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_3261_BK4STDBY_%U';
    backup current controlfile for standby format '/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_3261_CNTRL4STDBY_%U';
    backup as compressed backupset check logical tag='1NETCMN1_3261_BK4STDBY' database include current controlfile for standby;
    backup archivelog from sequence 463 format '/u03/oradata/apoint/DB_BACKUPS/1NETCMN1_3261_LOGS4STDBY_%U';
    release channel c1;
    Mine
    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
    release channel d1;
    }Your duplicate is very close to what I use :
    Yours
    RMAN> run
    allocate auxiliary channel c1 device type disk;
    duplicate target database for standby dorecover nofilenamecheck;
    release channel c1;
    Mine
    RMAN> run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    }Short notes :
    http://www.visi.com/~mseberg/duprman.html
    Best Regards
    mseberg

  • Duplicate database failure

    RMAN-00571: =============================
    RMAN-00569: ==ERROR MESSAGE STACK FOLLOWS
    RMAN-00571: =============================
    RMAN-03002: failure of Duplicate Db command at 03/05/2004 14:59:50
    RMAN-03015: error occurred in stored script Memory Script
    ORA-27192: skgfcls: sbtclose2 returned error - failed to close file
    ORA-19511: Error received from media manager layer, error text:
    sbtclose2: Failed to process backup file.
    ORA-19504: failed to create file "/oradata/inkdb/data/ink_tab/ink_OP001.dbf"
    ORA-17502: ksfdcre:4 Failed to create file /oradata/inkdb/data/ink_tab/ink_OP001.dbf
    ORA-17500: ODM err:File too large
    Actually i'm trying to Duplicate the Database to a different Host. I checked all User Rights and permissions as well as the path. Also enough Space is available (170GB for a 2GB File).

    Apply this command and post the results:
    df /oradata/inkdb/data/ink_tab
    ls -la /oradata/inkdb/data/ink_tab
    Joel Pérez

  • RMAN duplicatye command failure

    Hi blokes,
    This is the error message I got when I was trying to duplicate my prod. database (Release 9.2.0.7.0) to another server..
    Any clue to this would be highly welcome.....
    ERROR MESSAGE
    released channel: ch00
    released channel: ch01
    released channel: ch02
    released channel: ch03
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 04/04/2007 06:57:49
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-19563: header validation failed for file
    Recovery Manager complete.
    Script ./duplicate_prod_qaupgrad_rman.sh
    ==== ended in error on Wed Apr 4 06:57:49 BST 2007 ==== echo
    Below is the RMAN scripts I used ;
    # view duplicate_prod_qaupgrad_rman.sh
    "duplicate_prod_qaupgrad_rman.sh" [Read only] 150 lines, 5663 characters
    #!/bin/sh
    # $Header: hot_database_backup.sh,v 1.9 2002/02/06 16:48:56 lstrub Stab $
    #bcpyrght
    #* $VRTScprght: Copyright 1993 - 2002 VERITAS Software Corporation, All Rights Reserved $ *
    #ecpyrght
    # duplicate_prod_qaupgrad_rman.sh
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/opt/THUSssh/bin:/opt/THUSssh/bin:/opt/THUSapache1/sbin:/opt/THUSaxiom-rad/sbin:/opt/THUSe
    xim4/sbin:/opt/THUSssh/sbin:/opt/THUSsudo/sbin:/opt/THUSudsyslogd/sbin:/opt/THUSwrap/sbin:/opt/VRTSvxfs/sbin:/opt/SUNWexplo/b
    in:/opt/SUNWppro/bin:/opt/SUNWrtvc/bin:/opt/SUNWsan/bin:/opt/THUSapache1/bin:/opt/THUSberkeleydb/bin:/opt/THUSexpat/bin:/opt/
    THUSlibxml2/bin:/opt/THUSorca/bin:/opt/THUSperl5/bin:/opt/THUSrsync/bin:/opt/THUSssh/bin:/opt/THUSssl/bin:/opt/THUSsudo/bin:/
    opt/THUStomcat/bin:/opt/VRTSlic/bin:/opt/VRTSvcs/bin:/opt/VRTSweb/bin
    export PATH
    echo $PATH >/tmp/qaaxiom_recover.path
    # Determine the user which is executing this script.
    CUSER=`id |cut -d"(" -f2 | cut -d ")" -f1`
    # Put output in <this file name>.out. Change as desired.
    # Note: output directory requires write permission.
    RMAN_LOG_FILE=/usr/openv/netbackup/scripts/oracle/logs/duplicate_prod_qaupgrad_rman.log.`date '+%a'`
    CMD_FILE=/usr/openv/netbackup/scripts/oracle/bin/duplicate_prod_qaupgrad_rman.rcv
    # You may want to delete the output file so that backup information does
    # not accumulate. If not, delete the following lines.
    if [ -f "$RMAN_LOG_FILE" ]
    then
    rm -f "$RMAN_LOG_FILE"
    fi
    # Initialize the log file.
    echo >> $RMAN_LOG_FILE
    chmod 666 $RMAN_LOG_FILE
    # Log the start of this script.
    echo Script $0 >> $RMAN_LOG_FILE
    echo ==== started on `date` ==== >> $RMAN_LOG_FILE echo >> $RMAN_LOG_FILE
    # Replace /db/oracle/product/ora81, below, with the Oracle home path.
    I got the following error messages

    Hi blokes,
    This is the error message I got when I was trying to duplicate my prod. database (Release 9.2.0.7.0) to another server..
    Any clue to this would be highly welcome.....
    ERROR MESSAGE
    released channel: ch00
    released channel: ch01
    released channel: ch02
    released channel: ch03
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 04/04/2007 06:57:49
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-19563: header validation failed for file
    Recovery Manager complete.
    Script ./duplicate_prod_qaupgrad_rman.sh
    ==== ended in error on Wed Apr 4 06:57:49 BST 2007 ==== echo
    Below is the RMAN scripts I used ;
    # view duplicate_prod_qaupgrad_rman.sh
    "duplicate_prod_qaupgrad_rman.sh" [Read only] 150 lines, 5663 characters
    #!/bin/sh
    # $Header: hot_database_backup.sh,v 1.9 2002/02/06 16:48:56 lstrub Stab $
    #bcpyrght
    #* $VRTScprght: Copyright 1993 - 2002 VERITAS Software Corporation, All Rights Reserved $ *
    #ecpyrght
    # duplicate_prod_qaupgrad_rman.sh
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/opt/THUSssh/bin:/opt/THUSssh/bin:/opt/THUSapache1/sbin:/opt/THUSaxiom-rad/sbin:/opt/THUSe
    xim4/sbin:/opt/THUSssh/sbin:/opt/THUSsudo/sbin:/opt/THUSudsyslogd/sbin:/opt/THUSwrap/sbin:/opt/VRTSvxfs/sbin:/opt/SUNWexplo/b
    in:/opt/SUNWppro/bin:/opt/SUNWrtvc/bin:/opt/SUNWsan/bin:/opt/THUSapache1/bin:/opt/THUSberkeleydb/bin:/opt/THUSexpat/bin:/opt/
    THUSlibxml2/bin:/opt/THUSorca/bin:/opt/THUSperl5/bin:/opt/THUSrsync/bin:/opt/THUSssh/bin:/opt/THUSssl/bin:/opt/THUSsudo/bin:/
    opt/THUStomcat/bin:/opt/VRTSlic/bin:/opt/VRTSvcs/bin:/opt/VRTSweb/bin
    export PATH
    echo $PATH >/tmp/qaaxiom_recover.path
    # Determine the user which is executing this script.
    CUSER=`id |cut -d"(" -f2 | cut -d ")" -f1`
    # Put output in <this file name>.out. Change as desired.
    # Note: output directory requires write permission.
    RMAN_LOG_FILE=/usr/openv/netbackup/scripts/oracle/logs/duplicate_prod_qaupgrad_rman.log.`date '+%a'`
    CMD_FILE=/usr/openv/netbackup/scripts/oracle/bin/duplicate_prod_qaupgrad_rman.rcv
    # You may want to delete the output file so that backup information does
    # not accumulate. If not, delete the following lines.
    if [ -f "$RMAN_LOG_FILE" ]
    then
    rm -f "$RMAN_LOG_FILE"
    fi
    # Initialize the log file.
    echo >> $RMAN_LOG_FILE
    chmod 666 $RMAN_LOG_FILE
    # Log the start of this script.
    echo Script $0 >> $RMAN_LOG_FILE
    echo ==== started on `date` ==== >> $RMAN_LOG_FILE echo >> $RMAN_LOG_FILE
    # Replace /db/oracle/product/ora81, below, with the Oracle home path.
    I got the following error messages

Maybe you are looking for

  • How to un-sync a calendar and NOT delete ANY events?  Please help!

    Hi, I seem to be the only one with this problem. I search all over and can't find information for what I want to do, everyone wants to do the opposite. So basically I had a job and an iphone. I used my calendar at work for personal events and so fort

  • Regarding full repair

    Hello All, I have a situation here, is as follows, I did init without data transfer for a perticular sale organization now I want to do full repair for that sale org from R3 (LIS_13_VAITM). My question is do I need to fill setup table for full repair

  • Fast-Reroute on a ring with Gig Interface

    Hi, I'm trying to setup a fast-reroute option on a 4 routers ring connected through gige with OSPF. The main idea is to be able to use xconnect between A & B for normal route with a backup through C & D in case of Gig failure AB. I created two tunnel

  • Not receiving Return Label in email

    Hi Best Buy.. I am inquiring about an issue I have regarding acquiring a return label. I had purchased a TV on bestbuy.com, it had arrived with some Stuck Pixels on the screen and I requested a replacement TV. This was easy, and while on the phone I

  • What are the Binoculars in the address bar, amI being spyed upon?

    Sometimes but not always, a little pair of binoculars appear at the beginning of the address bar at the top of the display screen. Does this mean someone is spying on me? I have run virus scans but nothing shows up!