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

Similar Messages

  • 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

  • ORA-01507: database not mounted when attempting to run emca

    All,
    I'm working on a renamed host attempting to drop and create the repository so that I can get the Oracle Enterprise Manager running on this host. In doing so, I was able to successfully drop the repository with the following command:
    ./emca -deconfig dbcontrol db -repos dropMy issue surfaces when i now try to create the repository as follows:
    ./emca -config dbcontrol db -repos create.
    Dec 3, 2012 5:55:11 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: No value was set for the parameter DBID.
    The above output was on my screen. When I check the emca logfile, I found the following:
    Dec 3, 2012 5:54:44 PM oracle.sysman.emcp.DatabaseChecks checkDataGuardEnabled
    CONFIG: ORA-01507: database not mounted
    Dec 3, 2012 5:55:11 PM oracle.sysman.emcp.DatabaseChecks getDbid
    CONFIG: ORA-01507: database not mounted
    Does anyone have any input as to what could be the problem?
    Thanks in advance!

    The server and database have been restarted since the hostname change. I don't know it this will help shed any light, but I have also attempted to use dbca in an attempt to work around the emca issue, but it also gives me errors. Sometimes I get the error stating it cannot run in EXCLUSIVE mode. Other times I get a database not found error.
    Could the problem be that I need to shutdown the database and start it in a particular mode prior to running emca?
    Thanks

  • Database not mounted

    Dear All,
    Related Database is just installed, I got error message as below:
    SQL> shutdown
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 217157632 bytes
    Fixed Size 2211928 bytes
    Variable Size 159387560 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 5226496 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    SQL>
    Please kindly give advice for this.
    Thanks and regards,
    Vandy

    Dear Niket,
    Thank you very much for your reply and help.
    Now I have checked follow your advice and get the result as below:
    Note: My Oracle Database (11g Realeae 2) is installed on Oracle Linux 5.8
    [oracle@ovmmger ~]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Jan 14 03:14:40 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    SQL> startup
    ORACLE instance started.
    Total System Global Area 217157632 bytes
    Fixed Size 2211928 bytes
    Variable Size 159387560 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 5226496 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    SQL> show parameter control_files
    NAME TYPE VALUE
    control_files string /u01/app/oracle/product/11.2.0
    /db_1/dbs/cntrlDB11G.dbf
    SQL> shutdown
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL>
    Please kindly give advice for this.
    Thanks and regards,
    Vandy
    Edited by: Vandy_Kh on Jan 13, 2013 5:56 PM

  • Exchange Data Center Switching Database Not Mounting

    -Primary DC > 02 Exchange Servers ( All roles Installed)  MAPI & Replication Network Between two
    -DR Site > 01 Server (All roles) + 01 Server ( Mailbox Roles) Only MAPI network
    -All the Servers in both Sites are members of DAG called DAG1
    - All Mailbox Server have Database Copies in healthy states
    I shutdown the Primary Database Completely and I saw that Mailbox Databases not mounting On DR Site.
    What need to be configured? to Switch over and Automatic mount in case Primary Data Center Down.
    here is the Screen Shot:
    After Some time

    Hi,
    All DAG members should have the same number of networks, MAPI and Replication networks. Base on your description, members in DR site only have MAPI network.
    If your primary datacenter fails, you need to switchover to secondary datacenter manually.
    You can look at the following article.
    http://technet.microsoft.com/en-us/library/dd351049(v=exchg.141).aspx
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Ora-1276 cannot add controlfile - rman duplicate asm database

    Hi,
    I am trying to duplicate an asm database olddb -> asm database dup in the same diskgroup. somehow got error 0ra-1276 Cannot add file +DISK1/dup/controlfile/current.1669.754164181.  File has an Oracle Managed Files file name.
    There is nothing in the asm directory +DISK1/dup/controllfile before I run the rman.
    in the initdup.ora
    control_files=+DISK1,+DISK1 <--- just the disk group, not the file name
    db_name='dup'
    db_file_name_convert=+DISK1,+DISK1/dup
    log_file_name_convert=+DISK1,+DISK1
    Recovery Manager: Release 10.2.0.5.0 - Production on Sat Jun 18 20:58:06 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN> connect target sys/oracle@OLDDB
    connect auconnected to target database: OLDDB (DBID=1142960293)
    RMAN> xiliary /
    connected to auxiliary database: DUP (not mounted)
    RMAN> duplicate target database to dup
    logfile group 1 ('+DISK1/dup') size 200k ,
    group 2 ('+DISK1') size 200k;
    2> 3>
    Starting Duplicate Db at 2011/06/18 20:58:39
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=153 devtype=DISK
    WARNING: DB_FILE_NAME_CONVERT resulted in invalid ASM names; names changed to diskgroup only.
    contents of Memory Script:
    set until scn 1613638;
    set newname for datafile 1 to
    "+DISK1";
    set newname for datafile 2 to
    "+DISK1";
    set newname for datafile 3 to
    "+DISK1";
    set newname for datafile 4 to
    "+DISK1";
    set newname for datafile 6 to
    "+DISK1";
    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 2011/06/18 20:58:42
    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 +DISK1
    restoring datafile 00002 to +DISK1
    restoring datafile 00003 to +DISK1
    restoring datafile 00004 to +DISK1
    restoring datafile 00006 to +DISK1
    channel ORA_AUX_DISK_1: reading from backup piece +DISK1/OLDDB/backupset/2011_05_22/nnndf0_tag20110522t000530_0.1691.751766731
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=+DISK1/OLDDB/backupset/2011_05_22/nnndf0_tag20110522t000530_0.1691.751766731 tag=TAG20110522T000530
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:01:06
    Finished restore at 2011/06/18 20:59:48
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "DUP" RESETLOGS ARCHIVELOG
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    MAXINSTANCES 32
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 ( '+DISK1/dup' ) SIZE 200 K ,
    GROUP 2 ( '+DISK1' ) SIZE 200 K
    DATAFILE
    '+DISK1/dup/datafile/system.1674.754174727'
    CHARACTER SET WE8ISO8859P1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/18/2011 20:59:48
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01276: Cannot add file +DISK1/dup/controlfile/current.1669.754164181.  File has an Oracle Managed Files file name.
    RMAN>
    thank you very much for your help.
    thanks
    andrew

    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01276: Cannot add file +DISK1/dup/controlfile/current.1669.754164181.  File has an Oracle Managed Files file name.Are you sure is it running under pfile?
    Ok, connect to auxiliary intance and post
    show parameter db_create
    show parameter control_filesIn your pfile, Have you mentioned single quotes?
    If your database with OMF then if you give it as below. as there is some work around
    Control_files='+DISK1/DUP/controlfile/control01.ctl','+DISK1/DUP/controlfile/control02.ctl'
    Check this too *Ora-1276 Error Recreating The Controlfile When Using +Asm [ID 303187.1]*

  • When trying to restore ipod it says ipod is not mounted.

    Ok, i had a similar problem with my computer not seeing my iPod, well i managed to get that fixed and while itunes was putting the music back onto my iPod the computer crashed. When i open the updater to return it to factory settings the updater said iPod is not mounted, i can see the iPod in the drive and on my computer, so it is mounted, does anyone know of any solution, i have tried changing drive letters which made it so it shows my ipod in my computer but otherwise it wont work, itunes also says it cannot read some of the files on the iPod so i have to return it to factory settings and try again. Please HELP!!!
    Thankyou in advance!!

    You are dangerously low on disk space.  If you disk fills up much more you may not be able to reboot the system.  You should maintain 15 to 20 GB of free space.
    For hints on how to create more free disk space see https://discussions.apple.com/thread/5725554?tstart=60 .

  • When connecting to server the other computers will not mount on the desktop

    Hello
    I have three computers connected wireless and ethernet. When connecting to the imac and mac pro with my macbook pro the other computers will not mount on the desktop. I have never had a problem like this before.
    The imac and mac pro will mount the laptop or imac and the imac will mount the mac pro and laptop.
    When I connect to the server with the laptop I can access everything thru the shared folders but nothing will mount on the laptop desktop using the, connect to server.
    External HD connected with firewire will mount and the internal cd/dvd will mount.
    I have ran permissions repair on the laptop. Have I accidently changed some configuration I am not aware of?
    Any help or advice is greatly appreciated
    Thank You
    Dick

    Dick,
    I know this sounds silly but while in Finder goto (Finder)/(Preferences) and then make sure your on the (General) tab, make sure all the things you want to show are checked.
    If that doesn't help move the com.apple.finder.plist to the desktop you can find in in ~/Library/Preferences ( ~ = Your Home Folder), log out/log in, and see if that fixes the problem if not go ahead and move the plist file back.
    hope that helps,
    Weston

  • HT201269 i backed up my iphone to iTunes and then when i restored the back up info was not from the most recent backup, but from May!!! what can I do to get yesterdays data?1

    i backed up my iphone to itunes and tried restoring the info on to a new iphone and for some reason it used an old back up from last may.  I know that the recent back up worked as I used it to set up another phone a week ago (a phone whihc also had problems and hence I needed to use that same back up again on my second new phone.  Is there anyway I can get the most recent back up information back?

    1. Create a backup of your iPad to iTunes on your computer or to iCloud
    2. Transfer any and all photos & videos on your iPad to your computer.
    3. Erase the iPad and restore the iPhone's iCloud backup to the device.
    4. Transfer any and all photos & videos on your iPad to your computer.
    5. Restore the iPad backup you reated in step #1 back to the iPad.

  • Restore controlfile,database(PIT)  from  backups(non-defualt location)

    Hi,
    Below is the script i m using to do db point-in-time recovery. But the problem is the backups was taken in a non-defualt location and i want the restore and recovery to be happened from there. Mostly facing issue with controlfile recovery. Just don't know how to tell RMAN that my controlfile rman backup is in non-defualt location '/fulldbbackup/'
    backup Script
    run{
            allocate channel ch1 device type disk ;
            backup database TAG = 'DR_test_backup' format '/fulldbbackup/%D_RMAN_DATAFILE_BACKUP_%U.bak';
            sql 'alter system archive log current';
            backup archivelog all delete input TAG = 'DR_test_backup2' format '/fulldbbackup/%D_RMAN_ARCHIVELOG_%U.bak';
         backup current controlfile TAG='DR_test_backup' format '/fulldbbackup/%D_RMAN_CURRENT_CONTROL_BACKUP_%U.bak';
    ==============================================================
    rman target / nocatalog
    RMAN> sql "alter session set nls_date_format = ''dd.mm.yyyy hh24:mi:ss''";
    RMAN> CROSSCHECK BACKUPPIECE TAG = 'DR_TEST_BACKUP';
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_CURRENT_CONTROL_BACKUP_0mnbvhlq_1_1.bak recid=22 stamp=784320186
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_ARCHIVELOG_0lnbvhlm_1_1.bak recid=21 stamp=784320184
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_ARCHIVELOG_0knbvhl2_1_1.bak recid=20 stamp=784320164
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_ARCHIVELOG_0jnbvhkp_1_1.bak recid=19 stamp=784320154
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_DATAFILE_BACKUP_0inbvhkf_1_1.bak recid=18 stamp=784320144
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_DATAFILE_BACKUP_0hnbvhgn_1_1.bak recid=17 stamp=784320024
    Crosschecked 6 objectsRecovery Script (.ksh)
    #!/bin/ksh
    export ORACLE_SID=prod2
    echo $ORACLE_SID
    export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    echo $ORACLE_HOME
    export PATH
    echo $PATH
    RMAN=$ORACLE_HOME/bin/rman
    $RMAN target sys/sys@prod2 nocatalog << EOF
    set dbid 1428819349;
    run {
    startup nomount;
    sql "alter session set nls_date_format = ''dd.mm.yyyy hh24:mi:ss''";
    allocate channel ch00 device type disk;
    allocate channel ch01 device type disk;
    set controlfile autobackup format for device type disk to '/fulldbbackup/26_RMAN_CURRENT_CONTROL_BACKUP_0mnbvhlq_1_1.bak';
    restore controlfile from autobackup;
    alter database mount;
    catalog start with '/fulldbbackup';
    set until time "to_date('26.05.2012 18:43:15','dd.mm.yyyy hh24:mi:ss')";
    restore database;
    recover database;
    alter database open resetlogs;
    release channel ch00;
    release channel ch01;
    exit;
    EOF
    echo "Completed"Thanks in advance

    You can restore control file by specifying the path explicitly.
    -- In the auxillary server
    Make sure you have the CONTROL_FILES parameter in the pfile. The control files will be restored to this path
    *.control_files='+LMNPROD_DG01/lmnprod/lmnprod_control01.ctl','+LMNPROD_DG01/lmnprod/lmnprod_control02.ctl','+LMNPROD_DG01/lmnprod/lmnprod_control03.ctl'Create spfile from pfile. Then
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup nomount
    SQL> show parameter spfileStep5. Restore Control file
    The below command will create all the 3 control files mentioned in CONTROL_FILES parameter in the spfile.
    $ rman target /
    restore controlfile from '/path_where_bkp_piece_is_stored/RMAN_CURRENT_CONTROL_BACKUP_0mnbvhlq_1_1.bak';After restoring the control file and mounting the DB , you can use CATALOG command to catalog backup pieces

  • Unable to recover database after rman recovery and database open resetlogs

    I am running Oracle 10.2.0.5 on OpenSUSE 9. I have been trying to upgrade the database to 11g, through dbua. I was getting stuck at one point during the Oracle Server install and the upgrade failed and I was forced to restore the database to an earlier backup.
    Below is the current place that I am stuck. As you can see I opened the database multiple times and reset the logs. Now I am afraid that my controlfile and redo log backups are out of sync and i can't get them back on track. Before when I actually got the database recovered RMAN would immediately throw:
    RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
    RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows
    OPA-00600: ORA-00600: internal error code, arguments: ...
    The database would open with ALTER DATABASE RESETLOGS but any query on non-system tables would fail and throw:
    ORA-04045: errors during recompilation/revalidation of LCRS_DEV1.FACILITY_REF
    ORA-00600: internal error code, arguments: [17069], [0x1158ED180], [], [], [],
    I hope I have not dug myself into too deep of a hole here.
    Here is the trace from my most recent attempt.
    RMAN> startup nomount;
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 3070230528 bytes
    Fixed Size 2099424 bytes
    Variable Size 301991712 bytes
    Database Buffers 2751463424 bytes
    Redo Buffers 14675968 bytes
    RMAN> list incarnation of database;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of list command at 08/02/2011 15:49:04
    ORA-01507: database not mounted
    RMAN> restore controlfile from autobackup;
    Starting restore at 02-AUG-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    recovery area destination: /opt/oracle/flash_recovery_area
    database name (or database unique name) used for search: LCRSDEV
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: /opt/oracle/flash_recovery_area/LCRSDEV/autobackup/2011_08_02/o1_mf_s_758129928_73jr2s7p_.bkp
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=/opt/oracle/oradata/LCRSDEV/control01.ctl
    output filename=/opt/oracle/oradata/LCRSDEV/control02.ctl
    output filename=/opt/oracle/oradata/LCRSDEV/control03.ctl
    Finished restore at 02-AUG-11
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    RMAN> list incarnation of database;
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 LCRSDEV 756543625 PARENT 1 22-OCT-05
    2 2 LCRSDEV 756543625 PARENT 525876 20-JAN-11
    3 3 LCRSDEV 756543625 PARENT 92348137 18-JUL-11
    4 4 LCRSDEV 756543625 PARENT 95654931 01-AUG-11
    5 5 LCRSDEV 756543625 PARENT 95675699 01-AUG-11
    6 6 LCRSDEV 756543625 PARENT 95676699 02-AUG-11
    7 7 LCRSDEV 756543625 PARENT 95676700 02-AUG-11
    8 8 LCRSDEV 756543625 CURRENT 95676701 02-AUG-11
    RMAN> restore database until scn 95676700;
    Starting restore at 02-AUG-11
    Starting implicit crosscheck backup at 02-AUG-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 6 objects
    Finished implicit crosscheck backup at 02-AUG-11
    Starting implicit crosscheck copy at 02-AUG-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 02-AUG-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/autobackup/2011_08_02/o1_mf_s_758129928_73jr2s7p_.bkp
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 08/02/2011 15:52:04
    RMAN-20208: UNTIL CHANGE is before RESETLOGS change
    RMAN> restore database;
    Starting restore at 02-AUG-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /opt/oracle/oradata/LCRSDEV/system01.dbf
    restoring datafile 00002 to /opt/oracle/oradata/LCRSDEV/undotbs01.dbf
    restoring datafile 00003 to /opt/oracle/oradata/LCRSDEV/sysaux01.dbf
    restoring datafile 00004 to /opt/oracle/oradata/LCRSDEV/users01.dbf
    restoring datafile 00005 to /opt/oracle/oradata/LCRSDEV/LCRS_TBS.dbf
    channel ORA_DISK_1: reading from backup piece /opt/oracle/flash_recovery_area/LCRSDEV/backupset/2011_07_22/o1_mf_nnndf_TAG20110722T111922_72m8rc5x_.bkp
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/opt/oracle/flash_recovery_area/LCRSDEV/backupset/2011_07_22/o1_mf_nnndf_TAG20110722T111922_72m8rc5x_.bkp tag=TAG20110722T111922
    channel ORA_DISK_1: restore complete, elapsed time: 00:23:36
    Finished restore at 02-AUG-11
    RMAN> recover database until scn 95676700;
    Starting recover at 02-AUG-11
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/02/2011 16:16:28
    RMAN-20208: UNTIL CHANGE is before RESETLOGS change
    RMAN> recover database;
    Starting recover at 02-AUG-11
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 90 is already on disk as file /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_90_72ml85v3_.arc
    archive log filename=/opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_02/o1_mf_1_1_73jr20qc_.arc thread=1 sequence=1
    unable to find archive log
    archive log thread=1 sequence=1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/02/2011 16:25:04
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 1 lowscn 95676701

    Thanks for the reply Hemant. I have reset the database for the controlfile that I am using as backup and now I am not able to recover until the correct SCN. I am thinking that my recovery catalog is bad. If I mount with the current controlfile I have this list of incarnations:
    List of Database Incarnations
    DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
    *1 1 LCRSDEV 756543625 PARENT 1 22-OCT-05*
    *2 2 LCRSDEV 756543625 PARENT 525876 20-JAN-11*
    *3 3 LCRSDEV 756543625 PARENT 92348137 18-JUL-11*
    *4 4 LCRSDEV 756543625 PARENT 95654931 01-AUG-11*
    *5 5 LCRSDEV 756543625 PARENT 95675699 01-AUG-11*
    *6 6 LCRSDEV 756543625 PARENT 95676699 02-AUG-11*
    *7 7 LCRSDEV 756543625 PARENT 95676700 02-AUG-11*
    *8 8 LCRSDEV 756543625 PARENT 95676701 02-AUG-11*
    *9 9 LCRSDEV 756543625 CURRENT 95676702 02-AUG-11*
    However if I restore the controlfile to the earlier version I am getting the following output from the process:
    RMAN> startup nomount;
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 3070230528 bytes
    Fixed Size 2099424 bytes
    Variable Size 301991712 bytes
    Database Buffers 2751463424 bytes
    Redo Buffers 14675968 bytes
    RMAN> restore controlfile from '/opt/oracle/flash_recovery_area/LCRSDEV/autobackup/2011_07_22/o1_mf_s_757164997_72m9rqw3_.bkp';
    Starting restore at 03-AUG-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    output filename=/opt/oracle/oradata/LCRSDEV/control01.ctl
    output filename=/opt/oracle/oradata/LCRSDEV/control02.ctl
    output filename=/opt/oracle/oradata/LCRSDEV/control03.ctl
    Finished restore at 03-AUG-11
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    RMAN> list incarnation of database;
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 LCRSDEV 756543625 PARENT 1 22-OCT-05
    2 2 LCRSDEV 756543625 PARENT 525876 20-JAN-11
    3 3 LCRSDEV 756543625 CURRENT 92348137 18-JUL-11
    RMAN> restore database until scn 92348137;
    Starting restore at 03-AUG-11
    Starting implicit crosscheck backup at 03-AUG-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 03-AUG-11
    Starting implicit crosscheck copy at 03-AUG-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 03-AUG-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_01/o1_mf_1_1_73g3hn6o_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_01/o1_mf_1_2_73g3hnxq_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_01/o1_mf_1_1_73g0rts6_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_134_72v9gv4s_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_138_72v9p4b4_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_120_72v8wwg0_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_121_72v8x5ty_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_131_72v9cnrv_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_139_72v9q5ok_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_137_72v9n4t5_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_136_72v9l88q_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_123_72v8ytm8_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_132_72v9dcxd_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_124_72v8zkg0_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_128_72v96qm1_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_135_72v9jqmx_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_129_72v98q3r_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_125_72v91g3b_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_118_72v8v8r4_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_127_72v9626w_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_130_72v9bqtb_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_141_72vncy6g_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_122_72v8ycd4_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_126_72v94cns_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_133_72v9fb17_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_140_72vn6wgo_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_25/o1_mf_1_119_72v8v9hf_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_02/o1_mf_1_1_73j3wo01_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_02/o1_mf_1_2_73josgf1_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_02/o1_mf_1_1_73jr20qc_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_02/o1_mf_1_2_73jh223h_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_02/o1_mf_1_1_73josflf_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_02/o1_mf_1_1_73jvqdqs_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_02/o1_mf_1_3_73josh91_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_08_02/o1_mf_1_1_73j91rh9_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_91_72mqlnx9_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_111_72mrdr5m_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_96_72mqx958_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_114_72mrgsf9_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_94_72mqs6gj_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_102_72mr3893_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_99_72mr2h6c_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_104_72mr5hfm_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_109_72mrc83z_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_98_72mr080w_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_93_72mqq36m_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_97_72mqz0mm_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_116_72mrk268_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_101_72mr31yv_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_110_72mrddhg_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_95_72mqv3hp_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_105_72mr5vq4_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_115_72mrjd2s_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_106_72mr7hnt_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_100_72mr2qfc_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_112_72mrfc5j_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_107_72mr909t_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_103_72mr4pol_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_113_72mrfsb9_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_117_72mrl5mf_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_108_72mrb13l_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_90_72ml85v3_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_22/o1_mf_1_92_72mqnxz1_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_26/o1_mf_1_143_72y6ww71_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_26/o1_mf_1_144_72ybybps_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_26/o1_mf_1_142_72xt10j7_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/archivelog/2011_07_26/o1_mf_1_145_72yccy5z_.arc
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/autobackup/2011_08_01/o1_mf_s_758043324_73g3jfxx_.bkp
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/autobackup/2011_08_01/o1_mf_s_758035850_73fw6vrc_.bkp
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/autobackup/2011_08_02/o1_mf_s_758133684_73jvr5px_.bkp
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/autobackup/2011_08_02/o1_mf_s_758127608_73jot9x0_.bkp
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/autobackup/2011_08_02/o1_mf_s_758109276_73j3xfom_.bkp
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/autobackup/2011_08_02/o1_mf_s_758129928_73jr2s7p_.bkp
    File Name: /opt/oracle/flash_recovery_area/LCRSDEV/autobackup/2011_07_22/o1_mf_s_757164997_72m9rqw3_.bkp
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 08/03/2011 12:53:19
    RMAN-20208: UNTIL CHANGE is before RESETLOGS change
    Edited by: K Doyle on Aug 3, 2011 10:22 AM

  • Error while restoring through RMAN

    RMAN> alter database open resetlogs;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 04/19/2007 12:11:45
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/product/clonedata/rsystem01.dbf'
    Database was in archive mode when i take the backup now i disable the archive logs and when i try to open this it's show me this error.

    The backupset and controlfile are placed at the sane path where they were i-e same path for backup and restore . In our case it was ‘/oracle/rman_backup’
    Set ORACLE_HOME and ORACLE_SID as per the previous installed database as we will need to connect to the database using sqlplus and rman
    Step1:
    Startup the database in nomount
    Step 2:
    Restore the controlfiles using rman.
    Rman target /
    Restore controlfile from ‘/path’
    The database will now be able to be brought in the mount stage
    Step 3:
    Mount the database
    Alter database mount
    Step 4:
    Now execute the following scripts to restore the datafiles and redologs. ( Note: we are not here specifying the location from where to retrieve the backup set. All it is doing by itself. This is because the backup set is at the same location at which it was performed. )
    Remember to execute this script in the run block at rman, otherwise it wil not work .
    Run
    Run
    set newname for datafile '/dev/vg_rac/rsystem01.dbf' to '/oracle/product/clonedata/rsystem01.dbf';
    restore datafile '/dev/vg_rac/rsystem01.dbf';
    set newname for datafile '/dev/vg_rac/rsystem02.dbf' to '/oracle/product/clonedata/rsystem02.dbf';
    restore datafile '/dev/vg_rac/rsystem02.dbf';
    set newname for datafile '/dev/vg_rac/rsystem03.dbf' to '/oracle/product/clonedata/rsystem03.dbf';
    restore datafile '/dev/vg_rac/rsystem03.dbf';
    set newname for datafile '/dev/vg_rac/rsystem04.dbf' to '/oracle/product/clonedata/rsystem04.dbf';
    restore datafile '/dev/vg_rac/rsystem04.dbf';
    set newname for datafile '/dev/vg_rac/rsystem05.dbf' to '/oracle/product/clonedata/rsystem05.dbf';
    restore datafile '/dev/vg_rac/rsystem05.dbf';
    set newname for datafile '/dev/vg_rac/rsystem06.dbf' to '/oracle/product/clonedata/rsystem06.dbf';
    restore datafile '/dev/vg_rac/rsystem06.dbf';
    set newname for datafile '/dev/vg_rac/rsystem07.dbf' to '/oracle/product/clonedata/rsystem07.dbf';
    restore datafile '/dev/vg_rac/rsystem07.dbf';
    set newname for datafile '/dev/vg_rac/rsystem08.dbf' to '/oracle/product/clonedata/rsystem08.dbf';
    restore datafile '/dev/vg_rac/rsystem08.dbf';
    set newname for datafile '/dev/vg_rac/rsystem09.dbf' to '/oracle/product/clonedata/rsystem09.dbf';
    restore datafile '/dev/vg_rac/rsystem09.dbf';
    set newname for datafile '/dev/vg_rac/rsystem10.dbf' to '/oracle/product/clonedata/rsystem10.dbf';
    restore datafile '/dev/vg_rac/rsystem10.dbf';
    set newname for datafile '/dev/vg_rac/rsystem11.dbf' to '/oracle/product/clonedata/rsystem11.dbf';
    restore datafile '/dev/vg_rac/rsystem11.dbf';
    set newname for datafile '/dev/vg_rac/rundo01.dbf' to '/oracle/product/clonedata/rundo01.dbf';
    restore datafile '/dev/vg_rac/rundo01.dbf';
    set newname for datafile '/dev/vg_rac/ra_archive01.dbf' to '/oracle/product/clonedata/ra_archive01.dbf';
    restore datafile '/dev/vg_rac/ra_archive01.dbf';
    set newname for datafile '/dev/vg_rac/ra_int01.dbf' to '/oracle/product/clonedata/ra_int01.dbf';
    restore datafile '/dev/vg_rac/ra_int01.dbf';
    set newname for datafile '/dev/vg_rac/ra_media01.dbf' to '/oracle/product/clonedata/ra_media01.dbf';
    restore datafile '/dev/vg_rac/ra_media01.dbf';
    set newname for datafile '/dev/vg_rac/ra_nolog01.dbf' to '/oracle/product/clonedata/ra_nolog01.dbf';
    restore datafile '/dev/vg_rac/ra_nolog01.dbf';
    set newname for datafile '/dev/vg_rac/ra_queue01.dbf' to '/oracle/product/clonedata/ra_queue01.dbf';
    restore datafile '/dev/vg_rac/ra_queue01.dbf';
    set newname for datafile '/dev/vg_rac/ra_queue02.dbf' to '/oracle/product/clonedata/ra_queue02.dbf';
    restore datafile '/dev/vg_rac/ra_queue02.dbf';
    set newname for datafile '/dev/vg_rac/ra_ref01.dbf' to '/oracle/product/clonedata/ra_ref01.dbf';
    restore datafile '/dev/vg_rac/ra_ref01.dbf';
    set newname for datafile '/dev/vg_rac/ra_ref02.dbf' to '/oracle/product/clonedata/ra_ref02.dbf';
    restore datafile '/dev/vg_rac/ra_ref02.dbf';
    set newname for datafile '/dev/vg_rac/ra_summ01.dbf' to '/oracle/product/clonedata/ra_summ01.dbf';
    restore datafile '/dev/vg_rac/ra_summ01.dbf';
    set newname for datafile '/dev/vg_rac/ra_txn_data01.dbf' to '/oracle/product/clonedata/ra_txn_data01.dbf';
    restore datafile '/dev/vg_rac/ra_txn_data01.dbf';
    set newname for datafile '/dev/vg_rac/ra_txn_data02.dbf' to '/oracle/product/clonedata/ra_txn_data02.dbf';
    restore datafile '/dev/vg_rac/ra_txn_data02.dbf';
    set newname for datafile '/dev/vg_rac/ra_txn_data03.dbf' to '/oracle/product/clonedata/ra_txn_data03.dbf';
    restore datafile '/dev/vg_rac/ra_txn_data03.dbf';
    set newname for datafile '/dev/vg_rac/ra_txn_ind01.dbf' to '/oracle/product/clonedata/ra_txn_ind01.dbf';
    restore datafile '/dev/vg_rac/ra_txn_ind01.dbf';
    set newname for datafile '/dev/vg_rac/ra_txn_ind02.dbf' to '/oracle/product/clonedata/ra_txn_ind02.dbf';
    restore datafile '/dev/vg_rac/ra_txn_ind02.dbf';
    set newname for datafile '/dev/vg_rac/ra_txn_ind03.dbf' to '/oracle/product/clonedata/ra_txn_ind03.dbf';
    restore datafile '/dev/vg_rac/ra_txn_ind03.dbf';
    set newname for datafile '/dev/vg_rac/ra_txn_ind04.dbf' to '/oracle/product/clonedata/ra_txn_ind04.dbf';
    restore datafile '/dev/vg_rac/ra_txn_ind04.dbf';
    set newname for datafile '/dev/vg_rac/ra_txn_ind05.dbf' to '/oracle/product/clonedata/ra_txn_ind05.dbf';
    restore datafile '/dev/vg_rac/ra_txn_ind05.dbf';
    set newname for datafile '/dev/vg_rac/rctxd01.dbf' to '/oracle/product/clonedata/rctxd01.dbf';
    restore datafile '/dev/vg_rac/rctxd01.dbf';
    set newname for datafile '/dev/vg_rac/rodm.dbf' to '/oracle/product/clonedata/rodm.dbf';
    restore datafile '/dev/vg_rac/rodm.dbf';
    set newname for datafile '/dev/vg_rac/rolap.dbf' to '/oracle/product/clonedata/rolap.dbf';
    restore datafile '/dev/vg_rac/rolap.dbf';
    set newname for datafile '/dev/vg_rac/rowad01.dbf' to '/oracle/product/clonedata/rowad01.dbf';
    restore datafile '/dev/vg_rac/rowad01.dbf';
    set newname for datafile '/dev/vg_rac/rportal01.dbf' to '/oracle/product/clonedata/rportal01.dbf';
    restore datafile '/dev/vg_rac/rportal01.dbf';
    set newname for datafile '/dev/vg_rac/rundo02.dbf' to '/oracle/product/clonedata/rundo02.dbf';
    restore datafile '/dev/vg_rac/rundo02.dbf';
    set newname for datafile '/dev/vg_rac/rinfra_data01.dbf' to '/oracle/product/clonedata/rinfra_data01.dbf';
    restore datafile '/dev/vg_rac/rinfra_data01.dbf';
    set newname for datafile '/dev/vg_rac/rinfra_data02.dbf' to '/oracle/product/clonedata/rinfra_data02.dbf';
    restore datafile '/dev/vg_rac/rinfra_data02.dbf';
    set newname for datafile '/dev/vg_rac/rinfra_idx01.dbf' to '/oracle/product/clonedata/rinfra_idx01.dbf';
    restore datafile '/dev/vg_rac/rinfra_idx01.dbf';
    set newname for datafile '/dev/vg_rac/rdata_01.dbf' to '/oracle/product/clonedata/rdata_01.dbf';
    restore datafile '/dev/vg_rac/rdata_01.dbf';
    Run
    ALTER DATABASE RENAME FILE '/dev/vg_rac/rlog01b.dbf' to '/oracle/product/clonedata/rlog01b.dbf';
    ALTER DATABASE RENAME FILE '/dev/vg_rac/rlog02b.dbf' to '/oracle/product/clonedata/rlog02b.dbf';
    ALTER DATABASE RENAME FILE '/dev/vg_rac/rlog01a.dbf' to '/oracle/product/clonedata/rlog01a.dbf';
    ALTER DATABASE RENAME FILE '/dev/vg_rac/rlog02a.dbf' to '/oracle/product/clonedata/rlog02a.dbf';
    ALTER DATABASE RENAME FILE '/dev/vg_rac/rlog24a0.dbf' to '/oracle/product/clonedata/rlog24a0.dbf';
    ALTER DATABASE RENAME FILE '/dev/vg_rac/rlog24a1.dbf' to '/oracle/product/clonedata/rlog24a1.dbf';
    ALTER DATABASE RENAME FILE '/dev/vg_rac/rlog25a0.dbf' to '/oracle/product/clonedata/rlog25a0.dbf';
    ALTER DATABASE RENAME FILE '/dev/vg_rac/rlog25a1.dbf' to '/oracle/product/clonedata/rlog25a1.dbf';
    Step 5:
    Till now the database has been restored but no datafiles have been actually rebanmed. Therefore we will need to execute the script of simple renaming the datafiles. We can execute this script at SQL prompt.
    alter database rename file '/dev/vg_rac/rsystem01.dbf' TO '/oracle/product/clonedata/rsystem01.dbf' ;
    alter database rename file '/dev/vg_rac/rsystem02.dbf' TO '/oracle/product/clonedata/rsystem02.dbf' ;
    alter database rename file '/dev/vg_rac/rsystem03.dbf' TO '/oracle/product/clonedata/rsystem03.dbf' ;
    alter database rename file '/dev/vg_rac/rsystem04.dbf' TO '/oracle/product/clonedata/rsystem04.dbf' ;
    alter database rename file '/dev/vg_rac/rsystem05.dbf' TO '/oracle/product/clonedata/rsystem05.dbf' ;
    alter database rename file '/dev/vg_rac/rsystem06.dbf' TO '/oracle/product/clonedata/rsystem06.dbf' ;
    alter database rename file '/dev/vg_rac/rsystem07.dbf' TO '/oracle/product/clonedata/rsystem07.dbf' ;
    alter database rename file '/dev/vg_rac/rsystem08.dbf' TO '/oracle/product/clonedata/rsystem08.dbf' ;
    alter database rename file '/dev/vg_rac/rsystem09.dbf' TO '/oracle/product/clonedata/rsystem09.dbf' ;
    alter database rename file '/dev/vg_rac/rsystem10.dbf' TO '/oracle/product/clonedata/rsystem10.dbf' ;
    alter database rename file '/dev/vg_rac/rsystem11.dbf' TO '/oracle/product/clonedata/rsystem11.dbf' ;
    alter database rename file '/dev/vg_rac/rundo01.dbf' TO '/oracle/product/clonedata/rundo01.dbf' ;
    alter database rename file '/dev/vg_rac/ra_archive01.dbf' TO '/oracle/product/clonedata/ra_archive01.dbf' ;
    alter database rename file '/dev/vg_rac/ra_int01.dbf' TO '/oracle/product/clonedata/ra_int01.dbf' ;
    alter database rename file '/dev/vg_rac/ra_media01.dbf' TO '/oracle/product/clonedata/ra_media01.dbf' ;
    alter database rename file '/dev/vg_rac/ra_nolog01.dbf' TO '/oracle/product/clonedata/ra_nolog01.dbf' ;
    alter database rename file '/dev/vg_rac/ra_queue01.dbf' TO '/oracle/product/clonedata/ra_queue01.dbf' ;
    alter database rename file '/dev/vg_rac/ra_queue02.dbf' TO '/oracle/product/clonedata/ra_queue02.dbf' ;
    alter database rename file '/dev/vg_rac/ra_ref01.dbf' TO '/oracle/product/clonedata/ra_ref01.dbf' ;
    alter database rename file '/dev/vg_rac/ra_ref02.dbf' TO '/oracle/product/clonedata/ra_ref02.dbf' ;
    alter database rename file '/dev/vg_rac/ra_summ01.dbf' TO '/oracle/product/clonedata/ra_summ01.dbf' ;
    alter database rename file '/dev/vg_rac/ra_txn_data01.dbf' TO '/oracle/product/clonedata/ra_txn_data01.dbf' ;
    alter database rename file '/dev/vg_rac/ra_txn_data02.dbf' TO '/oracle/product/clonedata/ra_txn_data02.dbf' ;
    alter database rename file '/dev/vg_rac/ra_txn_data03.dbf' TO '/oracle/product/clonedata/ra_txn_data03.dbf' ;
    alter database rename file '/dev/vg_rac/ra_txn_ind01.dbf' TO '/oracle/product/clonedata/ra_txn_ind01.dbf' ;
    alter database rename file '/dev/vg_rac/ra_txn_ind02.dbf' TO '/oracle/product/clonedata/ra_txn_ind02.dbf' ;
    alter database rename file '/dev/vg_rac/ra_txn_ind03.dbf' TO '/oracle/product/clonedata/ra_txn_ind03.dbf' ;
    alter database rename file '/dev/vg_rac/ra_txn_ind04.dbf' TO '/oracle/product/clonedata/ra_txn_ind04.dbf' ;
    alter database rename file '/dev/vg_rac/ra_txn_ind05.dbf' TO '/oracle/product/clonedata/ra_txn_ind05.dbf' ;
    alter database rename file '/dev/vg_rac/rctxd01.dbf' TO '/oracle/product/clonedata/rctxd01.dbf' ;
    alter database rename file '/dev/vg_rac/rodm.dbf' TO '/oracle/product/clonedata/rodm.dbf' ;
    alter database rename file '/dev/vg_rac/rolap.dbf' TO '/oracle/product/clonedata/rolap.dbf' ;
    alter database rename file '/dev/vg_rac/rowad01.dbf' TO '/oracle/product/clonedata/rowad01.dbf' ;
    alter database rename file '/dev/vg_rac/rportal01.dbf' TO '/oracle/product/clonedata/rportal01.dbf' ;
    alter database rename file '/dev/vg_rac/rundo02.dbf' TO '/oracle/product/clonedata/rundo02.dbf' ;
    alter database rename file '/dev/vg_rac/rinfra_data01.dbf' TO '/oracle/product/clonedata/rinfra_data01.dbf' ;
    alter database rename file '/dev/vg_rac/rinfra_data02.dbf' TO '/oracle/product/clonedata/rinfra_data02.dbf' ;
    alter database rename file '/dev/vg_rac/rinfra_idx01.dbf' TO '/oracle/product/clonedata/rinfra_idx01.dbf' ;
    alter database rename file '/dev/vg_rac/rdata_01.dbf' TO '/oracle/product/clonedata/rdata_01.dbf' ;
    sql alter databsae noarchivelog
    sql alter databse open resetlogs
    these steps i performs so can u update me what is the wrong and missing step in this.
    i didnt restore the logsfile & archivelogs.

  • RMAN leaves database in mount state

    Hi,
    Since recently we are experiencing situation where RMAN leaves the database in mount state and manual open is necessary. I don't recall it happened before...
    (Linux RH ES3; 10gR2).
    Recovery Manager: Release 10.2.0.2.0 - Production on Sun May 27 14:55:48 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: TEST (DBID=1825238, not open) using target database control file instead of recovery catalog
    RMAN> report obsolete;
    2> delete force obsolete;
    3> list backup;
    4> sql 'ALTER DATABASE OPEN';
    5> sql 'ALTER DATABASE BACKUP CONTROLFILE TO TRACE';
    6> exit;
    RMAN retention policy will be applied to the command RMAN retention policy is set to redundancy 1 Report of obsolete backups and copies
    The same scenario(scripts) work on other databases with no problems.
    Any suggestions are appreciated.
    Thank you,
    Dobby

    Hi,
    There are the last lines from alert.log for the period:
    Sun Jun 3 14:12:48 2007
    alter database mount
    Sun Jun 3 14:12:52 2007
    Setting recovery target incarnation to 2
    Sun Jun 3 14:12:52 2007
    Successful mount of redo thread 1, with mount id 875794080
    Sun Jun 3 14:12:52 2007
    Database mounted in Exclusive Mode
    Completed: alter database mount
    Sun Jun 3 14:54:51 2007
    Starting control autobackup
    Control autobackup written to DISK device
    Last lines from rman log:
    RMAN retention policy will be applied to the command RMAN retention policy is set to redundancy 1 allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=104 devtype=DISK released channel: ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 06/03/2007 14:54:58
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    Recovery Manager complete.
    Thx,
    Dobby

  • 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 in standby Database

    Hello all,
    We want to configure RMAN in physical standby database but getting below error
    [oracle@timsdr ~]$ rman catalog rmandr/rmandr@rman target system/password
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Feb 26 17:04:36 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: TIMS (DBID=3639374466, not open)
    connected to recovery catalog database
    RMAN> show all;
    RMAN configuration parameters are:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of show command at 02/26/2010 17:08:34
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
    RMAN>
    Standby DB is in mount mode.Pls give some idea..

    catalog rmandr/rmandr@rmanIs this catalog different from the one that the Production database is registered with ?
    Note : You cannot register the same database -- ie Production and Standby have the same DBID -- twice in a catalog.
    Yet your catalog reports that the database is not registered.
    Seemingly, Production is registered to a different catalog OR is not registered at all.
    If using the same Catalog you should
    a. NOT register the Standby
    b. STOP recovery on the Standby
    c. MOUNT STANDBY on the Standby
    and then RMAN BACKUP the Standby
    Once the Backup is completed, restart Recovery on the Standby.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

Maybe you are looking for

  • Ipad mini 32 and can't connect to my HP Pavilion DM1 windows 8 via bluetooth

    Just got a new Ipad mini 32 and can't connect to my HP Pavilion DM1 windows 8 via bluetooth. I get to the stage where you have to confirm on both systems the generated code and then it goes in error. Not supported. Any clue ?

  • Tracking an IP number

    My Gmail account was recently hacked into by my soon to be exwife. She did this with the assistance of her boyfriend. I can track the IP address of the first time it was done as it was done thru a comcast account (boyfriend) but I need help tracking

  • About Memory Leak in JAVA Any body pls help me

    Hi All, In our application, with JAVA we are using c, c++ native methods also. The problem is, Eventhough the application is in idle state, the Virtual Memory occupation is getting increased. For 24 hours, 30 MB is increased, while the application is

  • SWF/Flash help required

    I've been trying to edit a .swf document to change the logo from a website navigation bar but not having any luck. The file can be found at http://steevo.bravehost.com/navbar.swf. I'm trying to swap the current green/yellow logos to this and would li

  • Names of the sheet

    They now follow the (inverted) norm of Excel (the formulas down, the names of the sheets up- just to do it differently apparently). But it has the same awful result than in Excel: if there are too much sheets, their names are hidden on the right. Eve