Error to restoring database through rman

Hi all,
I am trying to restore database through rman its showing error. The error is
RMAN> recover database;
Starting recover at 13-APR-09
using channel ORA_DISK_1
starting media recovery
unable to find archive log
archive log thread=1 sequence=5
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/13/2009 13:00:44
RMAN-06054: media recovery requesting unknown log: thread 1 seq 5 lowscn 543566
Please let me know how to resolved this error;
Thanks in advance
Noman

There's no "full or partial" recovery in Oracle.
There are :
1. Database Recovery and Tablespace Point In Time Recovery (aka TSPITR)
In the former case, it is the database that is recovered.
In TSPITR, a Tablespace is recovered to an (older) point in time, different from the rest of the database. Since a database must be consistent, a TSPITR is done by using an Auxiliary Instance -- only SYSTEM, UNDO and the required Tablespace are recovered to their own consistent point in time and then the Tablespace data is copied and and plugged back into the Target Database.
2. Complete Recovery and Incomplete Recovery
Complete Recovery is right upto the current point in time -- ie upto the last transaction in the online redo logs.
Incomplete Recovery is upto any point of before the current online redo log (a Timestamp, SCN or LogSequenceNumber) .
The scenario we are talking of is an Incomplete Recovery -- because we do not have the Online Redo Logs.

