RMAN-20021: database not set

Hi All,
We have database Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production running on RedHat edition 4.
I have done incomplete recovery of database to previous incarnation using autobackup controlfile with RMAN, opened database with resetlogs everything went fine. database is up and running. Now when i tried to take backup of the database i have received following error
Starting backup at 29-APR-08
current log archived
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 04/29/2008 19:21:21
RMAN-20021: database not set
RMAN> set DBID=279496673
executing command: SET DBID
RMAN> backup database plus archivelog ;
Starting backup at 29-APR-08
current log archived
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 04/29/2008 19:22:46
RMAN-20021: database not set
RMAN> backup database;
Starting backup at 29-APR-08
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 04/29/2008 19:23:48
RMAN-20021: database not set
RMAN-06031: could not translate database keyword
Can anyone please advice as what is reason behind this error. searched on the internet but nothing found rather than contacting oracle support
Regards
Vinay

Sorry forgot to add some information.
before recovery we were using recovery catalog which was on the same database.
while doing recovery restored controlfile by
RMAN> restore controlfile from '/oracle/oradata/envdvp/backup/controlfile/C-279496673-20080429-18';
and then performed restore and recovery operation

Similar Messages

  • RMAN-target database not found

    Hello All:
    we have rman config (0 level bkp) for our PROD backup, rman catalog is on a different server. running OK. heaving 0 level backup of our PROD.... no issue.
    Now we have one more PROD db implemented recently for payroll on seperate server, so we decided to have rman backup of this also.
    we set that rman script to here also and made the neccessary changes.
    It is heaving backup, archive backup ... no issue ...
    but it error while "RMAN Catalog resync"
    that part from script is
    ## RMAN Catalog resync ##
    rman log=/u01/bkp/logs/backup_resync.log << EOF
    connect catalog rman/rman@rman
    connect target /
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/bkp/backup/ctrl_%F';
    resync catalog;
    EOF
    and the error on log file "backup_resync.log" getting:
    Recovery Manager: Release 11.1.0.6.0 - Production on Fri Aug 10 04:25:04 2012
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN>
    connected to recovery catalog database
    RMAN>
    connected to target database: ORCL (DBID=2588904899)
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of configure command at 08/10/2012 04:25:29
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
    RMAN>
    Recovery Manager complete.
    plese suggest on this, i googled, saying to register the catalog, tried but no luck....
    thanks in ADV
    Edited by: DOA on 9 Aug, 2012 10:16 PM
    Edited by: DOA on 9 Aug, 2012 10:17 PM

    Hello vreddy,
    Thanks for the reply...
    I am bit new with the rman word....
    I tried command on server where catalog exist (stating: my PROD and catalog exist on different different server)
    (orcl is my PROD db name)
    rman target / catalog ORCL
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Aug 10 10:57:29 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: RMAN (DBID=1583459273)
    recovery catalog database Password:
    asking for some password, which password here we need to supply ?
    for more clear picture I also execute command on catalog side:
    SQL> select name,DBID,RESETLOGS_TIME from rc_database order by 1;
    NAME DBID RESETLOGS
    PROD 4247251480 12-MAY-04
    RMAN 1583455429 02-JAN-09
    db ORCL is not there in the list....

  • RMAN saying database not started??

    Hi there,
    If I log into my database through OEM, it connects fine.
    Through Unix, I set my SID and type in:
    rman target /
    It connects me to rman but says: connected to target database (not started)
    I then try and run a crosscheck archivelog all and it says this:
    Erro message stack....
    failure of crosscheck command
    automatic channel allocation initialization failed
    could not obtain a fully authorized session
    ORACLE not available
    shared memory realm does not exist
    Linux Error: No such file or directory.
    Any thoughta on what is going on here?
    Thanks in advance!

    herb:oradbp2 ~$ id
    uid=500(herb) gid=501(dba) groups=501(dba)
    herb:oradbp2 ~$ env | sort
    _=/bin/env
    DISPLAY=oradbp2.lilydale:33
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/home/herb
    HOSTNAME=oradbp2.lilydale
    INPUTRC=/etc/inputrc
    KDEDIR=/usr
    LANG=en_US
    LD_ASSUME_KERNEL=2.4.19
    LD_LIBRARY_PATH=:/d01/app/oracle/9ise/lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=herb
    LS_COLORS=no=00:fi=00:di=00;33:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/herb
    ORACLE_BASE=/d01/app/oracle
    ORACLE_HOME=/d01/app/oracle/9ise
    ORACLE_SID=LSDB
    PATH=/d01/app/oracle/9ise/bin:/d01/app/oracle/9ise/OPatch:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/herb/bin
    PWD=/home/herb
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT=::ffff:10.1.6.200 50766 22
    SSH_CONNECTION=::ffff:10.1.6.200 50766 ::ffff:10.1.0.193 22
    SSH_TTY=/dev/pts/1
    TERM=xterm
    USER=herb
    herb:oradbp2 ~$ ps -ef | grep -i pmon
    herb 1934 1 0 2010 ? 00:02:32 ora_pmon_lsdb
    herb 3984 3359 0 11:06 pts/1 00:00:00 grep -i pmon
    herb:oradbp2 ~$ ls -l $ORACLE_HOME/dbs
    total 18960
    lrwxrwxrwx 1 herb dba 53 Dec 4 2008 initanalyzer.ora -> /d01/app/oracle/admin/analyzer/pfile/initanalyzer.ora
    lrwxrwxrwx 1 herb dba 49 Nov 12 2008 initcit1p1.ora -> /d01/app/oracle/admin/cit1p1/pfile/initcit1p1.ora
    lrwxrwxrwx 1 herb dba 45 Oct 25 2008 initlsdb.ora -> /d01/app/oracle/admin/lsdb/pfile/initlsdb.ora
    lrwxrwxrwx 1 herb dba 45 Nov 22 2008 initpvsp.ora -> /d01/app/oracle/admin/pvsp/pfile/initpvsp.ora
    lrwxrwxrwx 1 herb dba 43 Nov 12 2008 initrep.ora -> /d01/app/oracle/admin/rep/pfile/initrep.ora
    -rw-rw---- 1 herb dba 24 Dec 13 2008 lkANALYZER
    -rw-rw---- 1 herb dba 24 Dec 12 2008 lkCIT1P1
    -rw-rw---- 1 herb dba 24 Dec 9 2008 lkKRON43
    -rw-rw---- 1 herb dba 24 May 18 2010 lkLSDB
    -rw-rw---- 1 herb dba 24 Dec 13 2008 lkPVSP
    -rw-rw---- 1 herb dba 24 Dec 12 2008 lkREP
    -rwSr----- 1 herb dba 2048 Dec 4 2008 orapwanalyzer
    -rwSr----- 1 herb dba 2048 Nov 12 2008 orapwcit1p1
    -rwSr----- 1 herb dba 2048 Nov 25 2008 orapwkron43
    -rwSr----- 1 herb dba 1536 Oct 25 2008 orapwlsdb
    -rwSr----- 1 herb dba 2048 Nov 22 2008 orapwpvsp
    -rwSr----- 1 herb dba 2048 Nov 12 2008 orapwrep
    -rw-rw---- 1 herb dba 4718592 Mar 10 2009 p1k9ipga_1_1
    -rw-rw---- 1 herb dba 1630208 Dec 12 2008 snapcf_analyzer.f
    -rw-rw---- 1 herb dba 1630208 Dec 11 2008 snapcf_cit1p1.f
    -rw-rw---- 1 herb dba 1679360 Dec 9 2008 snapcf_kron43.f
    -rw-rw---- 1 herb dba 6397952 Jan 16 18:27 snapcf_lsdb.f
    -rw-rw---- 1 herb dba 1630208 Dec 12 2008 snapcf_pvsp.f
    -rw-rw---- 1 herb dba 1630208 Dec 11 2008 snapcf_rep.f
    -rw-rw---- 1 herb dba 2560 Oct 25 2008 spfilelsdb.ora.bak

  • RMAN-20021(How to resolve)

    Version:10.2.0.1.0
    OS: windows XP
    After registering the target database with recovery catalog(another database).
    when i am trying to create a local script, i am getting the below error.
    RMAN-03009: failure of create script command on default channel
    RMAN-20021: database not set
    How to resolve this..

    From the online docs you regrettably failed to search before posting
    RMAN-20021 database not set
    Cause: This an internal error.
    Action: Contact Oracle Support Services
    Sybrand Bakker
    Senior Oracle DBA

  • RMAN-20001: target database not found in recovery catalog

    I am practicing loss off all control files. I have rman catalog backups which are set to autobackup controlfile. So far I did this.
    RMAN> startup nomount;
    Oracle instance started
    Total System Global Area 209715200 bytes
    Fixed Size 1272864 bytes
    Variable Size 155190240 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 2920448 bytes
    RMAN> restore controlfile from autobackup;
    Starting restore at 08-SEP-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    recovery area destination: /u02/flash_recovery
    database name (or database unique name) used for search: TEST
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: /u02/flash_recovery/TEST/autobackup/2009_12_09/o1_mf_s_705171034_5l0kgv4o_.bkp
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=/u02/control_files/TEST/control02.ctl
    output filename=/u03/oradata/TEST/control03.ctl
    Finished restore at 08-SEP-10
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 09/08/2010 14:54:50
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
    I am assuming this has something to do with DBID but ... I don't have it and I don't know how to find it.

    Hi BelMan,
    Here is output
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    56869 Full 11.20M DISK 00:00:00 08-SEP-10
    BP Key: 56871 Status: AVAILABLE Compressed: NO Tag: TAG20100908T135312
    Piece Name: /u01/oracle/product/10.2.0/db_1/dbs/cf_c-549414289-20100908-00
    Control File Included: Ckp SCN: 125665520 Ckp time: 08-SEP-10
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    56993 Full 11.20M DISK 00:00:00 08-SEP-10
    BP Key: 56995 Status: AVAILABLE Compressed: NO Tag: TAG20100908T142547
    Piece Name: /u01/oracle/product/10.2.0/db_1/dbs/cf_c-549414289-20100908-01
    Control File Included: Ckp SCN: 125668490 Ckp time: 08-SEP-10

  • When to restore controlfile, rman is complaining database not mounted?

    to restore controlfile, shouldn`t the database be in NOMOUNT status?
    if yes, then why rman is complaining ORA-01507?
    where I went wrong? Please advise.
    C:\Documents and Settings\PhoenixBai>rman target / nocatalog
    Recovery Manager: Release 10.2.0.1.0 - Production on Tue Dec 14 10:35:51 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount;
    Oracle instance started
    Total System Global Area     612368384 bytes
    Fixed Size                     1250428 bytes
    Variable Size                234883972 bytes
    Database Buffers             369098752 bytes
    Redo Buffers                   7135232 bytes
    RMAN> restore controlfile until time 'sysdate-1.5/24';
    Starting restore at 14-DEC-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/14/2010 10:36:12
    ORA-01507: database not mounted
    RMAN>

    it doesn`t. I tried long before this one.
    the dilemma i am facing is that I need to recover to the time which was included in incarnation 2.
    And to be able to reset database to incarnation 2, i need to startup MOUNT the database.
    And once you startup mount the database RESTORE CONTROLFILE won`t work any more.
    below is the standard procedure, documented on 10gR2 doc, but still, i am getting errors:
    Why it is throwing errors? HOw can I fix?
    RMAN> alter database mount;
    database mounted
    RMAN> list incarnation of database orcl;
    List of Database Incarnations
    DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
    1       1       ORCL     1264908153       PARENT  1          30-AUG-05
    2       2       ORCL     1264908153       PARENT  534907     07-DEC-10
    3       3       ORCL     1264908153       CURRENT 56335397   14-DEC-10
    RMAN> reset database to incarnation 2;
    database reset to incarnation 2
    RMAN> restore database until scn 56335390;
    Starting restore at 14-DEC-10
    using channel ORA_DISK_1
    creating datafile fno=6 name=E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\ETLTBS01.ORA
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
    restoring datafile 00002 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
    restoring datafile 00003 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
    restoring datafile 00004 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
    restoring datafile 00005 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
    channel ORA_DISK_1: reading from backup piece E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2
    MF_NNND1_TAG20101213T132300_6JCCFO2X_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2010_12_13\O1_MF_NNND1_TAG20101213
    O2X_.BKP tag=TAG20101213T132300
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:55
    Finished restore at 14-DEC-10
    RMAN> recover database until scn 56335390;
    Starting recover at 14-DEC-10
    using channel ORA_DISK_1
    starting media recovery
    media recovery failed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/14/2010 11:36:14
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
    start until change 56335390
    ORA-00283: recovery session canceled due to errors
    ORA-38727: FLASHBACK DATABASE requires a current control file.Edited by: PhoenixBai on Dec 14, 2010 11:37 AM

  • RMAN-06031: could not translate database keyword

    what is the solution following error
    RMAN> list backup summary;
    using target database control file instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of list command at 02/24/2011 14:24:42
    ORA-01555: snapshot too old: rollback segment number 20 with name "_SYSSMU20_328
    6862503$" too small
    RMAN-06031: could not translate database keyword

    ORA-01555: snapshot too old
    ORA-01555  Snapshot too old
    Regards
    Asif Kabir

  • SVM state database replica Master flag not set for any replica

    Hi guys,
    Recently i have done root mirroring. After creating svm volumes, i ran the metadb command to create state database replicas on the replaced disk. I created only one replica that time. I tried creating additional replicas but it said like replica already exist on the slice. So i deleted the replica on the slice. Thn i created 3 replicas again & ran metadb. Output of metadb command is below. I found there is not master flag not set for any replica. I like to know whether it would create any issue or it is fine.
    flags first blk block count
    a u 16 8192 /dev/dsk/c1t0d0s7
    a u 8208 8192 /dev/dsk/c1t0d0s7
    a u 16400 8192 /dev/dsk/c1t0d0s7
    a p luo 16 8192 /dev/dsk/c1t1d0s7
    a p luo 8208 8192 /dev/dsk/c1t1d0s7
    a p luo 16400 8192 /dev/dsk/c1t1d0s7

    That shouldn't be any problem, i think the metadb's are just read at boot, and at boot one of the replicas will be choosen as the master, and will then get the m-flag.
    I suspect that you deleted the replica which was used as the master during the last boot, which is why none of your replicas have the m-flag at the moment, which is not a problem as it will be choosing a new replica during the next boot.
    .7/M.

  • OWB 11.1.0.6.0 with database character set AL32UTF8 is not working

    Hi ,
    we are working for a project for Turkey.
    if we insert Turkish characters in database ,in sqldevelpoer we are able to see the correct data. but when i load a file from preprocessor in OWB Process Flow, the characters which are in Turkish got changed to different characters in database. our databse character set is AL32UTF8. could you please throw some light on this please.
    Many thanks,
    kiranmai.

    hi ,
    ya we are using the correct dataset only in preprocessr configuration. actually it was a problem with OWB only ,
    i have changed database character set to WE8ISO8859P9,then i am able to se correct Trukey chars in database. i think it was a SR for oracle .

  • Error using RMAN thru Database Control

    Hello guys..
    I installed Oracle 10gR2 on solaris 10, and created a sample DB called HEAT. This database is configured to run in Archivelog mode and also created Flash_recovery_area.
    Iam trying to take a simple backup thru RMAN using OEM ( Database Control). there is only 1 database on that server and i plan to use controlfile instead of recovery catalog.
    Now here are the steps when i execute, i get an ERROR.
    1. connected as 'sys' from Database Control.
    2. Went to Maintenence Tab, click in Backup settings.
    3. click on Device Tab, enter OS credentials and click on "Test disk backup"..
    4. I get an error that says "Disk Backup Test Failed!"
    When click on View Error Details :
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Feb 2 12:53:29 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN>
    connected to target database (not started)
    RMAN>
    echo set on
    RMAN> run {
    2> allocate channel oem_disk_backup device type disk;
    3> backup as BACKUPSET current controlfile tag '02022007125328';
    4> restore controlfile validate from tag '02022007125328';
    5> release channel oem_disk_backup;
    6> }
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 02/02/2007 12:53:30
    RMAN-06403: could not obtain a fully authorized session
    ORA-01034: ORACLE not available
    RMAN> allocate channel for maintenance type disk;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 02/02/2007 12:53:30
    RMAN-06403: could not obtain a fully authorized session
    ORA-01034: ORACLE not available
    RMAN> delete noprompt backuppiece tag '02022007125328';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 02/02/2007 12:53:30
    RMAN-12010: automatic channel allocation initialization failed
    RMAN-06403: could not obtain a fully authorized session
    ORA-01034: ORACLE not available
    RMAN> exit;
    Recovery Manager complete.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I only have 1 database , and it is configured to backup using Control file and not Recovery catalog ( which is the default)...
    What additional steps do i have to do, to take a simple backup using database control ? I am not sure why it says Database not available...while DB is indeed available and open.
    any help is appreciated..
    thanks

    I, too, am receiving these same errors when I do my backups. The sysadmin took the systems down over the weekend and the backup has failed ever since. Database is up, ORACLE_SID looks fine, what could be wrong? This nightly backup worked before system went down. I can connect as sysdba using the ORACLE_SID as set.
    Thanks,
    Candy

  • Creation of Logical Standby Database Using RMAN ACTIVE DATABASE COMMAND

    Hi All,
    I am in confusion how to create logical standby database from primary database using rman active database command.
    What i did:-
    Create primary database on machine 1 on RHEL 5 with Oracle 11gR2
    Create standby database on machine 2 on RHEL 5 With Oracle 11gR2 from primary using RMAN active database command
    Trying to create logical standby database on machine 3 on RHEL 5 with Oracle 11gR2 using RMAN active database command from primary.
    The point which confuse me is to start the logical standby in nomount mode on machine 3 with which pfile like i create the pfile for standby database do i need to create the pfile for logical standby db.
    I done the creation of logical standby database by converting physical standby to logical standby database
    I am following the below mentioned doc for the same:
    Creating a physical and a logical standby database in a DR environment | Chen Guang&amp;#039;s Blog
    Kindly guide me how to work over the same or please provide me the steps of the same.
    Thanks in advance.

    Thanks for your reply
    I already started the logical standby database with pfile in nomount mode. And successfully completed the duplication of database. by mentioning the DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT parameter.
    But i am not able to receive the logs on the above mentioned blog i run the sql command to check the logs but getting "no rows selected"
    My primary database pfile is:
    pc01prmy.__db_cache_size=83886080
    pc01prmy.__java_pool_size=12582912
    pc01prmy.__large_pool_size=4194304
    pc01prmy.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    pc01prmy.__pga_aggregate_target=79691776
    pc01prmy.__sga_target=239075328
    pc01prmy.__shared_io_pool_size=0
    pc01prmy.__shared_pool_size=134217728
    pc01prmy.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/pc01prmy/adump'
    *.audit_trail='db'
    *.compatible='11.1.0.0.0'
    *.control_files='/u01/app/oracle/oradata/PC01PRMY/controlfile/o1_mf_91g3mdtr_.ctl','/u01/app/oracle/flash_recovery_area/PC01PRMY/controlfile/o1_mf_91g3mf6v_.ctl'
    *.db_block_size=8192
    *.db_create_file_dest='/u01/app/oracle/oradata'
    *.db_domain=''
    *.db_file_name_convert='/u01/app/oracle/oradata/PC01SBY/datafile','/u01/app/oracle/oradata/PC01PRMY/datafile'
    *.db_name='pc01prmy'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=pc01prmyXDB)'
    *.fal_client='PC01PRMY'
    *.fal_server='PC01SBY'
    *.log_archive_config='DG_CONFIG=(pc01prmy,pc01sby,pc01ls)'
    *.log_archive_dest_1='LOCATION=/u01/app/oracle/flash_recovery_area/PC01PRMY/ VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=pc01prmy'
    *.log_archive_dest_2='SERVICE=pc01sby LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=pc01sby'
    *.log_archive_dest_3='SERVICE=pc01ls LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=pc01ls'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='DEFER'
    *.log_archive_dest_state_3='DEFER'
    *.log_archive_max_processes=30
    *.log_file_name_convert='/u01/app/oracle/oradata/PC01SBY/onlinelog','/u01/app/oracle/oradata/PC01PRMY/onlinelog'
    *.open_cursors=300
    *.pga_aggregate_target=78643200
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=236978176
    *.undo_tablespace='UNDOTBS1'
    My logical standby pfile is:-
    pc01ls.__db_cache_size=92274688
    pc01ls.__java_pool_size=12582912
    pc01ls.__large_pool_size=4194304
    pc01ls.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    pc01ls.__pga_aggregate_target=79691776
    pc01ls.__sga_target=239075328
    pc01ls.__shared_io_pool_size=0
    pc01ls.__shared_pool_size=125829120
    pc01ls.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/pc01ls/adump'
    *.audit_trail='db'
    *.compatible='11.1.0.0.0'
    *.control_files='/u01/app/oracle/oradata/PC01LS/controlfile/o1_mf_91g3mdtr_.ctl','/u01/app/oracle/flash_recovery_area/PC01LS/controlfile/o1_mf_91g3mf6v_.ctl'
    *.db_block_size=8192
    *.db_create_file_dest='/u01/app/oracle/oradata'
    *.db_domain=''
    *.db_file_name_convert='/u01/app/oracle/oradata/PC01SBY/datafile','/u01/app/oracle/oradata/PC01PRMY/datafile'
    *.db_name='pc01prmy'
    *.db_unique_name='pc01ls'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=pc01prmyXDB)'
    *.log_archive_config='DG_CONFIG=(pc01prmy,pc01sby,pc01ls)'
    *.log_archive_dest_1='LOCATION=/u01/app/oracle/flash_recovery_area/PC01PRMY/ VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=pc01prmy'
    *.log_archive_dest_2='LOCATION=/u01/app/oracle/flash_recovery_area/PC01LS/ VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=pc01ls'
    *.log_archive_dest_3='SERVICE=pc01ls LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=pc01ls'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='/u01/app/oracle/oradata/PC01SBY/onlinelog','/u01/app/oracle/oradata/PC01PRMY/onlinelog'
    *.open_cursors=300
    *.pga_aggregate_target=78643200
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=236978176
    *.undo_tablespace='UNDOTBS1'
    Kindly advice over the same

  • RMAN-05520: database name mismatch, auxiliary instance has ORADB

    Hi,
    i am using Oracle 10g (10.2.0.1.0) in RHEL 5 server. i am trying to duplicate my primary database(ORADB) to standby database with name DEVDB in different server. I have taken an RMAN backup and transferred to standby server and now i am trying to duplicate with the below commands
    [oracle@rhel5 data]$ rman target / auxiliary sys/oracle@DEVDB
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Mar 9 16:11:52 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: ORADB (DBID=2542358497, not open)
    connected to auxiliary database: ORADB (not mounted)
    RMAN>
    RMAN>
    RMAN> duplicate target database to DEVDB
    2> ;
    Starting Duplicate Db at 09-MAR-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=151 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 03/09/2013 16:14:02
    RMAN-05520: database name mismatch, auxiliary instance has ORADB, command specified DEVDB
    My primary db pfile has
    *.db_name='ORADB'
    *.db_unique_name='ORADB'
    My standby db has
    *.db_name='ORADB'
    *.db_unique_name='DEVDB'
    Regards,
    007

    Hello again;
    Agreed. You have at least two issues.
    Generally I change the SID
    export ORACLE_SID=DEVDB
    Then I start NOMOUNT using an INIT file.
    Then this should be correct
    connected to target database: ORADB (DBID=2542358497, not open)
    connected to auxiliary database: ORADB (not mounted)h2. Later
    I think I was wrong I would like to change my answer. I looked back and found my old notes and things are not as I stated above.
    I used an INIT file ( standby side ) for cloning as follows :
    db_name=RECOVER2
    instance_name=RECOVER2
    control_files=("/u01/app/oracle/oradata/RECOVER2/control01.ctl", "/u01/app/oracle/flash_recovery_area/RECOVER2/control02.ctl")
    db_recovery_file_dest=/u01/app/oracle/flash_recovery_area
    db_recovery_file_dest_size=4070572032
    compatible=11.2.0.0.0
    core_dump_dest='/u01/app/oracle/diag/rdbms/recover2/RECOVER2/cdump'
    db_block_size=8192
    audit_file_dest=/u01/app/oracle/admin/RECOVER2/adump
    undo_tablespace=UNDOTBS1
    undo_management = AUTO
    undo_retention=10800So for the duplicate I don't set DB_UNIQUE_NAME
    I Backed up the target database as shown here with the ‘backup current controlfile for standby format’ command:
    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/RECOVER2/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/RECOVER2/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/RECOVER2/sb_t%t_s%s_p%p';
    release channel d1;
    }I did a startup the standby as follows : ( Notice you are correct about the SID and I was incorrect )
    export ORACLE_SID=RECOVER2
    /home/oracle:SRECOVER2 >sysplus "/ as sysdba"
    Connected to an idle instance.
    SQL> startup nomount pfile='/u01/app/oracle/admin/RECOVER2/pfile/initRECOVER2.ora';I started RMAN like this :
    /home/oracle:SRECOVER2 >export ORACLE_SID=RECOVER2
    rman target sys/password@recover2 auxiliary /
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Sep 10 13:35:29 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: RECOVER2 (DBID=3806912436)
    connected to auxiliary database: RECOVER2 (not mounted)So you connect to the Primary, but the auxiliary should show "not mounted"
    Finally I issue the duplicate command
    RMAN> run {
    2> allocate channel C1 device type disk;
    3> allocate auxiliary channel C2 device type disk;
    4> duplicate target database for standby nofilenamecheck;
    5> }Best Regards
    mseberg
    Edited by: mseberg on Mar 9, 2013 10:39 AM

  • Standby Database not succeeded

    Hi experts, I need your assistance.
    I am configuring physical stby database on the same host on oracle Release 11.1.0.6.0 win xp. But not not succeeded.
    These are the steps I followed
    Host name = sumanr
    Primary database = orcl
    Stby database = stby
    1. On the same host I created the instance as 'stby' for the standby database using oradim
    2. created the password file using orapwd
    3. added the entry for stby databse in tnsnames and listener files
    4. created the initstby.ora file with the single entry for db_name=orcl
    5. started the stby database in nomount mode.
    -------On Primary created the stby redologs
    alter database add standby logfile group 4
    ('C:\app\oracle\oradata\orcl\sby_redo01.rdo') size 50M;
    alter database add standby logfile group 5
    ('C:\app\oracle\oradata\orcl\sby_redo02.rdo') size 50M;
    alter database add standby logfile group 6
    ('C:\app\oracle\oradata\orcl\sby_redo03.rdo') size 50M;
    alter database add standby logfile group 7
    ('C:\app\oracle\oradata\orcl\sby_redo04.rdo') size 50M;
    --------OnStandby
    sqlplus / as sysdba
    startup nomount
    ------On Primary  RMAN
    connect target sys/oracle@orcl
    connect auxiliary sys/oracle@stby
    run {
       allocate channel c1 type disk;
       allocate auxiliary channel s1 type disk;
    duplicate target database
            for standby
            from active database
            dorecover
            spfile
            parameter_value_convert 'orcl','stby'
            set db_unique_name='stby'
            set db_file_name_convert='orcl','stby'
            set log_file_name_convert='orcl','stby'
            set control_files='C:\app\oracle\oradata\stby\control01.ctl','C:\app\oracle\oradata\stby\control02.ctl','C:\app\oracle\oradata\stby\control03.ctl'
            set fal_client='stby'
            set fal_server='orcl'
            set standby_file_management='AUTO'
            set log_archive_config='dg_config=(orcl,stby)'
            set log_archive_dest_2='service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'
            set log_archive_dest_state_2='enable'
            set log_archive_format='stby_%t_%s_%r.arc';
      sql channel c1 "alter system archive log current";
    run {
       allocate auxiliary channel s1 type disk;
       sql channel s1 "alter database recover managed standby database using current logfile disconnect";
    }Now in stby when I check v$log, it gives
    SQL> select * from v$log;
        GROUP#    THREAD#  SEQUENCE#      BYTES    MEMBERS ARC STATUS
    FIRST_CHANGE# FIRST_TIM
             1          1          0   52428800          1 YES UNUSED
          2064244 17-AUG-09
             2          1          0   52428800          1 NO  CURRENT
          2064280 17-AUG-09
             3          1          0   52428800          1 YES UNUSED
          2063000 17-AUG-09where as in primary it is
    SQL> select * from v$log;
        GROUP#    THREAD#  SEQUENCE#      BYTES    MEMBERS ARC STATUS
    FIRST_CHANGE# FIRST_TIM
             1          1         67   52428800          1 NO  CURRENT
          2067534 17-AUG-09
             2          1         65   52428800          1 YES INACTIVE
          2067226 17-AUG-09
             3          1         66   52428800          1 YES INACTIVE
          2067532 17-AUG-09dont know what I am missing. Pl. help me.
    Thnaks

    Hello SYbrand
    Thanks for your resply. I have created the stby redologs in the primary and RMAN is creating them in the standby database.As I checked in the standby
    SQL> select type,member
      2  from v$logfile;
    TYPE
    MEMBER
    ONLINE
    C:\APP\ORACLE\ORADATA\STBY\REDO03.LOG
    ONLINE
    C:\APP\ORACLE\ORADATA\STBY\REDO02.LOG
    ONLINE
    C:\APP\ORACLE\ORADATA\STBY\REDO01.LOG
    TYPE
    MEMBER
    STANDBY
    C:\APP\ORACLE\ORADATA\STBY\SBY_REDO01.RDO
    STANDBY
    C:\APP\ORACLE\ORADATA\STBY\SBY_REDO02.RDO
    STANDBY
    C:\APP\ORACLE\ORADATA\STBY\SBY_REDO03.RDO
    TYPE
    MEMBER
    STANDBY
    C:\APP\ORACLE\ORADATA\STBY\SBY_REDO04.RDO
    7 rows selected.
    SQL>This is my RMAN outcome
    Recovery Manager11.1.0.6.0
    RMAN> connect auxiliary sys/oracle@stby
    connected to auxiliary database: ORCL (not mounted)
    RMAN> connect target sys/oracle@orcl
    connected to target database: ORCL (DBID=1222322644)
    RMAN>
    RMAN>
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24>
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: SID=114 device type=DISK
    allocated channel: s1
    channel s1: SID=97 device type=DISK
    Starting Duplicate Db at 17-AUG-09
    contents of Memory Script:
       backup as copy reuse
       file  'C:\app\oracle\product\11.1.0\db_1\DATABASE\PWDorcl.ORA' auxiliary format
    'C:\app\oracle\product\11.1.0\db_1\DATABASE\PWDstby.ORA'   file
    'C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEORCL.ORA' auxiliary format
    'C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA'   ;
       sql clone "alter system set spfile= ''C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA''";
    executing Memory Script
    Starting backup at 17-AUG-09
    Finished backup at 17-AUG-09
    sql statement: alter system set spfile= ''C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA''
    contents of Memory Script:
       sql clone "alter system set  audit_file_dest =
    ''C:\app\oracle\admin\stby\adump'' comment=
    '''' scope=spfile";
       sql clone "alter system set  dispatchers =
    ''(PROTOCOL=TCP) (SERVICE=stbyXDB)'' comment=
    '''' scope=spfile";
       sql clone "alter system set  db_unique_name =
    ''stby'' comment=
    '''' scope=spfile";
       sql clone "alter system set  db_file_name_convert =
    ''orcl'', ''stby'' comment=
    '''' scope=spfile";
       sql clone "alter system set  log_file_name_convert =
    ''orcl'', ''stby'' comment=
    '''' scope=spfile";
       sql clone "alter system set  control_files =
    ''C:\app\oracle\oradata\stby\control01.ctl'', ''C:\app\oracle\oradata\stby\control02.ctl'', ''C:\app\oracle\oradata\stby\control03.ctl'' comment=
    '''' scope=spfile";
       sql clone "alter system set  fal_client =
    ''stby'' comment=
    '''' scope=spfile";
       sql clone "alter system set  fal_server =
    ''orcl'' comment=
    '''' scope=spfile";
       sql clone "alter system set  standby_file_management =
    ''AUTO'' comment=
    '''' scope=spfile";
       sql clone "alter system set  log_archive_config =
    ''dg_config=(orcl,stby)'' comment=
    '''' scope=spfile";
       sql clone "alter system set  log_archive_dest_2 =
    ''service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'' comment=
    '''' scope=spfile";
       sql clone "alter system set  log_archive_dest_state_2 =
    ''enable'' comment=
    '''' scope=spfile";
       sql clone "alter system set  log_archive_format =
    ''stby_%t_%s_%r.arc'' comment=
    '''' scope=spfile";
       shutdown clone immediate;
       startup clone nomount ;
    executing Memory Script
    sql statement: alter system set  audit_file_dest =  ''C:\app\oracle\admin\stby\adump'' comment= '''' scope=spfile
    sql statement: alter system set  dispatchers =  ''(PROTOCOL=TCP) (SERVICE=stbyXDB)'' comment= '''' scope=spfile
    sql statement: alter system set  db_unique_name =  ''stby'' comment= '''' scope=spfile
    sql statement: alter system set  db_file_name_convert =  ''orcl'', ''stby'' comment= '''' scope=spfile
    sql statement: alter system set  log_file_name_convert =  ''orcl'', ''stby'' comment= '''' scope=spfile
    sql statement: alter system set  control_files =  ''C:\app\oracle\oradata\stby\control01.ctl'', ''C:\app\oracle\oradata\stby\control02.ctl'', ''C:\app\oracle\oradata\stby\control03.ctl'' comment= '''' scope=spfile
    sql statement: alter system set  fal_client =  ''stby'' comment= '''' scope=spfile
    sql statement: alter system set  fal_server =  ''orcl'' comment= '''' scope=spfile
    sql statement: alter system set  standby_file_management =  ''AUTO'' comment= '''' scope=spfile
    sql statement: alter system set  log_archive_config =  ''dg_config=(orcl,stby)'' comment= '''' scope=spfile
    sql statement: alter system set  log_archive_dest_2 =  ''service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'' comment= '''' scope=spfile
    sql statement: alter system set  log_archive_dest_state_2 =  ''enable'' comment= '''' scope=spfile
    sql statement: alter system set  log_archive_format =  ''stby_%t_%s_%r.arc'' comment= '''' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area     535662592 bytes
    Fixed Size                     1334380 bytes
    Variable Size                171967380 bytes
    Database Buffers             356515840 bytes
    Redo Buffers                   5844992 bytes
    contents of Memory Script:
       backup as copy current controlfile for standby auxiliary format  'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
       restore clone controlfile to  'C:\APP\ORACLE\ORADATA\STBY\CONTROL02.CTL' from
    'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
       restore clone controlfile to  'C:\APP\ORACLE\ORADATA\STBY\CONTROL03.CTL' from
    'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
       sql clone 'alter database mount standby database';
    executing Memory Script
    Starting backup at 17-AUG-09
    channel c1: starting datafile copy
    copying standby control file
    output file name=C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SNCFORCL.ORA tag=TAG20090817T150925 RECID=19 STAMP=695142585
    channel c1: datafile copy complete, elapsed time: 00:00:15
    Finished backup at 17-AUG-09
    Starting restore at 17-AUG-09
    channel clone_default: skipped, AUTOBACKUP already found
    channel c1: copied control file copy
    Finished restore at 17-AUG-09
    Starting restore at 17-AUG-09
    channel clone_default: skipped, AUTOBACKUP already found
    channel c1: copied control file copy
    Finished restore at 17-AUG-09
    sql statement: alter database mount standby database
    contents of Memory Script:
       set newname for tempfile  1 to
    "C:\APP\ORACLE\ORADATA\STBY\TEMP01.DBF";
       set newname for tempfile  2 to
    "C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_1";
       set newname for tempfile  3 to
    "C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_2";
       switch clone tempfile all;
       set newname for datafile  1 to
    "C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF";
       set newname for datafile  2 to
    "C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF";
       set newname for datafile  3 to
    "C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF";
       set newname for datafile  4 to
    "C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF";
       set newname for datafile  5 to
    "C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF";
       set newname for datafile  6 to
    "C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT";
       backup as copy reuse
       datafile  1 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF"   datafile
    2 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF"   datafile
    3 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF"   datafile
    4 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF"   datafile
    5 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF"   datafile
    6 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT"   ;
       sql 'alter system archive log current';
    executing Memory Script
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    renamed tempfile 1 to C:\APP\ORACLE\ORADATA\STBY\TEMP01.DBF in control file
    renamed tempfile 2 to C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_1 in control file
    renamed tempfile 3 to C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_2 in control file
    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 backup at 17-AUG-09
    channel c1: starting datafile copy
    input datafile file number=00006 name=C:\APP\ORACLE\ORADATA\ORCL\CHECKUP_DFLT.DAT
    output file name=C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:02:55
    channel c1: starting datafile copy
    input datafile file number=00001 name=C:\APP\ORACLE\ORADATA\ORCL\SYSTEM01.DBF
    output file name=C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:00:35
    channel c1: starting datafile copy
    input datafile file number=00002 name=C:\APP\ORACLE\ORADATA\ORCL\SYSAUX01.DBF
    output file name=C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:00:35
    channel c1: starting datafile copy
    input datafile file number=00005 name=C:\APP\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF
    output file name=C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:00:07
    channel c1: starting datafile copy
    input datafile file number=00003 name=C:\APP\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF
    output file name=C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:00:03
    channel c1: starting datafile copy
    input datafile file number=00004 name=C:\APP\ORACLE\ORADATA\ORCL\USERS01.DBF
    output file name=C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:00:03
    Finished backup at 17-AUG-09
    sql statement: alter system archive log current
    contents of Memory Script:
       backup as copy reuse
       archivelog like  "C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC00067_0694541910.001" auxiliary format
    "C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_%U_.ARC"   archivelog like
    "C:\APP\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2009_08_17\O1_MF_1_67_58LLGDYR_.ARC" auxiliary format
    "C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_%U_.ARC"   ;
       catalog clone recovery area;
       switch clone datafile all;
    executing Memory Script
    Starting backup at 17-AUG-09
    channel c1: starting archived log copy
    input archived log thread=1 sequence=67 RECID=119 STAMP=695142910
    output file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC RECID=0 STAMP=0
    channel c1: archived log copy complete, elapsed time: 00:00:01
    channel c1: starting archived log copy
    input archived log thread=1 sequence=67 RECID=120 STAMP=695142910
    output file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC RECID=0 STAMP=0
    channel c1: archived log copy complete, elapsed time: 00:00:01
    Finished backup at 17-AUG-09
    searching for all files in the recovery area
    List of Files Unknown to the Database
    =====================================
    File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
    File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
    File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC
    datafile 1 switched to datafile copy
    input datafile copy RECID=19 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF
    datafile 2 switched to datafile copy
    input datafile copy RECID=20 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF
    datafile 3 switched to datafile copy
    input datafile copy RECID=21 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF
    datafile 4 switched to datafile copy
    input datafile copy RECID=22 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF
    datafile 5 switched to datafile copy
    input datafile copy RECID=23 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF
    datafile 6 switched to datafile copy
    input datafile copy RECID=24 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT
    contents of Memory Script:
       set until scn  2080890;
       recover
       standby
       clone database
        delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 17-AUG-09
    starting media recovery
    archived log for thread 1 with sequence 67 is already on disk as file C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
    archived log file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC thread=1 sequence=67
    media recovery complete, elapsed time: 00:00:03
    Finished recover at 17-AUG-09
    Finished Duplicate Db at 17-AUG-09
    sql statement: alter system archive log current
    released channel: c1

  • RMAN and database incarnations

    In experimenting with RMAN, I got our team into a situation where a test database would not restore and recover. I performed an incomplete recovery, opened resetlogs, and without performing a backup, did the same thing again.
    In any case, we started reading up on how to return to a previous database incarnation. We're not using a Recovery Catalog w RMAN, but 10g has been enhanced so that the control file now tracks db incarnations.
    We set the db incarnation back 2 previous, and then performed:
    RMAN> restore database until "to_date('9/2/04 23:59:59','mm/dd/yy hr24:mi:ss');
    RMAN> recover database until "to_date('9/2/04 23:59:59','mm/dd/yy hr24:mi:ss');
    and all seems well.
    I have 2 questions:
    1) Was the return back 2 incarnations really necessary? It seems like the database would've considered the 2 lines above an incomplete recovery and restore/recovered anyway.
    2) Do I need to manually remove the archive logs created for incarnations 3 & 4, or will RMAN know that they are not applicaable? And how does it know they're inapplicable, if so? The incarnation?
    Thanks for reading this looong question,
    Chuck

    In experimenting with RMAN, I got our team into a situation where a test database would not restore and recover. I performed an incomplete recovery, opened resetlogs, and without performing a backup, did the same thing again.
    In any case, we started reading up on how to return to a previous database incarnation. We're not using a Recovery Catalog w RMAN, but 10g has been enhanced so that the control file now tracks db incarnations.
    We set the db incarnation back 2 previous, and then performed:
    RMAN> restore database until "to_date('9/2/04 23:59:59','mm/dd/yy hr24:mi:ss');
    RMAN> recover database until "to_date('9/2/04 23:59:59','mm/dd/yy hr24:mi:ss');
    and all seems well.
    I have 2 questions:
    1) Was the return back 2 incarnations really necessary? It seems like the database would've considered the 2 lines above an incomplete recovery and restore/recovered anyway.
    2) Do I need to manually remove the archive logs created for incarnations 3 & 4, or will RMAN know that they are not applicaable? And how does it know they're inapplicable, if so? The incarnation?
    Thanks for reading this looong question,
    Chuck

  • RMAN Recover database error..

    Hi All,
    We were trying to restore and recover one of our databases. The restore went well but the recover is erroring out. Can someone please let us know what we should do to remedy this and carry on with the recovery.
    We got an error when we were trying to restore the controlfile at the begining (details below), but as you can see, it did manage to restore a copy of the controlfile successfully..
    Details below.
    C:\Users\oracle>rman target system/XXXX catalog rman/XXXX@rmancat
    Recovery Manager: Release 11.1.0.7.0 - Production on Thu Dec 2 08:31:03 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: CODP (not mounted)
    connected to recovery catalog database
    RMAN> set dbid=2399577932
    executing command: SET DBID
    database name is CODP and DBID is 2399577932
    RMAN> RESTORE CONTROLFILE;
    Starting restore at 02-DEC-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=152 device type=DISK
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\CONTROLFILE_BKUP_CODP_C-2399577932-20101201-00
    channel ORA_DISK_1: "ORA-19870: error while restoring backup piece D:\RMAN\CODP\CONTROLFILE_BKUP_CODP_C-2399577932-20101201-00"
    "ORA-19505: failed to identify file D:\RMAN\CODP\CONTROLFILE_BKUP_CODP_C-2399577932-20101201-00"
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    failover to previous backup
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_DULUG8H9_1_1
    channel ORA_DISK_1: "ORA-19870: error while restoring backup piece D:\RMAN\CODP\BKUP_CODP_DULUG8H9_1_1"
    "ORA-19505: failed to identify file D:\RMAN\CODP\BKUP_CODP_DULUG8H9_1_1"
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    failover to previous backup
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\CONTROLFILE_BKUP_CODP_C-2399577932-20101130-01
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\CONTROLFILE_BKUP_CODP_C-2399577932-20101130-01 tag=TAG20101130T204059
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    output file name=C:\ORACLE\ORADATA\CONTROLFILE\CODP\CONTROL01.CTL
    output file name=D:\ORACLE\ORADATA\CONTROLFILE\CODP\CONTROL02.CTL
    output file name=D:\ORACLE\ORADATA\CODP\CONTROL03.CTL
    Finished restore at 02-DEC-10
    RMAN> RESTORE SPFILE FROM AUTOBACKUP;
    Starting restore at 02-DEC-10
    using channel ORA_DISK_1
    recovery area destination: D:\oracle\flash_recovery_area\
    database name (or database unique name) used for search: CODP
    channel ORA_DISK_1: no AUTOBACKUPS found in the recovery area
    channel ORA_DISK_1: looking for AUTOBACKUP on day: 20101202
    channel ORA_DISK_1: looking for AUTOBACKUP on day: 20101201
    channel ORA_DISK_1: looking for AUTOBACKUP on day: 20101130
    channel ORA_DISK_1: AUTOBACKUP found: D:\RMAN\CODP\controlfile_bkup_CODP_c-2399577932-20101130-01
    channel ORA_DISK_1: restoring spfile from AUTOBACKUP D:\RMAN\CODP\controlfile_bkup_CODP_c-2399577932-20101130-01
    channel ORA_DISK_1: SPFILE restore from AUTOBACKUP complete
    Finished restore at 02-DEC-10
    RMAN> restore database;
    Starting restore at 02-DEC-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00020 to D:\ORACLE\ORADATA\CODP\VCLLOAD_T1.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_56LU9C9M_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_56LU9C9M_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:02:45
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00002 to D:\ORACLE\ORADATA\CODP\UNDOTBS01.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_57LU9CFQ_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_57LU9CFQ_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:03:25
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00009 to D:\ORACLE\ORADATA\CODP\PROD_T3_NEW_02.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_58LU9CMS_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_58LU9CMS_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:55
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00010 to D:\ORACLE\ORADATA\CODP\PROD_T3_NEW_03.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_59LU9CR4_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_59LU9CR4_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:55
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to D:\ORACLE\ORADATA\CODP\SYSTEM01.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5ALU9CV2_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5ALU9CV2_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:45
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00005 to D:\ORACLE\ORADATA\CODP\PROD_T1_NEW_01.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5BLU9D0P_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5BLU9D0P_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:15
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00006 to D:\ORACLE\ORADATA\CODP\PROD_T2_NEW_01.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5CLU9D1J_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5CLU9D1J_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:45
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00007 to D:\ORACLE\ORADATA\CODP\PROD_T3_NEW_01.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5DLU9D4T_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5DLU9D4T_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:55
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00025 to D:\ORACLE\ORADATA\CODP\PREV_PR_CODP_02.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5ELU9D79_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5ELU9D79_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:36
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00024 to D:\ORACLE\ORADATA\CODP\PREV_PR_CODP_01.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5FLU9DAI_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5FLU9DAI_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:35
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00026 to D:\ORACLE\ORADATA\CODP\PREV_PR_CODP_03.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5GLU9DDI_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5GLU9DDI_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:35
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00027 to D:\ORACLE\ORADATA\CODP\PREV_PR_CODP_04.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5HLU9DGU_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5HLU9DGU_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:35
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00011 to D:\ORACLE\ORADATA\CODP\PROD_I3_16K_02.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5ILU9DJT_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5ILU9DJT_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:35
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00030 to D:\ORACLE\ORADATA\CODP\PREV_PR_CODP_07.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5JLU9DN8_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5JLU9DN8_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:46
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00028 to D:\ORACLE\ORADATA\CODP\PREV_PR_CODP_05.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5KLU9DOV_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5KLU9DOV_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:45
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00029 to D:\ORACLE\ORADATA\CODP\PREV_PR_CODP_06.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5LLU9DQO_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5LLU9DQO_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:45
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00003 to D:\ORACLE\ORADATA\CODP\SYSAUX01.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5MLU9DSF_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5MLU9DSF_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:25
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00008 to D:\ORACLE\ORADATA\CODP\PROD_I2_16K_03.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5NLU9DT9_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5NLU9DT9_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:35
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00032 to D:\ORACLE\ORADATA\CODP\PROD_I2_16K_01.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5OLU9DUN_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5OLU9DUN_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:55
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00033 to D:\ORACLE\ORADATA\CODP\PROD_I2_16K_02.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5PLU9E0P_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5PLU9E0P_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:05
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00034 to D:\ORACLE\ORADATA\CODP\PROD_I3_16K_01.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_5QLU9E3F_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_5QLU9E3F_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:45
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00031 to D:\ORACLE\ORADATA\CODP\PROD_I1_16K_01.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_8QLU9ES2_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_8QLU9ES2_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:35
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00004 to D:\ORACLE\ORADATA\CODP\USERS01.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_8SLU9ET9_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_8SLU9ET9_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00021 to D:\ORACLE\ORADATA\CODP\VCLLOAD_T2.DBF
    channel ORA_DISK_1: reading from backup piece D:\RMAN\CODP\BKUP_CODP_8ULU9ETF_1_1
    channel ORA_DISK_1: piece handle=D:\RMAN\CODP\BKUP_CODP_8ULU9ETF_1_1 tag=LEVEL0_TUE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    Finished restore at 02-DEC-10
    RMAN> recover database;
    Starting recover at 02-DEC-10
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/02/2010 09:08:05
    ORA-00210: cannot open the specified control file
    RMAN>Thanks

    Sorry everyone.. My bad.. I forgot to MOUNT the instance before trying to use the RECOVER DATABASE command.
    Thanks

Maybe you are looking for

  • Can you use icloud without an apple os device on pc's?

    Hi, I have  friend who has a pc and I would like her to be able to subscribe to my ical. When I look at the min requirements for installing the icloud panel it is microsoft windows vista. She installed it, created an apple id, but it tells her that s

  • Can't see my itunes movies...

    I've done a search but can't find my answer to this question. How can you view your movies? I created movies in iMovie and shared them with iTunes. When I click on 'movies' in itunes I see my movies, but when I play them I only hear sound; I can't se

  • Image quality check

    I need to check the quality of the image before sending it to the image processing software. Basically I need to decide if the image needs to be preprocessed before giving it to OCR e.g. if the image is blur or rotated. I have a software which can ma

  • Various Applications Not Supported On This Architecture?

    I had the internal hard drive in my MacBook crash, so I replaced it and restored from a Time Machine image. Because I was backing up to a rather small drive, I did not back up my applications. Because of this, I had to reinstall most of my programs f

  • Applying old-time look to photo (or something)?

    I am trying to make my own baseball card and am at a loss to get the effect on the photo.  Here are two actual baseball cards (the 1988 Fleer set) with the look I am trying to achieve: I have put my photo inside of a rectangle with rounded corners, a