RMAN-06067: RECOVER DATABASE required with a backup or created controlfile

Hi,
DB:9.2.0.8
OS: AIX 5.3
I am restoring DB with until time(12/06/2012) for needed tablespaces.
I restored the 12th date controlfile ,which is backed up with archivedlogs. I also have one more controlfile which backed up with full DB..
Restore of tablespaces are completed..
When recovery is going , failed with following error..
allocated channel: c7
channel c7: sid=22 devtype=SBT_TAPE
channel c7: VERITAS NetBackup for Oracle - Release 5.1 (2006040520)
allocated channel: c8
channel c8: sid=21 devtype=SBT_TAPE
channel c8: VERITAS NetBackup for Oracle - Release 5.1 (2006040520)
executing command: SET until clause
Starting recover at 23-06-2012 02:00:15
released channel: c1
released channel: c2
released channel: c3
released channel: c4
released channel: c5
released channel: c6
released channel: c7
released channel: c8
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 06/23/2012 03:36:57
RMAN-06067: RECOVER DATABASE required with a backup or created controlfile
RMAN>
Restore Script:
connect target /
connect catalog rmanc/recom@lgn_rmanc
run {
allocate channel c1 type 'SBT_TAPE';
allocate channel c2 type 'SBT_TAPE';
allocate channel c3 type 'SBT_TAPE';
allocate channel c4 type 'SBT_TAPE';
allocate channel c5 type 'SBT_TAPE';
allocate channel c6 type 'SBT_TAPE';
allocate channel c7 type 'SBT_TAPE';
allocate channel c8 type 'SBT_TAPE';
allocate channel c9 type 'SBT_TAPE';
allocate channel c10 type 'SBT_TAPE';
allocate channel c11 type 'SBT_TAPE';
allocate channel c12 type 'SBT_TAPE';
set until time '12-06-2012 00:01:26';
restore tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
release channel c1;
release channel c2;
release channel c3;
release channel c4;
release channel c5;
release channel c6;
release channel c7;
release channel c8;
release channel c9;
release channel c10;
release channel c11;
release channel c12;
Recover Script:
connect catalog rmanc/recom@lgn_rmanc
connect target /
run {
allocate channel c1 type 'SBT_TAPE';
allocate channel c2 type 'SBT_TAPE';
allocate channel c3 type 'SBT_TAPE';
allocate channel c4 type 'SBT_TAPE';
allocate channel c5 type 'SBT_TAPE';
allocate channel c6 type 'SBT_TAPE';
allocate channel c7 type 'SBT_TAPE';
allocate channel c8 type 'SBT_TAPE';
set until time '12-06-2012 00:01:26';
recover tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
release channel c1;
release channel c2;
release channel c3;
release channel c4;
release channel c5;
release channel c6;
release channel c7;
release channel c8;
Any suggestion in this is helpful to me..
Thanks in advance,

Hello;
I read your post and here's the thoughts that came to mind : ( my largest concern is you might restore something that damages your current system )
1. So you want to restore the whole DB back to 12/06/2012 to get some tablespaces from then right?
2. Are you restoring to a different system?
3. How did you start the database ( NOMOUNT, MOUNT )
4. If you are restoring the whole DB back to 12/06/2012 how did you restore the control file?
5. Your command shows :
restore tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
COMMENT : Generally I use recover tablespace for point in time recovery and use an auxilary destination.
Meaning I don't use restore at all, in fact using restore may cause an issue.
SUMMARY : I don't see how this will work as is.
It seems you want data from five tablespaces from about six months ago including the SYSTEM tablespace.
This is an Incomplete Recovery. I believe I would rethink this completely.
Give the time that has past I would consider restoring the whole database to a different server where cannot damage anything.
Once this is done I would decide how to get the data I need.
Or I would check for a daily export file and recover the tablespace data that way.
So you have some good details on your question but it seems the plan is either missing something or you need to add a few more details.
Example
I'm recovering old tablespaces into a test system.
Here's how I'm not damaging my current production system.
I don't have an export from that date.
So take a step back and either rethink or give a few more details on how this is safe.
Best Regards
mseberg

Similar Messages

  • RMAN-06067: RECOVER DATABASE required with a backup or created control file

    Hi,
    Oracle version :10.2.04
    I recovered control files
    RMAN> restore controlfile to '/oracle/ora10gr4/dbs/nis.ctl';
    Starting restore at 21-AUG-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: restoring control file
    output filename=/oracle/ora10gr4/dbs/nis.ctl
    channel ORA_DISK_1: reading from backup piece /data_idx1/ORAMIG/OMIGTEST/cfc-260103938-20120821-03
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/data_idx1/ORAMIG/OMIGTEST/cfc-260103938-20120821-03 tag=TAG20120821T152259
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    Finished restore at 21-AUG-12after this i got the below error when i tried to open DB.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1:
    '/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf'So i tried the following.
    RMAN> restore datafile '/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf';
    Starting restore at 21-AUG-12
    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 /data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf
    channel ORA_DISK_1: reading from backup piece /data_idx1/ORAMIG/OMIGTEST29_1_791910787
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/data_idx1/ORAMIG/OMIGTEST29_1_791910787 tag=TAG20120821T151306
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:15
    Finished restore at 21-AUG-12
    RMAN> recover  datafile '/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf';
    Starting recover at 21-AUG-12
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/21/2012 16:21:45
    RMAN-06067: RECOVER DATABASE required with a backup or created control fileCan anyone pls help me with this error?
    Thanks

    Hi,
    Try this command after restore control file.
    RMAN>  restore database;
    RMAN> recover database;
    RMAN> alter database open resetlogs;Paste here result, if you are get error.
    Regards
    Mahir M. Quluzade
    www.mahir-quluzade.com

  • Recover database until cancel using backup controlfile Fails with ORA-01547

    Hi
    First of all, I'm sorry for posting in this community as my issue doesn't have any thing to do with Rman, but I couldn't find any more relative Community to post in
    our System is Oracle EBS 11i and the OS on the production is AIX 5.2 / and the DR is 5.3 / DB version is 9i
    we have our Oracle ERP scheduled using crontab to take a database COLD backup daily using gtar -cvzf .
    yesterday I needed to clone the database only, so I used my usual method witch is
    1) on the source SQL> alter database backup controlfile to trace as '<dest>/makecntrlfil.sql'
    then you can delete the Commented header and change the first command from
    "CREATE CONTROLFILE REUSE DATABASE <SOURCE> NORESETLOGS ..."
    TO
    CREATE CONTROLFILE SET DATABASE <TARGET> RESETLOGS <NO>ARCHIVELOG
    2) de-compress the tgz files
    3) on the target edit the $ORACLE_HOME/dbs/init<source>.ora, $ORACLE_HOME/environment file
    4)run /ORACLE_HOME/appsutils/clone/bin/adcfgclone.prl
    5) delete old controlfiles
    6) on the database run the script you created on firs t step to create a new control fole
    7)recover database until cancel using backup controlfile
    8) alter database open resetlogs
    add new temp file system
    this way I used to do it
    but yesterday when trying to execute recover database it didn't work, and gave this error
    ORA-00279: change 6450277404 generated at 02/28/2013 02:47:56 needed for thread
    1
    ORA-00289: suggestion : /ERPDEV/DBASE/devdb/9.2.0/dbs/arch1_188462.dbf
    ORA-00280: change 6450277404 for thread 1 is in sequence #188462
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL} >> I gave cancel >> so >>
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/ERPDEV/DBASE/SYS/devdata/system01.dbf'
    nothing strange in the original alert log file in the time of taking the backup
    So can You please tell me what maybe wrong and why it used to work before and now it's not
    take in consideration that we are on archive log mode, but not using Rman or the archived Logs for backup and the sequence it needed ( 188462 ) is too old and already deleted on Production.

    the output of the sript
    Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root ConcMgr will not work ConcMgr will not work ConcMgr will not work #####################################################
    172.16.10.10:1.0
    access control disabled, clients can connect from any host
    You are running adstpall.sh version 115.19
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adapcctl.sh stop script returned:
    adapcctl.sh version 115.54
    Apache Web Server Listener :httpd ( pid 765998 ) is running.
    Stopping Apache Web Server Listener (dedicated HTTP) ...
    Apache Web Server Listener (PLSQL) :httpd ( pid 2830390 ) is running.
    Stopping Apache Web Server Listener (dedicated PLSQL) ...
    adapcctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adalnctl.sh stop script returned:
    adalnctl.sh version
    Shutting down listener process APPS_ABP.
    adalnctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adtcfctl.sh stop script returned:
    You are running adtcfctl.sh version 115.14
    Shutting down TCF SocketServer for ABP on port -1.
    adtcfctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adcmctl.sh stop script returned:
    You are running adcmctl.sh version 115.28
    Shutting down concurrent managers for ABP ...
    Submitted request 7481224 for CONCURRENT FND SHUTDOWN
    adcmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfrmctl.sh stop script returned:
    You are running adfrmctl.sh version 115.37
    Stopping forms server for ABP on port 9003.
    adfrmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adrepctl.sh stop script returned:
    You are running adrepctl.sh version 115.32
    stopping Reports Server for ABP on port 7003.
    kill -9 827420
    Reports Server for ABP successfully stopped.
    adrepctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmcctl.sh stop script returned:
    You are running adfmcctl.sh version 115.19
    Stopping forms load balancing client for ABP.
    adfmcctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmsctl.sh stop script returned:
    You are running adfmsctl.sh version 115.15
    Stopping forms metrics server for ABP on port 9203.
    adfmsctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/jtffmctl.sh stop script returned:
    You are running jtffmctl.sh version 115.16
    Shutting down Fulfillment Server for ABP on port 9303 ...
    jtffmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    All enabled services on this node are stopped.
    Check logfile /ERPABP/APPL/abpcomn/admin/log/ABP_babtain-erp/04010130.log for details
    Exiting with status 0
    You are running addlnctl.sh version 115.7
    Logfile: /ERPABP/DBASE/abpdb/9.2.0/appsutil/log/ABP_babtain-erp/addlnctl.txt
    Shutting down listener process ABP ...
    addlnctl.sh: exiting with status 0
    You are running addbctl.sh version 115.10
    Shutting down database ABP ...
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 01:36:25 2013
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected.
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
    addbctl.sh: exiting with status 0
    You are running addbctl.sh version 115.10
    Starting the database ABP ...
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 01:38:48 2013
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 6829474752 bytes
    Fixed Size          742336 bytes
    Variable Size          1493172224 bytes
    Database Buffers     5324800000 bytes
    Redo Buffers          10760192 bytes
    Database mounted.
    Database opened.
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
    addbctl.sh: exiting with status 0
    You are running addbctl.sh version 115.10
    Shutting down database ABP ...
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 01:39:08 2013
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected.
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
    addbctl.sh: exiting with status 0
    root 2883784 2097278 0 01:39:54 - 0:00 grep abpappl
    root 1425530 2097278 1 01:39:54 - 0:00 grep abpora
    Taring /ERPABP/DBASE/SYS/abpdata
    Mon Apr 1 01:39:54 SAUST 2013
    Mon Apr 1 03:00:16 SAUST 2013
    Taring /ERPDEV/DBASE/SYS/abpdata
    Mon Apr 1 03:00:16 SAUST 2013
    Mon Apr 1 03:10:18 SAUST 2013
    Taring /ERPABP/DBASE/DATA/abpdata
    Mon Apr 1 03:10:18 SAUST 2013
    Mon Apr 1 04:51:04 SAUST 2013
    Taring /ERPDEV/APPL/DATA/abpdata
    Mon Apr 1 04:51:04 SAUST 2013
    Mon Apr 1 05:02:58 SAUST 2013
    You are running addbctl.sh version 115.10
    Starting the database ABP ...
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 05:04:46 2013
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 6829474752 bytes
    Fixed Size          742336 bytes
    Variable Size          1493172224 bytes
    Database Buffers     5324800000 bytes
    Redo Buffers          10760192 bytes
    Database mounted.
    Database opened.
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
    addbctl.sh: exiting with status 0
    You are running addlnctl.sh version 115.7
    Logfile: /ERPABP/DBASE/abpdb/9.2.0/appsutil/log/ABP_babtain-erp/addlnctl.txt
    Starting listener process ABP ...
    addlnctl.sh: exiting with status 0
    Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root ConcMgr will not work ConcMgr will not work ConcMgr will not work #####################################################
    172.16.10.10:1.0
    access control disabled, clients can connect from any host
    You are running adstrtal.sh version 115.16
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adapcctl.sh start script returned:
    adapcctl.sh version 115.54
    Apache Web Server Listener is not running.
    Starting Apache Web Server Listener (dedicated HTTP) ...
    Apache Web Server Listener (PLSQL) is not running.
    Starting Apache Web Server Listener (dedicated PLSQL) ...
    adapcctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adalnctl.sh start script returned:
    adalnctl.sh version
    Checking for FNDFS executable.
    Starting listener process APPS_ABP.
    adalnctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adtcfctl.sh start script returned:
    You are running adtcfctl.sh version 115.14
    TCF SocketServer for ABP on port -1 is already started.
    adtcfctl.sh: exiting with status 2
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adcmctl.sh start script returned:
    You are running adcmctl.sh version 115.28
    Starting concurrent manager for ABP ...
    Starting ABP_0401@ABP Internal Concurrent Manager Default printer is noprint
    adcmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfrmctl.sh start script returned:
    You are running adfrmctl.sh version 115.37
    Starting forms server for ABP on port 9003.
    adfrmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adrepctl.sh start script returned:
    You are running adrepctl.sh version 115.32
    starting Reports Server for ABP on port 7003.
    adrepctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmcctl.sh start script returned:
    You are running adfmcctl.sh version 115.19
    Starting forms load balancing client for ABP.
    adfmcctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmsctl.sh start script returned:
    You are running adfmsctl.sh version 115.15
    starting forms metrics server for ABP.
    adfmsctl.sh: exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    /ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/jtffmctl.sh start script returned:
    You are running jtffmctl.sh version 115.16
    Validating Fulfillment patch level via /ERPABP/APPL/abpcomn/java Fulfillment patch level validated.
    Starting Fulfillment Server for ABP on port 9303 ...
    jtffmctl.sh: exiting with status 0
    .end std out.
    .end err out.
    All enabled services for this node are started.
    Check logfile /ERPABP/APPL/abpcomn/admin/log/ABP_babtain-erp/04010505.log for details
    Exiting with status 0
    MWA Telnet Server Release: 1.0.8.4 [December 12th 2002] Mon Apr 1 05:06:01 SAUST 2013
    9653.50     /store/abp/data/data_abpdata_010413.tgz
    1089.50     /store/abp/data/datadev_abpdata_010413.tgz
    0.04     /store/abp/data/mkctrl.sql
    13309.38     /store/abp/data/sys_abpdata_010413.tgz
    1000.25     /store/abp/data/sysdev_abpdata_010413.tgz
    Mon Apr 1 05:06:01 SAUST 2013
    #######################################################################################################################

  • RMAN via OEM: Skipping days with incremental backups

    Hello,
    I've searched the forums and browsed much of the documentation on OTN but have not found the answer to my question. I am using RMAN (through Oracle Enterprise Manager) to schedule backups. I want to get full database backups on Fridays and incrementals Monday through Thursday. I would like to have the backups running at 11 PM each night. I have scheduled the full database backups to occur every Friday. The problem is I cannot schedule the incrementals to skip Fridays, Saturdays and Sundays. I don't want incrementals on Friday since the full database backup will be running. No transactions are occurring on Saturday or Sunday so there is no need to backup on those days either.
    Thank you for any help,
    Paul Lohr

    You have had issues with FileID 74 earlier
    [RMAN] problem with registering database
    DATAFILE RECOVER STATUS
    and now with FileID 75 ?
    Bring in Oracle Support. Log an SR. Ask for ACS onsite. Don't use forums.oracle.com for such issues.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Feb 11, 2011 10:49 AM

  • RECOVER IMAGE COPY WITH INCRMENTAL BACKUP

    dear all
    i want to know what this comand do
    recover copy of datafile 4 with tag ' ';
    is this when take backup copy to datafile and i have incremental backup
    when corruption occurs i write this command
    instead of restore and recovery only this command is make the restore and applay incremental backup ???
    MANY THANKS

    there are some recovery scenarios.
    1- If you lost all datafiles
    SQL> startup mount;
    RMAN> restore database;
    RMAN> recover database;
    SQL> alter database open;
    2- if you lost a tablespace
    SQL> alter tablespace users offline;
    RMAN> restore tablespace users;
    RMAN> recover tablespace users;
    SQL> alter tablespace users online;
    if you can not offline tablespace then
    $ sqlplus “/ as sysdba”
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore tablespace users;
    RMAN> recover tablespace users;
    SQL> alter database open;
    3- if you lost a datafile
    SQL> alter database datafile '/oracle/oradata/users.dbf' offline;
    RMAN> restore datafile '/oracle/oradata/users.dbf'
    RMAN> recover datafile '/oracle/oradata/users.dbf'
    SQL> alter database datafile '/oracle/oradata/users.dbf' online;
    if you cannot offline datafile then
    $ sqlplus “/ as sysdba”
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore datafile '/oracle/oradata/users.dbf';
    RMAN> recover datafile '/oracle/oradata/users.dbf';
    SQL> alter database open;
    4- if you lost your controlfile
    $ sqlplus “/ as sysdba”
    SQL> shutdown abort;
    SQL> startup nomount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> set dbid = 3970640872;
    RMAN> restore controlfile;
    SQL> alter database mount;
    SQL> alter database open;
    you will receive an error ORA-01589 when you open database
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    In this situation you must do;
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> recover database;
    SQL> alter database open resetlogs;
    RMAN> reset database;
    if you open database with resetlogs, SCN number will be zero. In this situation all previous backups will be invalid. You must full backup.
    5- May be a special situation. You need to incomplete recovery.
    A. Time-Based incomplete recovery;
    $ sqlplus "/ as sysdba"
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore database until time "to_date('06/05/11 12:0:00','DD/MM/YY HH24:MI:SS')";
    RMAN> recover database until time "to_date('06/05/11 12:0:00','DD/MM/YY HH24:MI:SS')";
    SQL> alter database open resetlogs;
    B. SCN-Based incomplete recovery;
    $ sqlplus "/ as sysdba"
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore database until scn 1000;
    RMAN> recover database until scn 1000;
    SQL> alter database open resetlogs;
    C. archive log sequence based incomplete recovery;
    $ sqlplus "/ as sysdba"
    SQL> shutdown abort;
    SQL> startup mount;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore database until sequence 9923;
    RMAN> recover database until sequence 9923;
    SQL> alter database open resetlogs;
    6- if you need some archive logs in your backup
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN> restore ARCHIVELOG FROM TIME 'SYSDATE-1' UNTIL TIME 'SYSDATE';
    Or
    RMAN> restore ARCHIVELOG FROM TIME "to_date('07/11/05 00:00:01','MM/DD/YY HH24:MI:SS')
    UNTIL TIME 'SYSDATE';
    7- if your data block is corrupted you will receive an error below.
    Hata:
    ORA-01578: ORACLE data block corrupted (file # 8, block # 13)
    ORA-01110: data file 8: '/oracle/oradata/users.dbf'
    for recover data block;
    $ rman target / catalog_user/ catalog_user_password@catalogdb
    RMAN>blockrecover datafile 8 block 13;
    For Block-Level Media Recovery - Concept & Example (Doc ID 144911.1)
    8- if you have a image copy backup and your datafile number 2 has problems then you can switch datafile number2 to image copy.
    RMAN>sql ‘alter database datafile 2 offline’;
    RMAN>switch datafile 2 to copy;
    RMAN>recover datafile 2;
    RMAN>sql ‘alter database datafile 2 online’;

  • Recover databases synchronized with CDC

    Hi,
    I need to define a mechanism with RMAN to backup two databases where information is copied from one to another by using Oracle Data Integrator CDC.
    How can I backup and recover both databases and it still sync?
    Thanks
    Homero

    HI Doug,
    I think I figured out what causes the error here.
    You are using a parallel medium for backup and restore.
    When you start the recovery e.g. via db_activate recover <MEDIUM NAME> you get a reply from the dbm server as soon as the first data stream has been completely  read.
    And since (obviously) not all of the parallel data streams (could be files, could be pipes) can be finished at the exact same point in time, there will always be pages left to be read when the first stream is done.
    That's exactly what the -8020 message tells you here.
    It says "Hey, the first data stream is done and there is still more to be read".
    But - you already started the other streams since they are part of the parallel medium.
    So there is no need at all to manually add them with recover_replace.
    Instead all you've to do is to wait until the rest of the data is processed.
    To tell the dbm server this the command [recover_ignore|http://maxdb.sap.com/doc/7_6/30/f7c7e35be311d4aa1500a0c9430730/content.htm] is used.
    Even more comfortable would be to use the AUTOIGNORE flag when starting the recovery.
    Finally, the best option would be not to perform the recovery via DBMCLI at all.
    Use the GUI tools. They have all the knowledge build in. They are simple and easy to use and give you all the options that you have with DBMCLI.
    regards,
    Lars

  • Recovering System datafile with no backup.

    Hello Everyone,
    I am simulating a scenario where in i lost a system datafile and i dint take any back up. The database i sin archive mode.Now i wanted to recover the database.I have googled everywhere and tried different things,but i am not able to recover it. can anybody please provide me a step by step process to recover the system datafile. DO we have to recreate the database?
    Thanks,
    ranz_bad

    ranz_dba wrote:
    Hello Everyone,
    I am simulating a scenario where in i lost a system datafile and i dint take any back up. The database i sin archive mode.Now i wanted to recover the database.I have googled everywhere and tried different things,but i am not able to recover it. can anybody please provide me a step by step process to recover the system datafile. DO we have to recreate the database? ranz_bad,
    :Please make sure that you read the docs before attempting to create issues as most of the issues are very well documented in the docs. For the recovery of the System tablespace, you need to have a backup and if you have only one datafile in the system tablespace or first dataflie of the System tablespace is lost, you can't get it through the create datafile clause.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/statements_1004.htm#i2079942
    HTH
    Aman....

  • Help Required with HD Backup

    Hi,
    A Friend of mine has a PC with windows on 2x Samsung 320gb HD's in Raid 0, one of the drives started to fail, so he put in his 1tb backup drive that he made a hd image using boot it dos software. He has now purchased 2x Corsair M4 128gb SSD's and made a volume Raid 0, when trying to backup from the 1tb drive the software says that a min hd of approx 320gb is required even though the total used on windows in only approx 140gb. and the new SSD volume is approx 240gb
    The software is by terrabyte.
    also when we did a hd tach with 1x ssd and 2x ssd the performance was similar, not mutch gain. I am not familiar with SSD or HD image backups so please advise. or is there any other software recomendations.
    Thanks

    Well most software imaging requires the same size as the source.  What in the
    world is the objective of a RAID 0 boot disk.  As has been said here while it
    may help load a program faster, it will not run the program faster
    Also HDtach is not a good benchmark for SSD's
    Bill Gehrke

  • Restore Rman hotback in different machine with different Database name

    Hi All,
    I have oracle 11.2.0.3.0 in Windows 2003 R2 server 64 bit version,i have my production database "Proddb" in archivelog mode , I have taken RMAN hot backup at 9 AM and i want to restore this RMAN backup into new Machine with new Db Name "Testdb" at 1 PM ,in between 9 AM to 1 PM lots of transactions happened , lots of archivelogs got generated ..
    Can anyone tell me how to restore RMAN Backup in different machine with new Db name and also how to apply those archive logs which got generated between 9 AM to 1 PM.
    Thanks & Regards,
    Vikash Jain

    http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814Yes you will have to apply all those archivelog after yours last backup 9:00 AM to 1:00 PM , someone give you good link to restore the RMAN backup from one machine ot another machine but it is missing one thing which you require is to restore database at new machine with new DB_NAME , for that you can do it in two ways after restoring and recovering the database.
    1)After restoring with original name "Proddb" do not recover database ,Create contorlfile in control.txt format using alter database backup controlfile to trace,Shutdown restored database ,delete/rename contorolfile ,recreate controlfile from control.txt which by setting its first line as
    Create controlfile set database "Testdb" resetlogs noarchivelogStartup mount with new created controlfile after defining new controlfile in pfile ,recover database at sql using backup controlfile "recover database using backup controlfile untill cancel" supply log till 1:00 PM ,Open database with resetlogs,run at comand prompt
    sqlplus "/ as sysdba" @aduplib.sql so2)Or better approach is http://docs.oracle.com/cd/B28359_01/server.111/b28319/dbnewid.htm.
    Khurram

  • Recover Database in RMAN vs SQL*PLUS

    Hello,
    Oracle 11.2.0.1, Oracle Linux 5.5 UEK.
    I recently did a "recover database" in sql*plus, but an attempt to open the database gave ORA-01113, complaining the system tablespace requried more recovery. Then I used RMAN (nocatalog) and after the same "recover database" command I was able to open the database.
    It seems there are differences between SQL*PLUS and RMAN "recover database" command. I have not been able to locate the chapter in the Oracle documentation that explains the difference. I have some ideas, but...
    Thanks.
    h3. Solution Summary:
    The recover command in RMAN compared to SQL*Plus implements a more user friendly processing logic based on the current detected scenario. For instance, a RMAN recover database command may actually perform a "recover database using backup controlfile until cancel" and automatically apply all archived and online redo logs if available. The same can be achieved with the recover command in SQL*plus, but will have to be done manually.
    Edited by: Dude on Jan 7, 2011 12:30 PM

    Dude wrote:
    I did not remove any datafiles or redo logs. it is the same restore operation as before, and again RMAN "recovery database" succeeds, whereas SQL recover has trouble. This tells me something is different between the two methods. For one, RMAN does not requrie to specify "using backup controlfile".
    Maybe someting about "resetlogs" that that RMAN recover can handle and SQL recover not?No,problem is there.If you using rman execute RECOVER DATABASE it also will apply online logs(if available) also and as result you will get complete recovery however you must open database with resetlogs option due to you recovered database using backup controlfile.So also you can recover and open database applying this online logs.After executing RECOVER DATABASE USING BACKUP CONTROLFILE you have to pass full path of online log then press ENTER so log will apply and you can open database with RESETLOGS.See below
    C:\Documents and Settings\chinar>rman target sys/sm
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Jan 7 17:47:49 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount;
    Oracle instance started
    Total System Global Area     138412032 bytes
    Fixed Size                     1247708 bytes
    Variable Size                 71304740 bytes
    Database Buffers              58720256 bytes
    Redo Buffers                   7139328 bytes
    RMAN> restore controlfile from 'D:\oracle\product\10.2.0\flash_recovery_area\T\B
    ACKUPSET\2011_01_07\O1_MF_NCSNF_TAG20110107T171001_6LG48JR5_.BKP'
    2> ;
    Starting restore at 07-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    output filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\CONTROL01.CTL
    output filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\CONTROL02.CTL
    output filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\CONTROL03.CTL
    Finished restore at 07-JAN-11
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    RMAN> restore database;
    Starting restore at 07-JAN-11
    Starting implicit crosscheck backup at 07-JAN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 07-JAN-11
    Starting implicit crosscheck copy at 07-JAN-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 07-JAN-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\T\BACKUPSET\2011_01_07\O
    1_MF_NCSNF_TAG20110107T171001_6LG48JR5_.BKP
    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 D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\SYSTEM01.DBF
    restoring datafile 00002 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\UNDOTBS01.DBF
    restoring datafile 00003 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\SYSAUX01.DBF
    restoring datafile 00004 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\USERS01.DBF
    channel ORA_DISK_1: reading from backup piece D:\ORACLE\PRODUCT\10.2.0\FLASH_REC
    OVERY_AREA\T\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T171001_6LG45BXS_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\T\BACKUPSET\2011_01_07
    \O1_MF_NNNDF_TAG20110107T171001_6LG45BXS_.BKP tag=TAG20110107T171001
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:04
    Finished restore at 07-JAN-11
    RMAN> recover database;
    Starting recover at 07-JAN-11
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 7 is already on disk as file D:\ORACLE\PRODUCT\10.
    2.0\ORADATA\T\REDO02.LOG
    archive log filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\REDO02.LOG thread=1 sequ
    ence=7
    media recovery complete, elapsed time: 00:00:03
    Finished recover at 07-JAN-11
    RMAN> exit
    Recovery Manager complete.
    C:\Documents and Settings\chinar>sqlplus sys/sm as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jan 7 17:51:31 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> alter database open resetlogs;
    Database altered.
    SQL> And above you see lines as
    archive log thread 1 sequence 7 is already on disk as file D:\ORACLE\PRODUCT\10.
    *2.0\ORADATA\T\REDO02.LOG*
    archive log filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\REDO02.LOG thread=1 sequ
    ence=7
    It means RMAN apply these.So you can apply these using SQLPLUS ALSO.In additionally you can see that from alert log as
    alter database recover if needed
    start until cancel using backup controlfile
    Media Recovery Start
    parallel recovery started with 2 processes
    ORA-279 signalled during: alter database recover if needed
    start until cancel using backup controlfile
    Fri Jan 07 17:50:34 2011
    alter database recover logfile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\REDO02.LOG'
    Fri Jan 07 17:50:34 2011
    Media Recovery Log D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\REDO02.LOG
    Fri Jan 07 17:50:34 2011
    Incomplete recovery applied all redo ever generated.
    Recovery completed through change 665263
    Completed: alter database recover logfile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\REDO02.LOG'And finally you see clearly that even if you execute RECOVER DATABASE from RMAN it actually execute RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE (from alert.log start  until cancel using backup controlfile)
    And these is not any difference.
    Hope that help you and you got answer.

  • After  RMAN duplicate  adcfgclone dbconfig completing with error

    we have R12.1.1 on redhat 5.3 ( 64 bit ).
    i am clonning my TEST server with RMAN hot full backup.
    i am using command
    rman target sys/prod_sys@PROD catalog rman/rman@PROD auxiliary /
    run {
    set until scn 5967654364306;
    allocate auxiliary channel ch1 type disk;
    allocate auxiliary channel ch2 type disk;
    duplicate target database to TEST8002;}
    when this command has restored database then i have to perform a
    CANCEL based recovery
    alter database open resetlogs;
    after that when i run
    perl adcfgclone dbconfig it is ending with error at 50%
    Controlfile creation failed.
    How to proceed ?
    Edited by: user13376823 on Nov 13, 2012 7:03 PM

    '/opt/R12.1.3/oracle/db/apps_st/data/a_ref01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_int01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_summ01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_nolog01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_archive01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_queue01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_media01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_ref02.dbf'
    RESETLOGS MAXDATAFILES 512
    MAXINSTANCES 8
    MAXLOGFILES 32
    MAXLOGHISTORY 14607
    MAXLOGMEMBERS 5
    WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
    Default Temporary Tablespace will be necessary for a locally managed database in future release
    Setting recovery target incarnation to 1
    Successful mount of redo thread 1, with mount id 3760580547
    Completed: CREATE CONTROLFILE REUSE SET DATABASE "TEST8002"
    LOGFILE
    GROUP 1 ('/opt/R12.1.3/oracle/db/apps_st/data/log01a.dbf', '/opt/R12.1.3/oracle/db/apps_st/data/log01b.dbf') SIZE 1048576000,
    GROUP 2 ('/opt/R12.1.3/oracle/db/apps_st/data/log02a.dbf', '/opt/R12.1.3/oracle/db/apps_st/data/log02b.dbf') SIZE 1048576000
    DATAFILE
    '/opt/R12.1.3/oracle/db/apps_st/data/system12.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system11.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system10.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system03.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system04.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system05.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system06.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system07.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system08.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system09.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system13.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/sysaux01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/sysaux02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/ctxd01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data04.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind06.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data05.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data06.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind07.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data07.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data03.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind03.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind04.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind05.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/owad01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_queue02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/odm.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/olap.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/apps_ts_tools01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_ref03.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_int02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_media02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/undo02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/sscards_01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/rman_01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_summ02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_summ03.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/portal01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/undo01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_ref01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_int01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_summ01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_nolog01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_archive01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_queue01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_media01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_ref02.dbf'
    RESETLOGS MAXDATAFILES 512
    MAXINSTANCES 8
    MAXLOGFILES 32
    MAXLOGHISTORY 14607
    MAXLOGMEMBERS 5
    alter database open resetlogs
    ORA-1194 signalled during: alter database open resetlogs...
    alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01.dbf' REUSE...
    alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02.dbf' REUSE...
    alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01A.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01A.dbf' REUSE...
    alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02A.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02A.dbf' REUSE...
    alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp03.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp03.dbf' REUSE...
    Wed Nov 14 20:44:52 2012
    Shutting down instance (abort)
    License high water mark = 1
    USER (ospid: 4918): terminating the instance
    Instance terminated by USER, pid = 4918
    Wed Nov 14 20:44:53 2012
    Instance shutdown complete
    Wed Nov 14 20:45:58 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /opt/R12.1.3/oracle/db/tech_st/11.1.0/dbs/arch
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =44
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 11.1.0.7.0.
    Using parameter settings in client-side pfile /opt/R12.1.3/oracle/db/tech_st/11.1.0/dbs/initTEST8002.ora on machine testing.fgho.com
    System parameters with non-default values:
    processes = 200
    sessions = 400
    timed_statistics = TRUE
    shared_pool_size = 400M
    shared_pool_reserved_size= 40M
    nls_language = "american"
    nls_territory = "america"
    nls_sort = "binary"
    nls_date_format = "DD-MON-RR"
    nls_numeric_characters = ".,"
    nls_comp = "binary"
    nls_length_semantics = "BYTE"
    sga_target = 1G
    control_files = "/opt/R12.1.3/oracle/db/apps_st/data/cntrl01.dbf"
    control_files = "/opt/R12.1.3/oracle/db/apps_st/data/cntrl02.dbf"
    control_files = "/opt/R12.1.3/oracle/db/apps_st/data/cntrl03.dbf"
    db_block_checksum = "TRUE"
    db_block_size = 8192
    compatible = "11.1.0"
    log_buffer = 10485760
    log_checkpoint_interval = 100000
    log_checkpoint_timeout = 1200
    db_files = 512
    log_checkpoints_to_alert = TRUE
    dml_locks = 10000
    undo_management = "AUTO"
    undo_tablespace = "APPS_UNDOTS1"
    db_block_checking = "FALSE"
    sec_case_sensitive_logon = FALSE
    session_cached_cursors = 500
    utl_file_dir = "/usr/tmp"
    utl_file_dir = "/usr/tmp"
    utl_file_dir = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/appsutil/outbound/TEST8002_testing"
    utl_file_dir = "/usr/tmp"
    plsql_native_library_dir = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/plsql/nativelib"
    plsql_native_library_subdir_count= 149
    plsql_code_type = "INTERPRETED"
    plsql_optimize_level = 2
    job_queue_processes = 2
    systemtrig_enabled = TRUE
    cursor_sharing = "EXACT"
    parallel_min_servers = 0
    parallel_max_servers = 8
    db_name = "TEST8002"
    open_cursors = 600
    ifile = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/dbs/TEST8002_testing_ifile.ora"
    sortelimination_cost_ratio= 5
    btree_bitmap_plans = FALSE
    fastfull_scan_enabled = FALSE
    query_rewrite_enabled = "true"
    indexjoin_enabled = FALSE
    sqlexecprogression_cost= 2147483647
    likewith_bind_as_equality= TRUE
    pga_aggregate_target = 1G
    workarea_size_policy = "AUTO"
    optimizerautostats_job = FALSE
    optimizer_secure_view_merging= FALSE
    aq_tm_processes = 1
    olap_page_pool_size = 4M
    diagnostic_dest = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/admin/TEST8002_testing"
    tracefiles_public = TRUE
    max_dump_file_size = "20480"
    Wed Nov 14 20:45:58 2012
    PMON started with pid=2, OS id=5067
    Wed Nov 14 20:45:58 2012
    VKTM started with pid=3, OS id=5069
    VKTM running at (100ms) precision
    Wed Nov 14 20:45:58 2012
    DIAG started with pid=4, OS id=5073
    Wed Nov 14 20:45:58 2012
    DBRM started with pid=5, OS id=5075
    Wed Nov 14 20:45:58 2012
    PSP0 started with pid=6, OS id=5077
    Wed Nov 14 20:45:58 2012
    DIA0 started with pid=7, OS id=5079
    Wed Nov 14 20:45:58 2012
    MMAN started with pid=8, OS id=5081
    Wed Nov 14 20:45:58 2012
    DBW0 started with pid=9, OS id=5083
    Wed Nov 14 20:45:58 2012
    DBW1 started with pid=10, OS id=5085
    Wed Nov 14 20:45:58 2012
    LGWR started with pid=11, OS id=5087
    Wed Nov 14 20:45:58 2012
    CKPT started with pid=12, OS id=5089
    Wed Nov 14 20:45:58 2012
    SMON started with pid=13, OS id=5091
    Wed Nov 14 20:45:58 2012
    RECO started with pid=14, OS id=5093
    Wed Nov 14 20:45:58 2012
    MMON started with pid=15, OS id=5095
    Wed Nov 14 20:45:58 2012
    MMNL started with pid=16, OS id=5097
    ORACLE_BASE not set in environment. It is recommended
    that ORACLE_BASE be set in the environment
    Wed Nov 14 20:45:58 2012
    ALTER DATABASE MOUNT
    Set as converted control file due to db_unique_name mismatch
    Changing di2dbun from to TEST8002
    Setting recovery target incarnation to 1
    Successful mount of redo thread 1, with mount id 3760563974
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    Wed Nov 14 20:46:02 2012
    ALTER DATABASE OPEN
    ORA-1589 signalled during: ALTER DATABASE OPEN...
    Wed Nov 14 20:46:47 2012
    alter database open resetlogs
    ORA-1194 signalled during: alter database open resetlogs...
    Wed Nov 14 20:47:11 2012
    ALTER DATABASE RECOVER database until cancel using backup controlfile
    Media Recovery Start
    Fast Parallel Media Recovery enabled
    Errors in file /opt/R12.1.3/oracle/db/tech_st/11.1.0/admin/TEST8002_testing/diag/rdbms/test8002/TEST8002/trace/TEST8002_ora_5127.trc (incident=6537):
    ORA-00600: internal error code, arguments: [kcvhvdf_1], [], [], [], [], [], [], [], [], [], [], []
    Incident details in: /opt/R12.1.3/oracle/db/tech_st/11.1.0/admin/TEST8002_testing/diag/rdbms/test8002/TEST8002/incident/incdir_6537/TEST8002_ora_5127_i65 37.trc
    Media Recovery failed with error 600
    ORA-283 signalled during: ALTER DATABASE RECOVER database until cancel using backup controlfile ...
    Wed Nov 14 20:47:13 2012
    Trace dumping is performing id=[cdmp_20121114204713]
    Wed Nov 14 20:47:13 2012
    Sweep Incident[6537]: completed

  • Error in Recover Database -  ORA-01547 , ORA-01194 and ORA-01110

    Hello folks,
    I am facing a problem when recovering a database..
    I made each tablespace in backup mode, then copied the datafile. I revert back the tablespace status to normal status.Once all datafiles are copied to target location, i created the control file from the source db.
    I started the target db by
    sqlplus "/ as sysdba"
    then i executed the control file
    SQL>@ctrlfile.sql
    Control file got created.
    SQL>recover database until cancel using backup controlfile;
    it asked for archives. I gave the path one by one until everything was done.Now i gave 'cancel' as below.
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 377 needs more recovery to be consistent
    ORA-01110: data file 377: '<path>/xxfndx01.dbf'
    ORA-01112: media recovery not started
    Could anyone please tell me where I went wrong and how can I move ahead from this stage???
    Later on, when I gave open resetlogs, it gave the same error(as below)
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 377 needs more recovery to be consistent
    ORA-01110: data file 377: '<path>/xxfndx01.dbf'
    Please let me know the mistake I made, how to avoid that and how to proceed now ???
    Thanks,
    Cherrish Vaidiyan
    [email protected]

    Hello Cherrish,
    A very good question you have asked. I hope you realize that you're doing an incomplete recovery. There is some amount of information that is still there in the online redo-log, that would not be applied on your target db. Moreover when you're using backup controlfile, you do not know till which point you need to apply archive logs.
    For incomplete recovery, Oracle for some reason has been very strict about the recover database command. i.e.
    recover database using backup controlfile
    recover database using backup controlfile until cancel
    Is not same. It also applies to the command that you had given. By giving the command 'recover database using backup controlfile until cancel', you're telling Oracle that incomplete recovery is in process, and you would do resetelogs, to make sure all files are in sync. This is required when you have lost the redo-logs
    In case you have just lost the control file. All latest redo-logs, archive-logs and datafiles are okay (or have been restored), then recover database using backup controlfile; would work perfectly okay. and resetlogs would not be required.. and that would be a complete recovery
    I hope this all makes sense to you
    Regards
    Sudhanshu

  • [HELP]Recover database from NOarchivelog

    HAi all...
    I run oracle 9.2.0.4 on linux, NOARCHIVELOG
    I got this error when I tried to restore from my backup with create new control file.
    SQL> Alter database open resetlogs
    ORA-01113: file 1 need media recovery
    ORA-01110: datafile 1: '/home/oracle/OraHome1/oradata/Mir/system01.dbf'
    SQL> recover database;
    ORA-00283: recovery session canceled due to error
    ORA-01610: recovery using backup controlfile options must be done
    SQL> recover database until cancel using backup controlfile;
    ORA-00279: change 136236075 generated at 06/14/2006 19:23.03 need for thread 1
    ORA-00289: suggestion: /home/oracle/Orahome1/dbs/arch_1053.dbf
    ORA-00280: change 136236075 for thread 1 is in sequence #1053
    specify log:
    AUTO
    ORA-00308: cannot open archived log '/home/oracle/OraHome1/dbs/arch1_1053.dbf'
    ORA-27037: unable to obtain file status
    Linux error; 2 : no such file or directory
    ORA-01547: warning recover secceeded but open resetlogs would get error below
    ORA-01194: file 1 need more recovery to be consistent
    ORA-01110: data file 1; '/home/oracle/OraHome1/oradata/Mir/system01.dbf'
    How I solve this?
    Why the oracle ask me archivelog log file...? I'm using noarchivelog mode?
    Regard
    ER

    I got this error when I tried to restore from my backup with create new control file.Are you sure your backup is consistent cold backup.
    Cause: An incomplete recovery session was started, but an insufficient number of logs were applied to make the file consistent. The reported file was not closed cleanly when it was last opened by the database. It must be recovered to a time when it was not being updated. The most likely cause of this error is forgetting to restore the file from a backup before doing incomplete recovery.
    Action: Either apply more logs until the file is consistent or restore the file from an older backup and repeat recovery.

  • Doubt in Recover database until cancel

    Hi experts,
    One query, I want to try out recover database until cancel. But my archivelog files are in tape drive. How do i do it as it ask for archiver destination directory for the archivelog file.
    Or can any please explain how should i do it.
    Thanks in advance
    shaan

    Hi Satist,
    when i apply the other archivelog file, it again shows the error
    SQL> recover database until cancel using backup controlfile;
    ORA-00279: change 1740044 generated at 06/18/2007 21:20:18 needed for thread 1
    ORA-00289: suggestion : /oracle/NEWDB/admin/arch/1_5.dbf
    ORA-00280: change 1740044 for thread 1 is in sequence #5
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /oracle/NEWDB/admin/arch/1_30.dbf
    ORA-00310: archived log contains sequence 30; sequence 5 required
    ORA-00334: archived log: '/oracle/NEWDB/admin/arch/1_30.dbf'
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/NEWDB/oradata/NEWDB/system.dbf'
    Please tell me why this happening or any solution for this. Moreover i have archivelog file
    from 1_1 to 1_14 .
    Thanks in advance
    shaan

  • Recover database cancel using controlfile

    Hi,
    I want to know what means and what will do this command
    RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE
    and what means the option
    Specify log: {=suggested | filename | AUTO | CANCEL}
    thanks for you help

    I want to know what means and what will do this command
    RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE
    and what means the option
    Specify log: {=suggested | filename | AUTO | CANCEL}You can perform recovery by providing logs how you wish.
    suggested - you can give enter, so that which thread & Sequence it wants it will apply one archive.
    filename - if you want to mention filename(in case actual file name is different) ,ofcourse you can give one by one up to what archives you want to apply
    Auto - If you want to perform recovery with all the available archvies, you can prefer option too
    Cancel - if you apply any of the archives, when you want to cancel, If you perform this recovery will be cancelled.
    Also read documentation from Oracle http://docs.oracle.com/cd/B12037_01/server.101/b10734/rcmrecov.htm
    Edited by: CKPT on Jun 4, 2012 10:38 AM