Similar Messages

  • Control File error while duplicating Database through Rman

    Hi,
    Oracle Ver: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    Os:Win Xp
    I am trying to create a Standby through Rman....
    I am using this Run Block to take backup of Primary Database.......
    run {
    allocate channel d1 type disk;
    allocate channel d2 type disk;
    setlimit channel d1 kbytes 2097150;
    setlimit channel d2 kbytes 2097150;
    backup incremental level 0 format 'e:\Oracle\standby\rman\df_%U' database
    include current controlfile for standby;
    sql "alter system archive log current";
    backup
    archivelog all format 'e:\Oracle\standby\rman\al_%U' delete input;
    }After taking the Backup when I am trying to create the standby with Duplicate command it s giving me Error...
    The Run Block I am using is ......
    RMAN> run {
    2> allocate auxiliary channel dup1 type disk;
    3> allocate auxiliary channel dup2 type disk;
    4> set newname for datafile 1 to 'E:\Oracle\standby\system01.dbf';
    5> set newname for datafile 2 to 'E:\Oracle\standby\UNDOTBS01.DBF';
    6> set newname for datafile 3 to 'E:\Oracle\standby\SYSAUX01.DBF';
    7> set newname for datafile 4 to 'E:\Oracle\standby\USERS01.DBF';
    8> duplicate target database for standby
    9> dorecover;
    10> }
    allocated channel: dup1
    channel dup1: sid=37 devtype=DISK
    allocated channel: dup2
    channel dup2: sid=36 devtype=DISK
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting Duplicate Db at 02-OCT-08
    contents of Memory Script:
       set until scn  1105194;
       restore clone standby controlfile;
       sql clone 'alter database mount standby database';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 02-OCT-08
    channel dup1: starting datafile backupset restore
    channel dup1: restoring control file
    channel dup1: reading from backup piece E:\ORACLE\STANDBY\RMAN\DF_0VJS4RS7_1_1
    channel dup1: restored backup piece 1
    piece handle=E:\ORACLE\STANDBY\RMAN\DF_0VJS4RS7_1_1 tag=TAG20081002T124502
    channel dup1: restore complete, elapsed time: 00:00:01
    output filename=D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\CTL1STANDBY.ORA
    Finished restore at 02-OCT-08
    sql statement: alter database mount standby database
    released channel: dup1
    released channel: dup2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/02/2008 13:01:43
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of sql command on clone_default channel at 10/02/2008 13:01:43
    RMAN-11003: failure during parse/execution of SQL statement: alter database mount standby database
    *ORA-00201: control file version 10.2.0.1.0 incompatible with ORACLE version 10.2.0.0.0*
    ORA-00202: control file: 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\CTL1STANDBY.ORA'Why i am getting this Incomaptable Control File error inspite of Backing up the control File.....
    Regards,
    Prosenjit Mukherjee

    Check the value for the parameter "COMPATIBLE" in the source and standby database instance parameter files.
    "COMPATIBLE" should be the same.
    See http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i70517
    "... ensure the COMPATIBLE initialization parameter is set to the same value on both the primary and standby databases"
    Edited by: Hemant K Chitale on Oct 2, 2008 4:09 PM
    Added link and quote from 10g doc

  • ORA-01180 and ORA-01110 error when restoring database by RMAN in 11.1.0.6.0

    I have a new installed database running in ARCIHVELOG mode on SUSE 10SP3. Catalog is not used. When I try to restore the database from a level 0 backup based on SCN, ORA-01180 and ORA-01110 were raised out today. Please help me through this. Thx. The senario follows:
    1. I got the current SCN by "select dbms_flashback.get_system_change_number from dual". Say it's 12345;
    2. I did a level 0 hot backup with current control file, archived logs and parameter files. Everything went well;
    3. Some other DMLs are applied to the database;
    4. I want to do a SCN-based incomplete recovery for this database to SCN 12345. Then I
    1) shutdown immediate;
    2) startup nomount;
    3) restore the control file from backupset;
    5) startup mount;
    6) catalog start with "[backupset path]";
    7) restore database until scn 12345.
    Just at step 4.7, ORA-01180 and ORA-01110 were raised out, saying cannot create data file 1. Note: Backup files are existing and file permissions are all OK.
    Then I issues "list incarnation of database". There is just one record with incarnation id 1.
    So I queried v$log_history, found serveral record there. The most recent one has NEXT_SCN later than 12345, say 12400. Then I tried to restore database until this SCN. It WORKED! The restore and recovery succeeded.
    My questions are:
    1. Why cannot I restore the database to a previous SCN, say 12345, but 12400 is OK?.
    2. If the database was RESETLOG prior to my recovery, should I reset database to the incarnation where I took my backup? What can I do if there is no that incarnation information in my control file?
    Waiting for your suggestion.

    Hi guys. There is one update.
    This issue is caused by the incorrect SCN vs. backup set. I got this SCN before the backup started. According to Oracle docs, it's not allowed for an SCN based recovery.
    Now, I changed the sequence of my operations, so that SCN is got once backup is done, which is exact the "most recent sequence# and least SCN" mentioned by some thread in this forum. It works now.
    Anyone could explain why the SCN got prior to the level 0 backup is not recognized by restore/recovery phase? Thanks.

  • ORA-27067 Error while restoring database using RMAN

    Hi All,
    I am trying to restore the backups from my production database to an other server. I was able to restore the spfile and control files but at the step where I restore the datafiles I get the following error:
    RMAN-03002: failure of restore command at 11/03/2008 14:28:16
    ORA-19587: error occurred reading 0 bytes at block number 1
    ORA-27091: skgfqio: unable to queue I/O
    ORA-27067: skgfdisp: size of buffer is invalid
    The OS and the Oracle version on the source server (on which the backups were taken) and the target server (the backups being restored to) are the same. They both are running SUNOS 5.9 and Oracle 9.2. I
    Below are what were reported in the trace files:
    Unix process pid: 12359, image: oracle@ (TNS V1-V3)
    *** SESSION ID:(13.1) 2008-11-03 15:23:26.265
    *** 2008-11-03 15:23:26.275
    corrupt block 1 found during reading backup piece,file=/xxx/xxx/36jucqpe_1_1.bak, corr_type=1
    dump corrupted block
    2F11600 00020000 00000001 00000000 00000101 [................]
    2F11610 00000000 00000000 00000000 00000000 [................]
    Repeat 6 times
    *** 2008-11-03 16:19:29.778
    corrupt block 1 found during reading backup piece,file=/xxx/xxx/36jucqpe_1_1.bak, corr_type=1
    dump corrupted block
    3211C00 00020000 00000001 00000000 00000101 [................]
    3211C10 00000000 00000000 00000000 00000000 [................]
    Repeat 6 times
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 14
    Unix process pid: 12194, image: oracle@ (TNS V1-V3)
    *** SESSION ID:(11.3) 2008-11-03 14:09:42.986
    (blkno = 0x88, size = 276, max = 1, in-use = 1, last-recid= 0)
    (blkno = 0x89, size = 56, max = 145, in-use = 1, last-recid= 1)
    *** 2008-11-03 15:16:40.960
    *** SESSION ID:(13.1) 2008-11-03 15:16:40.951
    =====================
    PARSING IN CURSOR #2 len=68 dep=0 uid=0 oct=42 lid=0 tim=172140509128 hv=287842151 ad='35cd9364'
    alter session set events '10046 trace name context forever, level 8'
    END OF STMT
    EXEC #2:c=0,e=250,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=4,tim=172140509103
    WAIT #2: nam='SQL*Net message to client' ela= 8 p1=1650815232 p2=1 p3=0
    *** 2008-11-03 15:17:18.666
    WAIT #2: nam='SQL*Net message from client' ela= 36822299 p1=1650815232 p2=1 p3=0
    =====================
    PARSE ERROR #2:len=50 dep=0 uid=0 oct=3 lid=0 tim=172177341974 err=1219
    select /*+ FULL(t) */ count(*) from sys.source$ t
    WAIT #2: nam='SQL*Net break/reset to client' ela= 61 p1=1650815232 p2=1 p3=0
    WAIT #2: nam='SQL*Net break/reset to client' ela= 279 p1=1650815232 p2=0 p3=0
    WAIT #2: nam='SQL*Net message to client' ela= 5 p1=1650815232 p2=1 p3=0
    Unix process pid: 12156, image: oracle@ (TNS V1-V3)
    *** SESSION ID:(11.3) 2008-11-03 14:09:08.687
    Archiving is disabled
    Archiving is disabled
    Can anyone help me resolve this error?
    Thanks,
    Ashok

    Hi,
    We finally got this issue resolved. I think the error was because the source database server was running 64 bit Oracle 9.2.0 and we installed a 32 bit Oracle 9.2.0 database on the target server. We then did a fresh install of 64 bit Oracle 9.2.0 database on the target server and the restoration worked. Also, after copying all the backup files to the target DB server, change the access rights of all those files and the folder containing them to 777.
    Thanks,
    Ashok

  • Error while creating Auxiliary database through RMAN on the same host.

    I got the following error while cloning a stand by database through RMAN.
    I got the following error while cloning a stand by database through RMAN.
    [oracle@localhost admin]$ rman auxiliary sys/clonedb@clonedb
    Recovery Manager: Release 11.1.0.6.0 - Production on Mon Sep 19 10:51:48 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04006: error from auxiliary database: ORA-12154: TNS:could not resolve the connect identifier specified
    My LISTENER looks like this:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
    (SID_NAME = ora11g)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
    (SID_NAME = CLONEDB)
    TNS Names:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    CLONEDB=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CLONEDB)
    And SQLNet.ora
    NAMES.DIRECTORY_PATH= (TNSNAMES,HOSTNAME, EZCONNECT)
    Any help would be highly appreciated.
    Thanks,
    -Revku.

    Hello,
    I think there is something wrong with the ")" in the listener.ora : the second SID_DESC is not part of the SID_LIST.
    Instead of
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
    (SID_NAME = ora11g)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
    (SID_NAME = CLONEDB)
    )It should be :
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
    (SID_NAME = ora11g)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
    (SID_NAME = CLONEDB)
    )Hope it will help.
    Regards,
    Sylvie

  • File name in msdb.dbo.backupset no longer matches the actual file name on the storage media. Error 3013 Restore Database is terminating abnormally.

    Thanks in advance for taking the time to read this and comment. Platform: Windows Server 2008 R2 Enterprise Edition SP1 (X64) Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation
     Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)Problem Description: The file name recorded in the msdb.dbo.backupset (sans the extension) no longer matches the actual file name written to the backup media which is
    in this case a NETAPP NAS storage share. Example:
    Mohave_backup_2014_03_14_233001_1158878.bak      (from NETAPP NAS filer)
    Mohave_backup_2014_03_16_233001_4167237             (from MSDB.dbo.backupset), as you can see, the last 7 digits (chars) of the file name are different, although the date and time are identical. The
    file names had previously been matching perfectly. The first occurance of this problem occured on 03/13/2014 at 5:00 AM MST. The error generated by the job was:
    Date  3/14/2014 10:29:23 AM
    Log  Job History (Refresh - Restore Mohave_93_DEV AD HOC)
    Step ID  1
    Server  OurDevServer
    Job Name  Refresh - Restore Mohave_93_DEV AD HOC
    Step Name  Restore Mohave_93_DEV
    Duration  00:00:01
    Sql Severity  0
    Sql Message ID  50000
    Operator Emailed  
    Operator Net sent  
    Operator Paged  
    Retries Attempted  0
    Message
    Executed as user: OurDomain\OurNetworkServiceLogin. Restore Mohave Prod to Mohave_93_DEV - ERROR: 3013 RESTORE DATABASE is terminating abnormally. [SQLSTATE 01000] (Message 50000).  The step succeeded.

    Olaf:
    Thanks for your reply. Sorry, my bad. I inadvertently copied wrong [name] form the msdb.dbo.backupset. On 3/13 and 3/14, the two file names did not match. In trying to select another example to show you this morning, I found that the names are now matching!
    What I was doing was to create dynamic t-sql to retrieve the latest prod backup of the database, and then restore it with move to the development server. This is an ad-hoc job that the developers can run by themselves whenever they require a refresh. Unfortunately,
    we only keep 3 days worth of backups for these databases, so the original disk file I was trying to use to restore no longer exists. Researching the original error, one of the error descriptions was that the restore could not find the file requested.
    I thought this very strange since I get the file name directly from the backupset table. Further research did indeed show that the file names were different, but unfortunately, I failed to save the details of the file names. Anyway, in looking for a new example
    to show you this morning, I have found that the file names are indeed matching exactly again. If this error pops up again, I will be sure to save all details and re-post.
    Thanks, regards and best wishes to you and yours, 

  • Error During restoring a database through RMAN in Oracle 9i

    Hi all,
    I have taken a full backup in oracle 9i through RMAN in one server(Solaris).
    After that moved that backupset to another server. Server Locations are same. I need to restore the backup in the new server.
    I am using pfile.
    Steps I followed:
    1. Using pfile i have started the db in nomount.
    2. Then restored the controlfile from backup and mounted the database.
    3. then tried to restore the database - I have to restore three of my datafiles to different location, hence i used "set new name "
    But RMAN threw an error while restoring.
    RMAN-00558:
    RMAN-01009:
    File not found.
    Can anyone help to resolve this error.
    Thanks in Advance.

    Hi,
    Thanks, but I took the backup of the database using the command:
    backup database;Only this command i issued.
    In the new server, I tried to list the backup using list backup command by putting the db in mount stage.
    I m not able to view the backup information.
    Is there any command to register the backup information using the catalog?
    -

  • Getting Error 'errors found reading piece handle' when restore database in rman

    Hi Guru's,
    i'm using oracle 11g and 12.1.3 EBS. i need to refresh the test instance using production rman backup. i set all the datafile path and when i restore the database, all the datafiles are restored but end of that it shows some error (backup piece referring production path). please advise. Thanks
    i'm using following comands
    catalog backuppiece '/PROAPP1/20130623/PROD_DB_okocs65n_33556_1';
    run
    set newname for datafile '/PRODB01/oraprod/db/apps_st/data/system01.dbf' to '/PROAPP2/HYDUAT/db/apps_st/data/system01.dbf' ;
    set newname for datafile  '/PRODB01/oraprod/db/apps_st/data/system02.dbf' to  '/PROAPP2/HYDUAT/db/apps_st/data/system02.dbf';
    restore database;
    following are the output
    channel ORA_DISK_4: restoring datafile 00403 to /PROAPP2/HYDUAT/db/apps_st/data/a_txn_ind02.dbf
    channel ORA_DISK_4: restoring datafile 00406 to /PROAPP2/HYDUAT/db/apps_st/data/a_txn_ind05.dbf
    channel ORA_DISK_4: reading from backup piece /backup/DB/rman/20130623/PROD_DB_omocs65n_33558_1
    channel ORA_DISK_2: errors found reading piece handle=/backup/DB/rman/20130623/PROD_DB_okocs65n_33556_1
    channel ORA_DISK_2: failover to piece handle=/PROAPP1/20130623/PROD_DB_okocs65n_33556_1 tag=TAG20130623T000509
    channel ORA_DISK_2: restored backup piece 1
    channel ORA_DISK_2: restore complete, elapsed time: 01:05:05
    channel ORA_DISK_4: errors found reading piece handle=/backup/DB/rman/20130623/PROD_DB_omocs65n_33558_1
    channel ORA_DISK_4: failover to piece handle=/PROAPP1/20130623/PROD_DB_omocs65n_33558_1 tag=TAG20130623T000509
    channel ORA_DISK_4: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 01:13:38
    Finished restore at 28-JUN-13

    >channel ORA_DISK_2: errors found reading piece handle=/backup/DB/rman/20130623/PROD_DB_okocs65n_33556_1
    >channel ORA_DISK_2: failover to piece handle=/PROAPP1/20130623/PROD_DB_okocs65n_33556_1 tag=TAG20130623T000509
    Oracle will try the original expected backup location and then failover to the new (cataloged) location.  To prevent it from trying the original location that is unavailable, you should also CROSSCHECK BACKUP ALL (and optionally DELETE EXPIRED BACKUP ALL) so that it would mark the original location (/backup/DB/rman/20130623...)  as unavailable and not try it at all.
    Hemant K Chitale

  • Error while taking backup  through RMAN in 10g XE

    While taking backup through RMAN in XE instance , an error comes out.
    The contents of oxe_backup_current file is as below :
    XE Backup Log
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 6 15:49:51 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database: XE (DBID=2635631092)
    RMAN>
    echo set on
    RMAN> shutdown immediate;
    using target database control file instead of recovery catalog
    database closed
    database dismounted
    Oracle instance shut down
    RMAN> startup mount;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area     805306368 bytes
    Fixed Size                     1261444 bytes
    Variable Size                209715324 bytes
    Database Buffers             591396864 bytes
    Redo Buffers                   2932736 bytes
    RMAN> configure retention policy to redundancy 2;
    old RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    new RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    new RMAN configuration parameters are successfully stored
    RMAN> configure controlfile autobackup format for device type disk clear;
    RMAN configuration parameters are successfully reset to default value
    RMAN> configure controlfile autobackup on;
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters are successfully stored
    RMAN> sql "create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile";
    *sql statement: create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile*
    *RMAN-00571: ===========================================================*
    *RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============*
    *RMAN-00571: ===========================================================*
    *RMAN-03009: failure of sql command on default channel at 07/06/2011 15:50:57*
    *RMAN-11003: failure during parse/execution of SQL statement: create pfile='/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora' from spfile*
    *ORA-27086: unable to lock file - already in use*
    *Linux Error: 11: Resource temporarily unavailable*
    Additional information: 8
    Additional information: 16476
    RMAN> backup as backupset device type disk database;
    Starting backup at 06-JUL-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=102 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00003 name=/usr/lib/oracle/xe/oradata/XE/sysaux.dbf
    input datafile fno=00005 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_log01.dbf
    input datafile fno=00006 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_lrg01.dbf
    input datafile fno=00001 name=/usr/lib/oracle/xe/oradata/XE/system.dbf
    input datafile fno=00009 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_log01.dbf
    input datafile fno=00010 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_lrg01.dbf
    input datafile fno=00002 name=/usr/lib/oracle/xe/oradata/XE/undo.dbf
    input datafile fno=00004 name=/usr/lib/oracle/xe/oradata/XE/users.dbf
    input datafile fno=00008 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_sml01.dbf
    input datafile fno=00012 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_sml01.dbf
    input datafile fno=00011 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_mdm01.dbf
    input datafile fno=00007 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_mdm01.dbf
    channel ORA_DISK_1: starting piece 1 at 06-JUL-11
    channel ORA_DISK_1: finished piece 1 at 06-JUL-11
    piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T155057_718dw649_.bkp tag=TAG20110706T155057 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
    Finished backup at 06-JUL-11
    Starting Control File and SPFILE Autobackup at 06-JUL-11
    piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755797849_718dwofy_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 06-JUL-11
    RMAN> configure controlfile autobackup off;
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters are successfully stored
    RMAN> alter database open;
    database opened
    RMAN> delete noprompt obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           3      06-JUL-11        
      Backup Piece       3      06-JUL-11          /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T133443_7184wr4d_.bkp
    Backup Set           4      06-JUL-11        
      Backup Piece       4      06-JUL-11          /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755789675_7184x7fp_.bkp
    deleted backup piece
    backup piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T133443_7184wr4d_.bkp recid=3 stamp=755789684
    deleted backup piece
    backup piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755789675_7184x7fp_.bkp recid=4 stamp=755789699
    Deleted 2 objects
    RMAN>
    Recovery Manager complete.
    RMAN error: See log for details.

    I think it is trying to overwrite exiting file. Either give a different name or cleanup the files in preferred location.

  • Control file failed error while duplicating database using RMAN

    I am using oracle database 10g R2 and trying to make a clone of the source database orcl on the same machine but with different directory structure with the name of test.
    When i run the duplicate command to create test database, then following error is generted:
    D:\>rman target sys@orcl nocatalog auxiliary /
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Nov 11 12:13:26 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    target database Password:
    connected to target database: ORCL (DBID=1264668332)
    using target database control file instead of recovery catalog
    connected to auxiliary database: TEST (not mounted)
    RMAN> @script.txt
    RMAN> Run {
    2> Allocate channel C1 type disk;
    3> allocate auxiliary channel 'adisk_0' type DISK;
    4> duplicate target database to "test";
    5> #BACKUP INCREMENTAL LEVEL 1 DATABASE;
    6> #BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;
    7> #BACKUP INCREMENTAL LEVEL 0 DATABASE;
    8> #delete obsolete;
    9> }
    allocated channel: C1
    channel C1: sid=140 devtype=DISK
    allocated channel: adisk_0
    channel adisk_0: sid=157 devtype=DISK
    Starting Duplicate Db at 11-NOV-11
    contents of Memory Script:
       set until scn  12926250;
       set newname for datafile  1 to
    "D:\TEST\ORADATA\SYSTEM01.DBF";
       set newname for datafile  2 to
    "D:\TEST\ORADATA\UNDOTBS01.DBF";
       set newname for datafile  3 to
    "D:\TEST\ORADATA\SYSAUX01.DBF";
       set newname for datafile  4 to
    "D:\TEST\ORADATA\USERS01.DBF";
       set newname for datafile  5 to
    "D:\TEST\ORADATA\EXAMPLE01.DBF";
       set newname for datafile  6 to
    "D:\TEST\ORADATA\GL.DBF";
       restore
       check readonly
       clone database
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 11-NOV-11
    channel adisk_0: starting datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\TEST\ORADATA\SYSTEM01.DBF
    restoring datafile 00002 to D:\TEST\ORADATA\UNDOTBS01.DBF
    restoring datafile 00003 to D:\TEST\ORADATA\SYSAUX01.DBF
    restoring datafile 00004 to D:\TEST\ORADATA\USERS01.DBF
    restoring datafile 00005 to D:\TEST\ORADATA\EXAMPLE01.DBF
    restoring datafile 00006 to D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ44MH4_.BKP tag=TAG20111107T220
    channel adisk_0: restore complete, elapsed time: 00:01:46
    Finished restore at 11-NOV-11
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
    LOGFILE
      GROUP  1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M  REUSE,
      GROUP  2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M  REUSE,
      GROUP  3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M  REUSE
    DATAFILE
      'D:\TEST\ORADATA\SYSTEM01.DBF'
    CHARACTER SET WE8MSWIN1252
    contents of Memory Script:
       switch clone datafile all;
    executing Memory Script
    datafile 2 switched to datafile copy
    input datafile copy recid=1 stamp=766930525 filename=D:\TEST\ORADATA\UNDOTBS01.DBF
    datafile 3 switched to datafile copy
    input datafile copy recid=2 stamp=766930525 filename=D:\TEST\ORADATA\SYSAUX01.DBF
    datafile 4 switched to datafile copy
    input datafile copy recid=3 stamp=766930526 filename=D:\TEST\ORADATA\USERS01.DBF
    datafile 5 switched to datafile copy
    input datafile copy recid=4 stamp=766930526 filename=D:\TEST\ORADATA\EXAMPLE01.DBF
    datafile 6 switched to datafile copy
    input datafile copy recid=5 stamp=766930526 filename=D:\TEST\ORADATA\GL.DBF
    contents of Memory Script:
       set until scn  12926250;
       recover
       clone database
        delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 11-NOV-11
    channel adisk_0: starting incremental datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
    destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
    destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
    destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
    destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
    destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7CO
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7COGJZVT_.BKP tag=TAG20111109T223
    channel adisk_0: restore complete, elapsed time: 00:00:07
    channel adisk_0: starting incremental datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
    destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
    destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
    destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
    destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
    destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR1MQFO_.BKP tag=TAG20111110T221
    channel adisk_0: restore complete, elapsed time: 00:00:16
    starting media recovery
    archive log thread 1 sequence 524 is already on disk as file D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CS
    C
    archive log filename=D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CSG2HVT_.ARC thread=1 sequence=524
    media recovery complete, elapsed time: 00:00:14
    Finished recover at 11-NOV-11
    contents of Memory Script:
       shutdown clone;
       startup clone nomount ;
    executing Memory Script
    database dismounted
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area     230686720 bytes
    Fixed Size                     1248236 bytes
    Variable Size                 67109908 bytes
    Database Buffers             155189248 bytes
    Redo Buffers                   7139328 bytes
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
    LOGFILE
      GROUP  1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M  REUSE,
      GROUP  2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M  REUSE,
      GROUP  3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M  REUSE
    DATAFILE
      'D:\TEST\ORADATA\SYSTEM01.DBF'
    CHARACTER SET WE8MSWIN1252
    released channel: C1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 11/11/2011 12:16:21
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01504: database name 'TEST' does not match parameter db_name 'orcl'
    RMAN> **end-of-file**
    Script.txt
    Run {
    Allocate channel C1 type disk;
    allocate auxiliary channel 'adisk_0' type DISK;
    duplicate target database to "test";
    }Kindly help?

    Moazzam wrote:
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01504: database name 'TEST' does not match parameter db_name 'orcl'
    Kindly help?>Please check what is the value of parameter db_name in the standby database? It should be match with TEST name
    Cheers

  • Error during Restore Database

    Hello everyone!
    First of all, i'm sorry for posting another restore problem, but i read all threads related and i still have my problem.
    I have a fresh new install of oracleXE, but when i try to restore de database from a backup store in other disk install in the same computer, using the restore database option include with the application, the program show me these steps:
    STEP 1:
    This operation will shut down and restore the database. Are you sure [Y/N]?
    I write 'Y'.
    STEP 2:
    This operation will shut down and restore the database. Are you sure [Y/N]?y
    Restore in progress...
    El servicio solicitado ya ha sido iniciado.
    Puede obtener más ayuda con el comando NET HELPMSG 2182.
    Recovery Manager : Release 10.2.0.1.0 - Production on Vie Ago 31 10:20:45 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    conectado a la base de datos destino: XE (DBID=2513092923)
    RMAN> set echo on;
    2> startup nomount pfile=C:\DOCUME~1\imgltda\CONFIG~1\Temp\rman_dummy.ora force;
    3>
    echo activado
    instancia Oracle iniciada
    Total del ┴rea Global del Sistema 285212672 bytes
    Fixed Size 1287016 bytes
    Variable Size 92277912 bytes
    Database Buffers 188743680 bytes
    Redo Buffers 2904064 bytes
    Recovery Manager terminado.
    Enter the flash recovery area location:
    I write this in my flash recovery area, where i have the backup files: D:\Respaldo.
    In this path i have de following folders: D:\Respaldo\XE; Inside this folder i have other folders: ARCHIVELOG, AUTOBACKUP, BACKUPSET, ONLINELOG.
    STEP 3 This is my problem:
    MAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: fallo del comando startup en 08/31/2007 10:24:10
    RMAN-04014: fallo al iniciar: ORA-01261: Parameter db_recovery_file_dest destina
    tion string cannot be translated
    ORA-01263: Name given for file destination directory is invalid
    OSD-04018: No se ha podido acceder al directorio o dispositivo especificado.
    O/S-Error: (OS 21) El dispositivo no est┐ listo.
    Recovery Manager terminado.
    ==================== ERROR =============================
    Restore of the database failed.
    RMAN Error - See log for error .
    Log file is at C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\OX
    E_RESTORE.LOG.
    ==================== ERROR =============================
    Presione una tecla para continuar . . .
    The OXE_RESTORE file show me this:
    Recovery Manager : Release 10.2.0.1.0 - Production on Vie Ago 31 10:23:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows XP Version V5.1 Service Pack 2
    CPU : 2 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:1652M/2021M, Ph+PgF:3435M/3914M, VA:2003M/2047M
    Starting with debugging turned off
    conectado a la base de datos destino: xe (no montada)
    RMAN> set echo on;
    2> restore (spfile from autobackup db_recovery_file_dest='D:\Respaldo');
    3> startup nomount force;
    4> restore (controlfile from autobackup);
    5> alter database mount;
    6> configure controlfile autobackup off;
    7> restore database;
    8>
    echo activado
    Iniciando restore en 31/08/07
    se utiliza el archivo de control de la base de datos destino en lugar del catálogo de recuperación
    canal asignado: ORA_DISK_1
    canal ORA_DISK_1: sid=37 devtype=DISK
    destino del área de recuperación: D:\Respaldo
    nombre de base de datos (o nombre único de base de datos) utilizado para la búsqueda: XE
    canal ORA_DISK_1: se ha encontrado una copia de seguridad automática en el área de recuperación
    canal ORA_DISK_1: se ha encontrado la copia de seguridad automática: D:\RESPALDO\XE\AUTOBACKUP\2007_08_27\O1_MF_S_631711029_3F5TQOVT_.BKP
    canal ORA_DISK_1: restauración de SPFILE a partir de la copia de seguridad automática terminada
    restore terminado en 31/08/07
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: fallo del comando startup en 08/31/2007 10:24:10
    RMAN-04014: fallo al iniciar: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
    ORA-01263: Name given for file destination directory is invalid
    OSD-04018: No se ha podido acceder al directorio o dispositivo especificado.
    O/S-Error: (OS 21) El dispositivo no est¿ listo.
    Recovery Manager terminado.
    I really do not know what is my problem and how to solve it. I hope you guys can help me. I'm under a big pressure to solve this soon.
    My Operating System is: WinXP Pro
    I'm using APEX 2.01
    When I create the backup I use ARCHIVELOG enable
    Things i try:
    1. Install fresh oracle XE database, and restore
    2. Install fresh oracle XE database, enable archivelog and restore
    3. Install fresh oracle XE database, enable archivelog, change path of DB_RECOVERY_FILE_DEST to 'D:\Respaldo'.
    4. Install fresh oracle XE database, enable archivelog, change path of DB_RECOVERY_FILE_DEST to 'D:\Respaldo', and execute: @?/sqlplus/admin/movelogs;
    5. Install fresh oracle XE database, enable archivelog, change path of DB_RECOVERY_FILE_DEST to 'D:\Respaldo';, and change DB_RECOVERY_FILE_DEST_SIZE to 20G;
    NOTE: sorry for my english it is not my native language. and sorry for using a spanish version of the database.
    Message was edited by:
    Minning

    Well,
    After a lot of reading, i try this using rman:
    SQL
    1. SQL> connect xx/xx as sysdba
    2. SQL> shutdown immediate
    RMAN
    1. RMAN> connect target XE
    2. RMAN> startup nomount;
    3. RMAN> restore spfile to 'C:\xe.ora' from 'D:\Respaldo\XE\AUTOBACKUP\2007_08_27\O
    1_MF_S_631711029_3F5TQOVT_.BKP';
    4. RMAN> alter database mount;
    5. RMAN> restore database;
    in point n°5 i have the following problem:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: fallo del comando restore en 09/06/2007 16:27:09
    RMAN-06026: no se han encontrado algunos destinos - abortando la restauraci¾n
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 4 para restaurar
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 3 para restaurar
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 2 para restaurar
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 1 para restaurar
    I try this command to find what's going on:
    RMAN> list backup;
    with this result:
    Lista de Juegos de Copias de Seguridad
    ===================
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    15 Full 736.04M DISK 00:00:19 24/08/07
    Clave BP: 15 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T12
    4938
    Nombre de Parte: E:\RESPALDO\XE\BACKUPSET\2007_08_24\O1_MF_NNNDF_TAG2007
    0824T124938_3DY3143F_.BKP
    Lista de Archivos de Datos en el juego de copias de seguridad 15
    Tipo de Archivo LV SCN Pto. Ctrl. Hora de Punto de Control Nombre
    1 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSTEM
    .DBF
    2 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\UNDO.D
    BF
    3 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSAUX
    .DBF
    4 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\USERS.
    DBF
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    16 Full 6.83M DISK 00:00:01 24/08/07
    Clave BP: 16 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T12
    5005
    Nombre de Parte: E:\RESPALDO\XE\AUTOBACKUP\2007_08_24\O1_MF_S_631457405_
    3DY31Y0H_.BKP
    Archivo de Control Incluido: SCN de Punto de Control: 2747446 Hora de Pun
    to de Control: 24/08/07
    SPFILE Incluido: Hora de Modificaci¾n: 24/08/07
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    17 Full 736.04M DISK 00:00:20 24/08/07
    Clave BP: 17 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T17
    0028
    Nombre de Parte: E:\RESPALDO\XE\BACKUPSET\2007_08_24\O1_MF_NNNDF_TAG2007
    0824T170028_3DYKQGTC_.BKP
    Lista de Archivos de Datos en el juego de copias de seguridad 17
    Tipo de Archivo LV SCN Pto. Ctrl. Hora de Punto de Control Nombre
    1 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSTEM
    .DBF
    2 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\UNDO.D
    BF
    3 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSAUX
    .DBF
    4 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\USERS.
    DBF
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    18 Full 6.83M DISK 00:00:02 24/08/07
    Clave BP: 18 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T17
    0054
    Nombre de Parte: E:\RESPALDO\XE\AUTOBACKUP\2007_08_24\O1_MF_S_631472454_
    3DYKR7OZ_.BKP
    Archivo de Control Incluido: SCN de Punto de Control: 2773741 Hora de Pun
    to de Control: 24/08/07
    SPFILE Incluido: Hora de Modificaci¾n: 24/08/07
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    19 Full 740.95M DISK 00:00:20 27/08/07
    Clave BP: 19 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070827T11
    1642
    Nombre de Parte: E:\RESPALDO\XE\BACKUPSET\2007_08_27\O1_MF_NNNDF_TAG2007
    0827T111642_3F5TPWHN_.BKP
    Lista de Archivos de Datos en el juego de copias de seguridad 19
    Tipo de Archivo LV SCN Pto. Ctrl. Hora de Punto de Control Nombre
    1 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\SYSTEM
    .DBF
    2 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\UNDO.D
    BF
    3 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\SYSAUX
    .DBF
    4 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\USERS.
    DBF
    Where it says 'Estado' (Status in english) I found this: 'EXPIRED', it seems that my 4 dbf files have some problem, right now i'm looking for a way to solve this, but with no luck.
    I think i need a little help again...

  • Unable to restore database using RMAN in oracle 10g

    Hi Everyone!!!!!!!
    I have following scenario. In which I don't want to drop newly created tablespace (test). So, let me know how to restore database from existing backup without dropping new tablespace and taking new backup?
    1. I took database backup as
    RMAN > backup database;
    2. Create one tablespace "test"
    3. Then I tried to restore database as (In mount mode)
    RMAN > restore database
    4. But I can't restore database. Even I tried after taking "test" tablespace offline , It returns error as follow
    ORA-01119: error in creating database file 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTCAT\TEST.DBF'
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already exists
    Please suggest me step/way so that I can restore database without taking new backup or dropping new tablespace (test).........

    Hello;
    Rename this datafile :
    D:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTCAT\TEST.DBF
    Then try the restore again.
    If this isn't a test database stop and think about how you will recover if this does not work. That is how will you recover from the recover if it goes bad?
    Best Regards
    mseberg

  • Error while cloning database using RMAN

    hi there,
    Here is our setup:
    OS: Solaris 5.9
    Database:9.2.0.3
    While cloning test database from our production database using RMAN, we happen to get the following error..
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/11/2007 15:28:59
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 450
    RMAN-06100: no channel to restore a backup or copy of datafile 449
    give us a solution to rectify this problem.
    Thanks,
    Balu.

    Can you please post the RMAN restore script ?
    where are the backups located

  • Unable to create a duplicat database through rman

    Hi,
    Oracle Version:10.2.0.1
    Operating System:Linux
    Here i am having databae KKK and i need to duplicate that databae to vtldb.I take the backup of the KKK database as
    rman target /
    RMAN>Backup databsase;after that i copied all the bakup sets to my vtldb database in the location '/u01/app/oracle/oradata/vtldb/'.Then i created a new auxiliary channel as
    create auciliary channel as device type disk format '/u01/pp/oracle/oradata/vtldb/%U';Then connecting to my auxiliary databae and getting the following error.
    [oracle@vtlsys3-143 ~]$ rman target /
    Recovery Manager: Release 10.2.0.3.0 - Production on Thu Mar 11 13:30:12 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database: KKK (DBID=2526957931)
    RMAN> connect aucxiliary sys@vtldb_rmandup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "auxiliary, catalog, clone, rcvcat, target"
    RMAN-01008: the bad identifier was: aucxiliary
    RMAN-01007: at line 1 column 9 file: standard input
    RMAN> connect auxiliary  sys@vtldb_rmandup
    auxiliary database Password:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-04006: error from auxiliary database: ORA-01031: insufficient privilegesI create the passowrd file for VTLDB aslo .
    Can any one please help me how to solve my problem.
    Thanks & Regars,
    Poorna Prasad.

    Hi Anil,
    Thanks for your replays.Now i was able to connect to the database.But i am facing another problem.
    RMAN> list backup;
    RMAN> backup database;
    Starting backup at 11-MAR-10
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=/u01/app/oracle/oradata/kkk/system01.dbf
    channel ORA_DISK_1: starting piece 1 at 11-MAR-10
    channel ORA_DISK_2: starting full datafile backupset
    channel ORA_DISK_2: specifying datafile(s) in backupset
    input datafile fno=00003 name=/u01/app/oracle/oradata/kkk/sysaux01.dbf
    input datafile fno=00002 name=/u01/app/oracle/oradata/kkk/undotbs01.dbf
    channel ORA_DISK_2: starting piece 1 at 11-MAR-10
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 03/11/2010 16:36:11
    ORA-19504: failed to create file "/u02/rman_bkp/kkk/ora_rbk713378170_s"
    ORA-27038: created file already exists
    Additional information: 1
    channel ORA_DISK_2 disabled, job failed on it will be run on another channel
    channel ORA_DISK_1: finished piece 1 at 11-MAR-10
    piece handle=/u02/rman_bkp/kkk/ora_rbk713378170_s tag=TAG20100311T163610 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:16
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00003 name=/u01/app/oracle/oradata/kkk/sysaux01.dbf
    input datafile fno=00002 name=/u01/app/oracle/oradata/kkk/undotbs01.dbf
    channel ORA_DISK_1: starting piece 1 at 11-MAR-10
    channel ORA_DISK_1: finished piece 1 at 11-MAR-10
    piece handle=/u02/rman_bkp/kkk/ora_rbk713378186_s tag=TAG20100311T163610 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00004 name=/u01/app/oracle/oradata/kkk/users01.dbf
    channel ORA_DISK_1: starting piece 1 at 11-MAR-10
    channel ORA_DISK_1: finished piece 1 at 11-MAR-10
    piece handle=/u02/rman_bkp/kkk/ora_rbk713378201_s tag=TAG20100311T163610 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 11-MAR-10
    Starting Control File Autobackup at 11-MAR-10
    piece handle=/u02/rman_bkp/rman_ctlbkp/ora_cfc-2526957931-20100311-03 comment=NONE
    Finished Control File Autobackup at 11-MAR-10
    RMAN> connect auxiliary sys@vtldb
    auxiliary database Password:
    connected to auxiliary database: VTLDB (not mounted)
    RMAN> duplicate target database to vtldb
    2> ;
    Starting Duplicate Db at 11-MAR-10
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=159 devtype=DISK
    allocated channel: ORA_AUX_DISK_2
    channel ORA_AUX_DISK_2: sid=157 devtype=DISK
    contents of Memory Script:
       set until scn  557331;
       set newname for datafile  1 to
    "/u01/app/oracle/oradata/vtldb/system01.dbf";
       set newname for datafile  2 to
    "/u01/app/oracle/oradata/vtldb/undotbs01.dbf";
       set newname for datafile  3 to
    "/u01/app/oracle/oradata/vtldb/sysaux01.dbf";
       set newname for datafile  4 to
    "/u01/app/oracle/oradata/vtldb/users01.dbf";
       restore
       check readonly
       clone database
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 11-MAR-10
    using channel ORA_AUX_DISK_1
    using channel ORA_AUX_DISK_2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 03/11/2010 17:07:11
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restoreRegards,
    Poorna Prasad.

  • Help me! cann't restore database using RMAN!!

    i've backuped database using RMAN,
    now datafile of system tablespace have lost,
    and i execute the command as following:
    run {
    allocate channel c1 type disk;
    restore database;
    these are errors:
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: restore
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: IRESTORE
    RMAN-06003: ORACLE error from target database: ORA-01843: not a
    valid month
    RMAN-06097: text of failing SQL statement: select decode(bitand
    (festa,(4096+128)
    ),128,fecps,4096,fecps,0) ,decode(bitand(festa,
    (4096+128)),128,281474976710655,4
    096,controlfile_change#,0) ,decode(bitand(festa,
    (4096+128)),128,SYSDATE,4096,con
    trolfile_time,to_date('JAN 01 1988','MON DD
    YYYY')) ,feofs ,feonc_scn ,to_date(n
    vl(feonc_tim,'01/01/88 00:01:01'),'MM/DD/RR HH24:MI:SS')
    into :b1,:b2,:b3,:b4,:b
    5,:b6 from x$kccfe ,v$database where (fenum=:b7 and fedup=1)
    RMAN-06099: error occurred in source file: krmk.pc, line: 21652

    Try setting the NLS_DATE_FORMAT at the command prompt.

Maybe you are looking for

  • Some thumbnails do not show up in organizer

    I have created a catalog with all my photos. There is a folder listing at the left of the screen. Some of the files in those folders do not appear in the thumbnails. They are all jpg files. If i try to import the files that are missing I am told they

  • How to add a Image on Another Image in Photoshop?

    Hi I am totally New to Photoshop I want to add Some Image on Another Image.How to do this? I am using Photoshop first time... Thanks

  • When can we get a software update that will fix the glitch on ipad updates now visible?!?

    Have icon banner notification showing updates available but screen is blank when selecting icon to update the apps... Seems to be an apple glitch as im not alone in this and nothing wrong with my ipad.  Must repair glitch with system update as, obvio

  • Creative Zen 16GB Flash - Album artwork prob

    Just a quick problem I'm having with my Zen. I have a single Feeder song which came with the album artwork when I downloaded it, but now, every song with no album name given goes automatically in to that Feeder album. So for example "Ultrabeat - Pret

  • Publish is disable

    hello in my Robohelp publish option dont active. my project is in Flash pro single source,i can Generate it but i can't publish project. to see pic of this click HERE robo publish