Maybe you are looking for

  • Get All Element Values in Assign Activity

    Given the below XML, how can I get both values with a single statement? I tried /root/set/name/. with no luck. I would like to assign John Jane to a variable in a BPEL Assign Activity.   <root>     <set>      <name>John</name>     </set>     <set>   

  • An 02 customer in the UK-trying to upgrade my Iphone 3G to an Iphone 3G S

    Hi, I am an O2 customer in the UK and I am on pay as you go and I payed full price for an Iphone 3G. I was wondering if O2 or Apple would offer a sort of trade in where you can trade in your Iphone 3G for an Iphone 3G S and just pay a bit extra for i

  • Code formation

    Hi Eswar, could anyone check my code below and suggest the changes for it interms of performance wise and also the pattern of writting the code. i want to cross check my code before i go for testing thanks in adance. form checkdata. data: wrecord typ

  • I cant turn on the computer

    The computer froze during an ichat. We shut down thew computer and now it will not power up again. The charging light is on when plugged in. Ideas? 

  • Ilash and Directory Server Resource Kit 5.2

    I can't seem to find the 'ilash: the LDAP Administrative Shell' utility within the latest download of the Directory Resource Kit 5.2... http://docs.sun.com/app/docs/doc/816-6400-10/ http://docs.sun.com/app/docs/doc/816-6400-10/ilash.html Has it been