RMAN-03002, ORA-2707, OSD-04008

Hi,
RMAN Backup is failing due to below error
MAN-03002: failure of backup plus archivelog command at 03/02/2011 07:15:58
ORA-19502: write error on file "D:\ORADATA\RMAN\BACKUP\DF_WEBCT_4938_1_QAM66FNI", blockno 8380545 (blocksize=8192)
ORA-27072: File I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 112) There is not enough space on the disk.
This is windows 2003 64-bit server. I have checked the space and it is showing 264G available. Is it because the datafiles is of 317G size.
please help resolving this issue.
Thanks.
Edited by: user12045167 on Mar 2, 2011 12:07 AM

O/S-Error: (OS 112) There is not enough space on the disk.
Your available space is 264 GB and your datafile size is 317 GB. So, increase the space for that mount point and try again.
Regards
Asif Kabir

Similar Messages

  • Oracle went down due to the errors:ORA-00206,ORA-00202,ORA-27072,OSD-04008.

    I have an oracle testing instance on Windows NT. It went down every several months due to the same errors. The only difference is the control file number in the error message for every time. I fixed it by restarting the oracle service each time. Below is the error session in the alert log:
    Sat Jul 01 16:57:12 2006
    Errors in file D:\App\Oracle\admin\intrtest\bdump\intrtestCKPT.TRC:
    ORA-00206: error in writing (block 3, # blocks 1) of controlfile
    ORA-00202: controlfile: 'D:\APP\ORACLE\ORADATA\INTRTEST\CONTROL03.CTL'
    ORA-27072: skgfdisp: I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because
    another process has locked a portion of the file.
    Sat Jul 01 16:57:12 2006
    CKPT: terminating instance due to error 221
    Instance terminated by CKPT, pid = 368
    Any idea or suggestion?
    Thanks
    B.

    Hi friends,
    I am also facing the same error:
    ORA-00345: Message 345 not found; No message file for product=RDBMS, facility=ORA; arguments: [45004] [2]
    ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1] [E:\ORADATA\IFSL\REDO011.LOG]
    ORA-27072: Message 27072 not found; No message file for product=RDBMS, facility=ORA
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
    due to this, our database goes down, and it was currepted my Redo file as well. We have taken a Third party backup using named "Symentic". nybody have the idea, how can I avoid this error in future.
    Regards,
    Khushal S. Kulkarni
    [email protected]

  • Rman archivelog backup fails with rman-03002,ora-19563

    Hi,
    D:\ Oracle- -\BIN\RMAN TARGET / NOCATALOG
    RMAN> backup archivelog all;
    RMAN-03002: Error with backup command on 06-25-2013
    ORA-19563: Header-Validation is not successful.
        fails with the given errors.
    11.2.0.2 PROD DB on Windows Server 2008  R2 Enterpriise.
    When I issue BACKUP INCREMENTAL LEVEL 0 DATABASE; it works fine. but with archivelog it is creating problems. Unfortunatly, I have not found exactly the same problem on google and on Oracle support.
    The DB is using INIT.ORA and last time when I switched the mode to archive log mode I set the parameter like SCOPE=MEMORY as SPFILE was not in use and ALTER SYSTEM with SCOPE=BOTH  FRA destination and size, but after the DB restarting of course that setting is gone and I am having these problems.
    Please suggest.
    Thanks a lot.
    Best Regards,

    Hi,
    Thanks a lot.
    I don't think that archivelogs were relocated, except I changed the location yesterday.
    As I wrote at the start that because of INIT.ORA file being in use instead of SPFILE. I set DB_RECOVERY_FILE_DEST, DB_RECOVERY_DEST_SIZE after changing the DB mode to ARCHIVELOG, but DB was restarted by somebody else, and as the parameter changing was NOT PERMANENT, it rollback.
    LOG_ARCHIVE_DEST was set to d:\oradata\db with archivelog mode but db_recovery_file_dest and size was set to 0. Now here, I have no idea that whether archivelogs were not being backed up or deleted physically, but I guess that as log_archive_dest parameter is deprecated and mode is set to archivelog with no real ARCHIVELOG DESTINATION. Please correct me if I am wrong or totally wrong :-)
    I performed DELETED EXPIRED ARCHIVELOG ALL, and it deleted 49 EXPIRED objects.
    Now CROSSCHECK ARCHIVELOG ALL and LIST ARCHIVELOG ALL shows nothing.
    LIST BACKUP OF ARCHIVELOG ALL has of course those 49 archivelog gap.
    Could you please tell the impacts of those 49 missing archivelogs. Retention policy is set to 14 days. I mean the risk is for 14 days right? As anyhow, the older backups are being DELETED according to retention policy of RMAN.

  • ORA-27072: File I/O error, OSD-04008: WriteFile() failure, unable to write

    Hi,
    Im using oracle 10.2.0.1 on the Windows server 2003,
    Every day at 03:30AM my database goes down, with following entry in the alert log.
    =======================================================================================
    Errors in file f:\oracle\product\10.2.0\admin\orclint\bdump\orclint_lgwr_7708.trc:
    ORA-00345: redo log write error block 21111 count 12
    ORA-00312: online log 1 thread 1: 'F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLINT\REDO01.LOG'
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
    Thu Nov 24 03:36:46 2011
    Errors in file f:\oracle\product\10.2.0\admin\orclint\bdump\orclint_lgwr_7708.trc:
    ORA-00340: IO error processing online log 1 of thread 1
    ORA-00345: redo log write error block 21111 count 12
    ORA-00312: online log 1 thread 1: 'F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLINT\REDO01.LOG'
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
    Thu Nov 24 03:36:46 2011
    LGWR: terminating instance due to error 340
    Thu Nov 24 03:36:46 2011
    Errors in file f:\oracle\product\10.2.0\admin\orclint\bdump\orclint_pmon_8236.trc:
    ORA-00340: IO error processing online log of thread
    =================================================================================
    We have raised the SR with ORACLE, after uploading the trace & alert log, reply from oracle as follows:
    Generic Note
    I couldn't find any issue in the trace file.
    I think you need to open a ticket to the O/S vendor to identify which process is locking the file.
    ====================================================================================
    We have move the database from F: to G:, problem got resolved, but we cant keep the database in G: for more time as the space issue, We have to move the database back to F: , and we are facing the issue on F:
    can any body help, how to monitor the windows process locking the database files,
    or the utility that can log the errors at the same time when database goes down.
    Thanks,

    Hello,
    You can have a look to the windows Event Viewer, see if something happens around 03:30.
    Do you have an antivirus on your server ?
    At what time does your backup run ?
    Regards,
    Sylvie

  • RMAN 11gr2 ORA-00308 when dulplicate database from active

    Hi,
    I'm trying to clone a production database (Oracle 11.2.0.3) from HP-UX IA64 to Solaris 10 (Sparc 64) (source on Filesystem, target on ASM)
    the previous steps was done (same oracle software installation, same patches, sqlnet comunication, etc.)
    but the RMAN fails at end of the process:
    Recovery Manager: Release 11.2.0.3.0 - Production on Wed Aug 22 09:44:34 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: SIN (DBID=634625013)
    connected to recovery catalog database
    connected to auxiliary database: SIN (not mounted)
    RMAN> run
    +2> {+
    +3> allocate channel c1 type disk;+
    +4> allocate channel c2 type disk;+
    +5> allocate channel c3 type disk;+
    +6> allocate channel c4 type disk;+
    +7> allocate auxiliary channel a1 type disk;+
    +8> allocate auxiliary channel a2 type disk;+
    +9> set newname for datafile 1 to '+DG_DATA';+
    +10> set newname for datafile 2 to '+DG_DATA';+
    +11> set newname for datafile 3 to '+DG_DATA';+
    +12> set newname for datafile 4 to '+DG_DATA';+
    +13> set newname for datafile 5 to '+DG_DATA';+
    +14> set newname for datafile 6 to '+DG_DATA';+
    +15> set newname for datafile 7 to '+DG_DATA';+
    +16> set newname for datafile 8 to '+DG_DATA';+
    +17> set newname for datafile 9 to '+DG_DATA';+
    +18> set newname for datafile 10 to '+DG_DATA';+
    +... to...+
    +398> set newname for datafile 390 to '+DG_DATA';+
    +399> set newname for datafile 391 to '+DG_DATA';+
    +400> duplicate target database to "sin" from active database nofilenamecheck+
    +401> DB_FILE_NAME_CONVERT=('/u10/oradata/sin/','+DG_DATA/',+
    +402> '/u11/oradata/sin/','+DG_DATA/',+
    +403> '/u07/oradata/sin/','+DG_DATA/',+
    +404> '/u08/oradata/sin/','+DG_DATA/',+
    +405> '/u09/oradata/sin/','+DG_DATA/');+
    +406> }+
    +407>+
    starting full resync of recovery catalog
    full resync complete
    allocated channel: c1
    channel c1: SID=1787 device type=DISK
    allocated channel: c2
    channel c2: SID=2406 device type=DISK
    allocated channel: c3
    channel c3: SID=850 device type=DISK
    allocated channel: c4
    channel c4: SID=1146 device type=DISK
    allocated channel: a1
    channel a1: SID=1325 device type=DISK
    allocated channel: a2
    channel a2: SID=1514 device type=DISK
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    +...+
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting Duplicate Db at 22-AUG-12
    contents of Memory Script:
    +{+
    sql clone "create spfile from memory";
    +}+
    executing Memory Script
    sql statement: create spfile from memory
    contents of Memory Script:
    +{+
    shutdown clone immediate;
    startup clone nomount;
    +}+
    executing Memory Script
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area    7317790720 bytes
    Fixed Size                     2173456 bytes
    Variable Size               3808433648 bytes
    Database Buffers            3489660928 bytes
    Redo Buffers                  17522688 bytes
    allocated channel: a1
    channel a1: SID=1325 device type=DISK
    allocated channel: a2
    channel a2: SID=758 device type=DISK
    contents of Memory Script:
    +{+
    sql clone "alter system set  control_files =
    +''+DG_DATA/sin/controlfile/current.511.791978153'', ''+DG_DATA/sin/controlfile/current.562.791978153'' comment=+
    +''Set by RMAN'' scope=spfile";+
    +''+DG_DATA/sin/controlfile/current.511.791978153'', ''+DG_DATA/sin/controlfile/current.562.791978153'' comment=+
    +''Set by RMAN'' scope=spfile";+
    sql clone "alter system set  db_name =
    +''SIN'' comment=+
    +''Modified by RMAN duplicate'' scope=spfile";+
    +sql clone "alter system set db_unique_name =+
    +''SIN'' comment=+
    +''Modified by RMAN duplicate'' scope=spfile";+
    +shutdown clone immediate;+
    +startup clone force nomount+
    +backup as copy current controlfile auxiliary format '+DG_DATA/sin/controlfile/current.512.791978153';+
    +restore clone controlfile to '+DG_DATA/sin/controlfile/current.625.791978153' from+
    +'+DG_DATA/sin/controlfile/current.512.791978153';+
    +sql clone "alter system set control_files =+
    +''+DG_DATA/sin/controlfile/current.512.791978153'', ''+DG_DATA/sin/controlfile/current.625.791978153'' comment=+
    +''Set by RMAN'' scope=spfile";+
    +shutdown clone immediate;+
    +startup clone nomount;+
    +alter clone database mount;+
    +}+
    +executing Memory Script+
    +sql statement: alter system set control_files = ''+DG_DATA/sin/controlfile/current.511.791978153'', ''+DG_DATA/sin/controlfile/cu+
    +rrent.562.791978153'' comment= ''Set by RMAN'' scope=spfile+
    +sql statement: alter system set db_name = ''SIN'' comment= ''Modified by RMAN duplicate'' scope=spfile+
    +sql statement: alter system set db_unique_name = ''SIN'' comment= ''Modified by RMAN duplicate'' scope=spfile+
    +Oracle instance shut down+
    +Oracle instance started+
    +Total System Global Area 7317790720 bytes+
    +Fixed Size 2173456 bytes+
    +Variable Size 3808433648 bytes+
    +Database Buffers 3489660928 bytes+
    +Redo Buffers 17522688 bytes+
    +allocated channel: a1+
    +channel a1: SID=1514 device type=DISK+
    +allocated channel: a2+
    +channel a2: SID=2081 device type=DISK+
    +Starting backup at 22-AUG-12+
    +channel c1: starting datafile copy+
    +copying current control file+
    +output file name=/u06/tmpapp/rmanbkps/snapcf_sin.f tag=TAG20120822T094657 RECID=49 STAMP=791977621+
    +channel c1: datafile copy complete, elapsed time: 00:00:01+
    +Finished backup at 22-AUG-12+
    +Starting restore at 22-AUG-12+
    +channel a2: skipped, AUTOBACKUP already found+
    +channel a1: copied control file copy+
    +Finished restore at 22-AUG-12+
    +sql statement: alter system set control_files = ''+DG_DATA/sin/controlfile/current.512.791978153'', ''+DG_DATA/sin/controlfile/cu+
    +rrent.625.791978153'' comment= ''Set by RMAN'' scope=spfile+
    +Oracle instance shut down+
    +connected to auxiliary database (not started)+
    +Oracle instance started+
    +Total System Global Area 7317790720 bytes+
    +Fixed Size 2173456 bytes+
    +Variable Size 3808433648 bytes+
    +Database Buffers 3489660928 bytes+
    +Redo Buffers 17522688 bytes+
    +allocated channel: a1+
    +channel a1: SID=1514 device type=DISK+
    +allocated channel: a2+
    +channel a2: SID=2081 device type=DISK+
    +database mounted+
    +Using previous duplicated file +DG_DATA/sin/datafile/system.666.791914845 for datafile 1 with checkpoint SCN of 46164275052+
    +Using previous duplicated file +DG_DATA/sin/datafile/undotbs1.678.791913821 for datafile 2 with checkpoint SCN of 46164227408+
    +...+
    +Using previous duplicated file +DG_DATA/sin/datafile/med_dat.498.791939115 for datafile 389 with checkpoint SCN of 46165353395+
    +Using previous duplicated file +DG_DATA/sin/datafile/mytablespace.674.791914359 for datafile 390 with checkpoint SCN of 46164253329+
    +Using previous duplicated file +DG_DATA/sin/datafile/med_dat.499.791939115 for datafile 391 with checkpoint SCN of 46165353396+
    +contents of Memory Script:+
    +{+
    +sql 'alter system archive log current';+
    +}+
    +executing Memory Script+
    +sql statement: alter system archive log current+
    +contents of Memory Script:+
    +{+
    +backup as copy reuse+
    +archivelog like "/u06/app/oracle/admin/sin/arch/SIN_0544862197_0001_0000065832.ARC" auxiliary format+
    +"+DG_DATA" archivelog like+
    +"/u06/app/oracle/admin/sin/arch/SIN_0544862197_0001_0000065833.ARC" auxiliary format+
    +"+DG_DATA" archivelog like+
    +"/u06/app/oracle/admin/sin/arch/SIN_0544862197_0001_0000065834.ARC" auxiliary format+
    +"+DG_DATA" archivelog like+
    +"/u06/app/oracle/admin/sin/arch/SIN_0544862197_0001_0000065835.ARC" auxiliary format+
    +"+DG_DATA" archivelog like+
    +"/u06/app/oracle/admin/sin/arch/SIN_0544862197_0001_0000065836.ARC" auxiliary format+
    +"+DG_DATA" ;+
    +catalog clone start with "+DG_DATA";+
    +catalog clone datafilecopy "+DG_DATA/sin/datafile/system.666.791914845",+
    +"+DG_DATA/sin/datafile/undotbs1.678.791913821",+
    +"+DG_DATA/sin/datafile/undotbs1.679.791913821",+
    +"+DG_DATA/sin/datafile/undotbs1.689.791913821",+
    +"+DG_DATA/sin/datafile/undotbs1.690.791913821",+
    +"+DG_DATA/sin/datafile/undotbs1.677.791914357",+
    +"+DG_DATA/sin/datafile/drsys.621.791939555",+
    +"+DG_DATA/sin/datafile/high_idx.663.791914889",+
    +"+DG_DATA/sin/datafile/tools.507.791939555",+
    +...+
    +"+DG_DATA/sin/datafile/bkptemp.497.791939113",+
    +"+DG_DATA/sin/datafile/med_dat.498.791939115",+
    +"+DG_DATA/sin/datafile/mytablespace.674.791914359",+
    +"+DG_DATA/sin/datafile/med_dat.499.791939115";+
    +switch clone datafile 1 to datafilecopy+
    +"+DG_DATA/sin/datafile/system.666.791914845";+
    +switch clone datafile 2 to datafilecopy+
    +"+DG_DATA/sin/datafile/undotbs1.678.791913821";+
    +switch clone datafile 3 to datafilecopy+
    +...+
    +"+DG_DATA/sin/datafile/med_dat.498.791939115";+
    +switch clone datafile 390 to datafilecopy+
    +"+DG_DATA/sin/datafile/mytablespace.674.791914359";+
    +switch clone datafile 391 to datafilecopy+
    +"+DG_DATA/sin/datafile/med_dat.499.791939115";+
    +}+
    +executing Memory Script+
    +Starting backup at 22-AUG-12+
    +channel c1: starting archived log copy+
    +input archived log thread=1 sequence=65832 RECID=48339 STAMP=791913640+
    +channel c2: starting archived log copy+
    +input archived log thread=1 sequence=65833 RECID=48340 STAMP=791933223+
    +channel c3: starting archived log copy+
    +input archived log thread=1 sequence=65834 RECID=48341 STAMP=791939052+
    +channel c4: starting archived log copy+
    +input archived log thread=1 sequence=65835 RECID=48342 STAMP=791962351+
    +output file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65834.515.791978259 RECID=0 STAMP=0+
    +channel c3: archived log copy complete, elapsed time: 00:00:35+
    +channel c3: starting archived log copy+
    +input archived log thread=1 sequence=65836 RECID=48343 STAMP=791977692+
    +output file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65832.513.791978259 RECID=0 STAMP=0+
    +channel c1: archived log copy complete, elapsed time: 00:00:51+
    +output file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65833.514.791978259 RECID=0 STAMP=0+
    +channel c2: archived log copy complete, elapsed time: 00:01:41+
    +output file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65836.581.791978295 RECID=0 STAMP=0+
    +channel c3: archived log copy complete, elapsed time: 00:01:06+
    +output file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65835.516.791978259 RECID=0 STAMP=0+
    +channel c4: archived log copy complete, elapsed time: 00:01:41+
    +Finished backup at 22-AUG-12+
    +searching for all files that match the pattern +DG_DATA+
    +List of Files Unknown to the Database+
    +=====================================+
    +File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65832.513.791978259+
    +File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65833.514.791978259+
    +File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65834.515.791978259+
    +...+
    +File Name: +dg_data/SIN/DATAFILE/XDB.508.791939555+
    +File Name: +dg_data/SIN/DATAFILE/DRSYS.621.791939555+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.691.791913737+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.692.791913737+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.703.791913737+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.704.791913737+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.511.791978153+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.562.791978153+
    +File Name: +dg_data/ASM/ASMPARAMETERFILE/REGISTRY.253.790861037+
    +cataloging files...+
    +cataloging done+
    +List of Cataloged Files+
    +=======================+
    +File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65832.513.791978259+
    +File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65833.514.791978259+
    +File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65834.515.791978259+
    +File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65835.516.791978259+
    +...+
    +File Name: +dg_data/SIN/DATAFILE/XDB.508.791939555+
    +File Name: +dg_data/SIN/DATAFILE/DRSYS.621.791939555+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.703.791913737+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.704.791913737+
    +List of Files Which Where Not Cataloged+
    +=======================================+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.691.791913737+
    +RMAN-07517: Reason: The file header is corrupted+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.692.791913737+
    +RMAN-07517: Reason: The file header is corrupted+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.511.791978153+
    +RMAN-07517: Reason: The file header is corrupted+
    +File Name: +dg_data/SIN/CONTROLFILE/Current.562.791978153+
    +RMAN-07517: Reason: The file header is corrupted+
    +File Name: +dg_data/ASM/ASMPARAMETERFILE/REGISTRY.253.790861037+
    +RMAN-07518: Reason: Foreign database file DBID: 0 Database Name:+
    +cataloged datafile copy+
    +datafile copy file name=+DG_DATA/sin/datafile/system.666.791914845 RECID=442 STAMP=791978374+
    +cataloged datafile copy+
    +datafile copy file name=+DG_DATA/sin/datafile/undotbs1.678.791913821 RECID=443 STAMP=791978375+
    +cataloged datafile copy+
    +datafile copy file name=+DG_DATA/sin/datafile/undotbs1.679.791913821 RECID=444 STAMP=791978375+
    +cataloged datafile copy+
    +datafile copy file name=+DG_DATA/sin/datafile/undotbs1.689.791913821 RECID=445 STAMP=791978375+
    +cataloged datafile copy+
    +...+
    +datafile copy file name=+DG_DATA/sin/datafile/med_dat.498.791939115 RECID=830 STAMP=791978408+
    +cataloged datafile copy+
    +datafile copy file name=+DG_DATA/sin/datafile/mytablespace.674.791914359 RECID=831 STAMP=791978408+
    +cataloged datafile copy+
    +datafile copy file name=+DG_DATA/sin/datafile/med_dat.499.791939115 RECID=832 STAMP=791978408+
    +datafile 1 switched to datafile copy+
    +input datafile copy RECID=442 STAMP=791978374 file name=+DG_DATA/sin/datafile/system.666.791914845+
    +datafile 2 switched to datafile copy+
    +input datafile copy RECID=443 STAMP=791978375 file name=+DG_DATA/sin/datafile/undotbs1.678.791913821+
    +datafile 3 switched to datafile copy+
    +input datafile copy RECID=444 STAMP=791978375 file name=+DG_DATA/sin/datafile/undotbs1.679.791913821+
    +datafile 4 switched to datafile copy+
    +input datafile copy RECID=445 STAMP=791978375 file name=+DG_DATA/sin/datafile/undotbs1.689.791913821+
    +...+
    +datafile 389 switched to datafile copy+
    +input datafile copy RECID=830 STAMP=791978408 file name=+DG_DATA/sin/datafile/med_dat.498.791939115+
    +datafile 390 switched to datafile copy+
    +input datafile copy RECID=831 STAMP=791978408 file name=+DG_DATA/sin/datafile/mytablespace.674.791914359+
    +datafile 391 switched to datafile copy+
    +input datafile copy RECID=832 STAMP=791978408 file name=+DG_DATA/sin/datafile/med_dat.499.791939115+
    +contents of Memory Script:+
    +{+
    +set until scn 46167049411;+
    +recover+
    +clone database+
    +delete archivelog+
    +;+
    +}+
    +executing Memory Script+
    +executing command: SET until clause+
    +Starting recover at 22-AUG-12+
    +starting media recovery+
    +archived log for thread 1 with sequence 65832 is already on disk as file +DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65832.513.7+
    +91978259+
    +archived log for thread 1 with sequence 65833 is already on disk as file +DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65833.514.7+
    +91978259+
    +archived log for thread 1 with sequence 65834 is already on disk as file +DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65834.515.7+
    +91978259+
    +archived log for thread 1 with sequence 65835 is already on disk as file +DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65835.516.7+
    +91978259+
    +archived log for thread 1 with sequence 65836 is already on disk as file +DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65836.581.7+
    +91978295+
    +archived log file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65832.513.791978259 thread=1 sequence=65832+
    +released channel: c1+
    +released channel: c2+
    +released channel: c3+
    +released channel: c4+
    +Oracle Error:+
    +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: '+DG_DATA/sin/datafile/system.666.791914845'+
    *+released channel: a1+*
    *+released channel: a2+*
    *+RMAN-00571: ===========================================================+*
    *+RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============+*
    *+RMAN-00571: ===========================================================+*
    *+RMAN-03002: failure of Duplicate Db command at 08/22/2012 09:52:27+*
    *+RMAN-05501: aborting duplication of target database+*
    *+RMAN-03015: error occurred in stored script Memory Script+*
    *+RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '+DG_DATA/sin/archivelog/2012_08_22/thre+*
    *+ad_1_seq_65832.513.791978259'+*
    *+ORA-00308: cannot open archived log '+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65832.513.791978259'+*
    +Recovery Manager complete.+
    the error is always the same, a previous backup with RMAN was taken on tape on the source database (production).
    Please help me to find what is wrong here!!

    Hi mseberg
    that's exactly i'm doing:
    1. Create an Oracle Password File for the Auxiliary Database
    a. done, passwd file created*
    2. Create the Directory Structure on the remote server
    a. done, all the admin structure wa created.*
    3. Oracle Net Setup ( you need an entry for the CLONE in your TNSNAMES.ORA on both servers ) ( I use SID_LIST_LISTENER entry for static )
    a. done, i have the entries working on my tnsnames.ora (source and target with static listeners)*
    4. Create an Initialization Parameter File for the Auxiliary Instance ( I use Parameters DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT to change locations)
    a. done, this is my initialization file:*
    *.audit_file_dest='/u01/app/oracle/admin/sin/adump'*
    *.audit_trail='db'*
    *.compatible='11.2.0.0.0'*
    *.db_block_size=8192*
    *.db_create_file_dest='DG_DATA'+*
    *.db_domain=''*
    *.db_files=2048*
    *.db_name='sin'*
    *.db_recovery_file_dest='DG_DATA'+*
    *.db_recovery_file_dest_size=20G*
    *.diagnostic_dest='/u01/app/oracle'*
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=sinXDB)'*
    *.log_archive_format='%t_%s_%r.dbf'*
    *.memory_target=7340032000*
    *.open_cursors=300*
    *.processes=2000*
    *.remote_login_passwordfile='EXCLUSIVE'*
    *.sessions=2205*
    *.undo_tablespace='UNDOTBS1'*
    DB_FILE_NAME_CONVERT=('/u10/oradata/sin/','DG_DATA/',+*
    +'/u11/oradata/sin/','+DG_DATA/',+
    +'/u07/oradata/sin/','+DG_DATA/',+
    +'/u08/oradata/sin/','+DG_DATA/',+
    +'/u09/oradata/sin/','+DG_DATA/')+
    LOG_FILE_NAME_CONVERT=('/u04/oradata/sin/','DG_DATA/',+*
    +'/u05/oradata/sin/','+DG_DATA/',+
    +'/u03/oradata/sin/','+DG_DATA/',+
    +'/u02/oradata/sin/','+DG_DATA/')+
    and this is my command from RMAN:
    run*
    *+{+*
    allocate channel c1 type disk;*
    allocate channel c2 type disk;*
    allocate channel c3 type disk;*
    allocate channel c4 type disk;*
    allocate auxiliary channel a1 type disk;*
    allocate auxiliary channel a2 type disk;*
    set newname for datafile 1 to 'DG_DATA';+*
    set newname for datafile 2 to 'DG_DATA';+*
    set newname for datafile 3 to 'DG_DATA';+*
    set newname for datafile 4 to 'DG_DATA';+*
    set newname for datafile 5 to 'DG_DATA';+*
    set newname for datafile 6 to 'DG_DATA';+*
    set newname for datafile 7 to 'DG_DATA';+*
    set newname for datafile 8 to 'DG_DATA';+*
    set newname for datafile 9 to 'DG_DATA';+*
    set newname for datafile 10 to 'DG_DATA';+*
    +...+
    set newname for datafile 390 to 'DG_DATA';+*
    set newname for datafile 391 to 'DG_DATA';+*
    duplicate target database to "sin" from active database nofilenamecheck*
    DB_FILE_NAME_CONVERT=('/u10/oradata/sin/','DG_DATA/',+*
    +'/u11/oradata/sin/','+DG_DATA/',+
    +'/u07/oradata/sin/','+DG_DATA/',+
    +'/u08/oradata/sin/','+DG_DATA/',+
    +'/u09/oradata/sin/','+DG_DATA/');+
    +}+
    do you think the problem may be in the name of the database?, I am using the same name in the auxiliary
    and when I get the error, I have the same dbid in both databases (source and destination)
    Thanks
    MM

  • While cloning the rman database ORA-19505

    Hi ,
    Can anybody tell me where am i going wrong
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/24/2008 17:53:25
    RMAN-03015: error occurred in stored script Memory Script
    ORA-19505: failed to identify file "/backups/RMAN/FULL_lpj6tn6k_1_1"
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Recovery Manager complete.
    thanks in advance

    ORA-19505: failed to identify file "/backups/RMAN/FULL_lpj6tn6k_1_1"
    SVR4 Error: 2: No such file or directory
    where did your file /backups/RMAN/FULL_lpj6tn6k_1_1 go?

  • RMAN-03002 RMAN Error !

    Hello,For testing purposes I am duplicating my database from 11gR1 to 11gR2 on Windows XP.
    The Oracle Sid of my database SOurce, which is in 11gR1 is : DB01.
    The Oracle Sid of my auxiliary database , which is in 11gR2 is : DB02.
    I am using RMAN for the duplication.
    First of all, I have create a pfile from the DB01 and modified it as following :
    *.audit_trail='DB_EXTENDED'
    *.compatible='11.1.0.0.0'
    *.control_files=('C:\app\werner\oradata\db02\CONTROL01.CTL','C:\app\werner\oradata\db02\CONTROL02.CTL','C:\app\werner\oradata\db02\CONTROL03.CTL')
    *.db_file_name_convert=('F:\app\werner\oradata\db01','C:\app\werner\oradata\db02')
    *.log_file_name_convert=('F:\app\werner\oradata\db01','C:\app\werner\oradata\db02')
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='db01'
    *.db_recovery_file_dest_size=21474836480
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=db01XDB)'
    *.memory_target=857735168
    *.nls_numeric_characters=',.'
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'The I startup my DB02 in nomount state with :
    startup nomount pfile=C:\app\werner\product\11.2.0\dbhome_1\pfile.orafrom RMAN :
    I have backup the whole DB01 (the target database) database with Archivelog all. and connect to the auxiliary nomount DB02 database and
    I issue the command duplicate target database to db01 but I have the following Error which means I think the auxiliary database stop at mount state
    RMAN> duplicate target database to db01;
    Iniciando Duplicate Db en 13/09/10
    canal asignado: ORA_AUX_DISK_1
    canal ORA_AUX_DISK_1: SID=10 tipo de dispositivo=DISK
    contenido del archivo de comandos de memoria:
       set until scn  10225405;
       set newname for datafile  1 to
    "C:\APP\WERNER\ORADATA\DB02\SYSTEM01.DBF";
       set newname for datafile  2 to
    "C:\APP\WERNER\ORADATA\DB02\SYSAUX01.DBF";
       set newname for datafile  3 to
    "C:\APP\WERNER\ORADATA\DB02\UNDOTBS01.DBF";
       set newname for datafile  4 to
    "C:\APP\WERNER\ORADATA\DB02\USERS01.DBF";
       set newname for datafile  5 to
    "C:\APP\WERNER\ORADATA\DB02\EXAMPLE01.DBF";
       set newname for datafile  6 to
    "C:\APP\WERNER\ORADATA\DB02\DATA01.DBF";
       set newname for datafile  7 to
    "C:\APP\WERNER\ORADATA\DB02\REPOSITORY_FOR_RMAN.DBF";
       restore
       clone database
    ejecutando archivo de comandos de memoria
    ejecutando el comando: SET until clause
    ejecutando el comando: SET NEWNAME
    ejecutando el comando: SET NEWNAME
    ejecutando el comando: SET NEWNAME
    ejecutando el comando: SET NEWNAME
    ejecutando el comando: SET NEWNAME
    ejecutando el comando: SET NEWNAME
    ejecutando el comando: SET NEWNAME
    Iniciando restore en 13/09/10
    usando el canal ORA_AUX_DISK_1
    canal ORA_AUX_DISK_1: iniciando restauraci¾n del juego de copias de seguridad de
    archivos de datos
    canal ORA_AUX_DISK_1: especificando archivo(s) de datos para restaurar del juego
    de copias de seguridad
    canal ORA_AUX_DISK_1: restaurando el archivo de datos 00001 a C:\APP\WERNER\O
    RADATA\DB02\SYSTEM01.DBF
    canal ORA_AUX_DISK_1: restaurando el archivo de datos 00002 a C:\APP\WERNER\O
    RADATA\DB02\SYSAUX01.DBF
    canal ORA_AUX_DISK_1: restaurando el archivo de datos 00003 a C:\APP\WERNER\O
    RADATA\DB02\UNDOTBS01.DBF
    canal ORA_AUX_DISK_1: restaurando el archivo de datos 00004 a C:\APP\WERNER\O
    RADATA\DB02\USERS01.DBF
    canal ORA_AUX_DISK_1: restaurando el archivo de datos 00005 a C:\APP\WERNER\O
    RADATA\DB02\EXAMPLE01.DBF
    canal ORA_AUX_DISK_1: restaurando el archivo de datos 00006 a C:\APP\WERNER\O
    RADATA\DB02\DATA01.DBF
    canal ORA_AUX_DISK_1: restaurando el archivo de datos 00007 a C:\APP\WERNER\O
    RADATA\DB02\REPOSITORY_FOR_RMAN.DBF
    canal ORA_AUX_DISK_1: leyendo desde la parte de copia de seguridad F:\APP\DB01\FLASH_RECOVERY_AREA\DB01\BACKUPSET\2010_09_13\O1_MF_NNNDF_TAG20100913T21141
    8_68WY0CBQ_.BKP
    canal ORA_AUX_DISK_1: manejador de parte=F:\APP\DB01\FLASH_RECOVERY_AREA\DB01\BACKUPSET\2010_09_13\O1_MF_NNNDF_TAG20100913T211418_68WY0CBQ_.BKP etiqueta=T
    AG20100913T211418
    canal ORA_AUX_DISK_1: parte 1 de la copia de seguridad restaurada
    canal ORA_AUX_DISK_1: restauraci¾n terminada, tiempo transcurrido: 00:04:45
    restore terminado en 13/09/10
    sentencia sql: CREATE CONTROLFILE REUSE SET DATABASE "DB01" RESETLOGS ARCHIVE
    LOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
    LOGFILE
      GROUP  1 ( 'C:\APP\WERNER\ORADATA\DB02\REDO01.LOG' ) SIZE 50 M  REU
    SE,
      GROUP  2 ( 'C:\APP\WERNER\ORADATA\DB02\REDO02.LOG' ) SIZE 50 M  REU
    SE,
      GROUP  3 ( 'C:\APP\WERNER\ORADATA\DB02\REDO03.LOG' ) SIZE 50 M  REU
    SE
    DATAFILE
      'C:\APP\WERNER\ORADATA\DB02\SYSTEM01.DBF'
    CHARACTER SET AL32UTF8
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: fallo del comando Duplicate Db en 09/13/2010 21:21:29
    RMAN-06136: error ORACLE en la base de datos auxiliar: ORA-01503: CREATE CONTROL
    FILE ha fallado
    ORA-01158: base de datos  ya montada
    RMAN>
    RMAN>Can you help me please,
    Thank you

    Hemant K Chitale wrote:
    duplicate target database to db01That is wrong. you would be duplicating the target (db01) to the auxiliary (db02).
    You have the database connections and command the wrong-way around.
    Hemant K ChitaleIn have got this error now, using duplicate target database to db02;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00601: fatal error in recovery manager
    RMAN-03004: error fatal al ejecutar el comando
    RMAN-10041: No se ha podido volver a crear el contexto del canal de sondeo despuÚs del fallo.
    RMAN-10024: error al crear la configuraci¾n para el sondeo rpc
    RMAN-10005: error al abrir el cursor
    RMAN-10002: error ORACLE: ORA-03114: not connected to ORACLE
    RMAN-03002: fallo del comando Duplicate Db en 09/14/2010 12:28:48
    RMAN-03015: se ha producido un error en el archivo de comandos Memory Script almacenado
    RMAN-06136: error ORACLE en la base de datos auxiliar: ORA-01092: ORACLE instance terminated. Disconnection
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Identificador de Proceso: 3696
    Identificador de Sesi¾n: 125 N·mero de Serie: 9

  • RMAN-03002: failure of recover command

    Hi all,
    I am testing a new backup and restore mechanism of a 11.2 system in Linux. A third mirror of the disks from the database server has been split and mounted in a media server. An RMAN backup was taken then, on tape, using HP Data Protector. Then, in the media server again, I mounted all the disk groups and removed all the files from ASM via asmcmd. With everything cleared, I proceeded in doing the following:
    1. Started up nomount using an old PFILE.
    2. Initiated an RMAN session and SET DBID, connected to the target and the catalog. Restore the SPFILE in a PFILE.
    3. Shutdow and started up nomount with PFILE the newly created file (edited it first to comment out CLUSTER_DATABASE parameter, as the media server is not configured for this).
    4. Restored the contorl file. This was done successfully.
    5. Restored the database. This was done successfully.
    6. Mounted the database and attempted to recover it. I received the following error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/12/2013 09:42:24
    RMAN-06094: datafile 1 must be restored
    7. I attempted a recover from SQL*Plus; the error message was a little more helpful:
    SQL> recover database using backup controlfile;
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 1: '+BT1_A_SYSTEM/bt1_a/datafile/system.259.813148661'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '+BT1_A_SYSTEM/bt1_a/datafile/system.259.813148661'
    8. I checked my source database and the file name is as it appears above. But in the restored system, the file has a different name:
    ASMCMD> pwd
    +BT1_A_SYSTEM/BT1_A/DATAFILE
    ASMCMD> ls -l SYSTEM*
    Type      Redund  Striped  Time             Sys  Name
    DATAFILE  UNPROT  COARSE   JUL 11 16:00:00  Y    SYSTEM.257.820514399
    9. OK. I presume that this happened because we are using OMF. But, I was expecting RMAN to specify the full file names and thus restore them with their original names. The problem is now that the control file has the original file names, which cannot be found in the media server, where the restore took place. I am wondering if I should MOUNT the database after the control file restore and before I start the database restore, so RMAN might have the opportunity of renaming the file names in the control file.
    Has anyone encountered this problem? I would appreciate some help.
    Regards,
    Takis.

    That is correct Hemant. I latter realised my mistake.
    When I mounted the database, the control file was opened. Then I repeated the restore. RMAN, this time was able to access the control file and rename dynamically the files, as they were restored and getting their new names.
    So, I think, the correct sequence of events may be:
    1, Check in ASM if the disk groups are mounted (lsdg). If not, mount the disk groups (alter diskgroup <dg_name> mount;).
    2. Startup nomount (if no PFILE available, create a simple one with only db_name in it).
    3. From RMAN, set DBID and then connect to target and catalog.
    4. restore spfile to pfile from autobackup
    5. restore control file(s) from autobackup
    6. alter database mount
    7. restore database
    8. restore archivelog all
    9. recover database
    10. alter database open resetlogs
    In my case, this worked, by enslarge. RMAN stopped when it run out of archived redo logs.
    I then attempted, via SQL*Plus:
    recover database using backup controlfile until cancel
    When prompted, I typed: CANCEL
    That was fine, but then, when I attempted:
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 525336576 bytes disk space from 2147483648 limit
    So, I needed to increase the parameter db_recovery_file_dest_size which I did (in the pfile; luckily I had available space in the disk group). I shut down and started up (mount). Then:
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-00392: log 24 of thread 2 is being cleared, operation not allowed
    ORA-00312: online log 24 thread 2: '+BT1_A_RECO'
    So:
    SQL> alter database clear unarchived logfile group 24;
    Database altered.
    SQL> alter database open resetlogs;
    Database altered.
    SQL> select * from dual;
    D
    X
    Happy days!
    Regards,
    Takis.

  • RMAN-05501: RMAN-11003 ORA-00353: log corruption near block 2048 change

    Hi Gurus,
    I've posted few days ago an issue I got while recreating my Dataguard.
    The Main issue was while duplicating target from active database I got this errors during the recovery process.
    The Restore Process Went fine, RMAN Copied the Datafiles very well, but stop when at the moment to start the recovery process from the auxiliary db
    Yesterday I took one last try,
    I follow same procedure, the one described in all Oracle Docs, Google and so on ... it's not a secret I guess.
    The I got the same issue, same errors.
    I read soemthing about archivelogs, and the Block corruption and so on, I've tried so many things (register the log... etc etc ), and than I read something about "catalog the logfile)
    and that's waht I did.
    But I was just connect to the target db.
    contents of Memory Script:
    set until scn 1638816629;
    recover
    standby
    clone database
    delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 14-MAY-13
    starting media recovery
    archived log for thread 1 with sequence 32196 is already on disk as file /archives/CMOVP/stby/1_32196_810397891.arc
    archived log for thread 1 with sequence 32197 is already on disk as file /archives/CMOVP/stby/1_32197_810397891.arc
    archived log for thread 1 with sequence 32198 is already on disk as file /archives/CMOVP/stby/1_32198_810397891.arc
    archived log for thread 1 with sequence 32199 is already on disk as file /archives/CMOVP/stby/1_32199_810397891.arc
    archived log for thread 1 with sequence 32200 is already on disk as file /archives/CMOVP/stby/1_32200_810397891.arc
    archived log for thread 1 with sequence 32201 is already on disk as file /archives/CMOVP/stby/1_32201_810397891.arc
    archived log for thread 1 with sequence 32202 is already on disk as file /archives/CMOVP/stby/1_32202_810397891.arc
    archived log for thread 1 with sequence 32203 is already on disk as file /archives/CMOVP/stby/1_32203_810397891.arc
    archived log for thread 1 with sequence 32204 is already on disk as file /archives/CMOVP/stby/1_32204_810397891.arc
    archived log for thread 1 with sequence 32205 is already on disk as file /archives/CMOVP/stby/1_32205_810397891.arc
    archived log for thread 1 with sequence 32206 is already on disk as file /archives/CMOVP/stby/1_32206_810397891.arc
    archived log for thread 1 with sequence 32207 is already on disk as file /archives/CMOVP/stby/1_32207_810397891.arc
    archived log for thread 1 with sequence 32208 is already on disk as file /archives/CMOVP/stby/1_32208_810397891.arc
    archived log for thread 1 with sequence 32209 is already on disk as file /archives/CMOVP/stby/1_32209_810397891.arc
    archived log for thread 1 with sequence 32210 is already on disk as file /archives/CMOVP/stby/1_32210_810397891.arc
    archived log for thread 1 with sequence 32211 is already on disk as file /archives/CMOVP/stby/1_32211_810397891.arc
    archived log for thread 1 with sequence 32212 is already on disk as file /archives/CMOVP/stby/1_32212_810397891.arc
    archived log for thread 1 with sequence 32213 is already on disk as file /archives/CMOVP/stby/1_32213_810397891.arc
    archived log for thread 1 with sequence 32214 is already on disk as file /archives/CMOVP/stby/1_32214_810397891.arc
    archived log for thread 1 with sequence 32215 is already on disk as file /archives/CMOVP/stby/1_32215_810397891.arc
    archived log for thread 1 with sequence 32216 is already on disk as file /archives/CMOVP/stby/1_32216_810397891.arc
    archived log for thread 1 with sequence 32217 is already on disk as file /archives/CMOVP/stby/1_32217_810397891.arc
    archived log for thread 1 with sequence 32218 is already on disk as file /archives/CMOVP/stby/1_32218_810397891.arc
    archived log for thread 1 with sequence 32219 is already on disk as file /archives/CMOVP/stby/1_32219_810397891.arc
    archived log for thread 1 with sequence 32220 is already on disk as file /archives/CMOVP/stby/1_32220_810397891.arc
    archived log for thread 1 with sequence 32221 is already on disk as file /archives/CMOVP/stby/1_32221_810397891.arc
    archived log for thread 1 with sequence 32222 is already on disk as file /archives/CMOVP/stby/1_32222_810397891.arc
    archived log for thread 1 with sequence 32223 is already on disk as file /archives/CMOVP/stby/1_32223_810397891.arc
    archived log file name=/archives/CMOVP/stby/1_32196_810397891.arc thread=1 sequence=32196
    released channel: prm1
    released channel: stby1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/14/2013 01:11:33
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/archives/CMOVP/stby/1_32196_810397891.arc'
    ORA-00283: recovery session canceled due to errors
    ORA-00354: corrupt redo log block header
    ORA-00353: log corruption near block 2048 change 1638686297 time 05/13/2013 22:42:03
    ORA-00334: archived log: '/archives/CMOVP/stby/1_32196_810397891.arc'
    ################# What I did: ################################
    Rma target /
    RMAN>catalog archivelog '/archives/CMOVP/stby/1_32196_810397891.arc';
    The I connect to target and Auxiliary again :Rman target / catalog rman/rman@rman auxiliary
    and I run the last content of the failing memory script:RMAN> run
    set until scn 1638816629;
    recover
    standby
    clone database
    delete archivelog
    And The DB start the recovery Process and my Standby complete the recovery very weel with message "Recovery Finnish or Termintaed or Completed"
    The I could configure Datagurd
    And I check the process and the Log Apply was on and running fine, no gaps, perfect!!!!!
    How !!! Just Cataloging an "Supposed Corrupted"archive log !!!!!!
    If Any ideas, that ould be great to understand this.
    Rgds
    Carlos

    okKarol wrote:
    Hi Gurus,
    I've posted few days ago an issue I got while recreating my Dataguard.
    The Main issue was while duplicating target from active database I got this errors during the recovery process.
    The Restore Process Went fine, RMAN Copied the Datafiles very well, but stop when at the moment to start the recovery process from the auxiliary db
    Yesterday I took one last try,
    I follow same procedure, the one described in all Oracle Docs, Google and so on ... it's not a secret I guess.
    The I got the same issue, same errors.
    I read soemthing about archivelogs, and the Block corruption and so on, I've tried so many things (register the log... etc etc ), and than I read something about "catalog the logfile)
    and that's waht I did.
    But I was just connect to the target db.
    contents of Memory Script:
    set until scn 1638816629;
    recover
    standby
    clone database
    delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 14-MAY-13
    starting media recovery
    archived log for thread 1 with sequence 32196 is already on disk as file /archives/CMOVP/stby/1_32196_810397891.arc
    archived log for thread 1 with sequence 32197 is already on disk as file /archives/CMOVP/stby/1_32197_810397891.arc
    archived log for thread 1 with sequence 32198 is already on disk as file /archives/CMOVP/stby/1_32198_810397891.arc
    archived log for thread 1 with sequence 32199 is already on disk as file /archives/CMOVP/stby/1_32199_810397891.arc
    archived log for thread 1 with sequence 32200 is already on disk as file /archives/CMOVP/stby/1_32200_810397891.arc
    archived log for thread 1 with sequence 32201 is already on disk as file /archives/CMOVP/stby/1_32201_810397891.arc
    archived log for thread 1 with sequence 32202 is already on disk as file /archives/CMOVP/stby/1_32202_810397891.arc
    archived log for thread 1 with sequence 32203 is already on disk as file /archives/CMOVP/stby/1_32203_810397891.arc
    archived log for thread 1 with sequence 32204 is already on disk as file /archives/CMOVP/stby/1_32204_810397891.arc
    archived log for thread 1 with sequence 32205 is already on disk as file /archives/CMOVP/stby/1_32205_810397891.arc
    archived log for thread 1 with sequence 32206 is already on disk as file /archives/CMOVP/stby/1_32206_810397891.arc
    archived log for thread 1 with sequence 32207 is already on disk as file /archives/CMOVP/stby/1_32207_810397891.arc
    archived log for thread 1 with sequence 32208 is already on disk as file /archives/CMOVP/stby/1_32208_810397891.arc
    archived log for thread 1 with sequence 32209 is already on disk as file /archives/CMOVP/stby/1_32209_810397891.arc
    archived log for thread 1 with sequence 32210 is already on disk as file /archives/CMOVP/stby/1_32210_810397891.arc
    archived log for thread 1 with sequence 32211 is already on disk as file /archives/CMOVP/stby/1_32211_810397891.arc
    archived log for thread 1 with sequence 32212 is already on disk as file /archives/CMOVP/stby/1_32212_810397891.arc
    archived log for thread 1 with sequence 32213 is already on disk as file /archives/CMOVP/stby/1_32213_810397891.arc
    archived log for thread 1 with sequence 32214 is already on disk as file /archives/CMOVP/stby/1_32214_810397891.arc
    archived log for thread 1 with sequence 32215 is already on disk as file /archives/CMOVP/stby/1_32215_810397891.arc
    archived log for thread 1 with sequence 32216 is already on disk as file /archives/CMOVP/stby/1_32216_810397891.arc
    archived log for thread 1 with sequence 32217 is already on disk as file /archives/CMOVP/stby/1_32217_810397891.arc
    archived log for thread 1 with sequence 32218 is already on disk as file /archives/CMOVP/stby/1_32218_810397891.arc
    archived log for thread 1 with sequence 32219 is already on disk as file /archives/CMOVP/stby/1_32219_810397891.arc
    archived log for thread 1 with sequence 32220 is already on disk as file /archives/CMOVP/stby/1_32220_810397891.arc
    archived log for thread 1 with sequence 32221 is already on disk as file /archives/CMOVP/stby/1_32221_810397891.arc
    archived log for thread 1 with sequence 32222 is already on disk as file /archives/CMOVP/stby/1_32222_810397891.arc
    archived log for thread 1 with sequence 32223 is already on disk as file /archives/CMOVP/stby/1_32223_810397891.arc
    archived log file name=/archives/CMOVP/stby/1_32196_810397891.arc thread=1 sequence=32196
    released channel: prm1
    released channel: stby1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/14/2013 01:11:33
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/archives/CMOVP/stby/1_32196_810397891.arc'
    ORA-00283: recovery session canceled due to errors
    ORA-00354: corrupt redo log block header
    ORA-00353: log corruption near block 2048 change 1638686297 time 05/13/2013 22:42:03
    ORA-00334: archived log: '/archives/CMOVP/stby/1_32196_810397891.arc'
    ################# What I did: ################################
    Rma target /
    RMAN>catalog archivelog '/archives/CMOVP/stby/1_32196_810397891.arc';
    The I connect to target and Auxiliary again :Rman target / catalog rman/rman@rman auxiliary
    and I run the last content of the failing memory script:RMAN> run
    set until scn 1638816629;
    recover
    standby
    clone database
    delete archivelog
    And The DB start the recovery Process and my Standby complete the recovery very weel with message "Recovery Finnish or Termintaed or Completed"
    The I could configure Datagurd
    And I check the process and the Log Apply was on and running fine, no gaps, perfect!!!!!
    How !!! Just Cataloging an "Supposed Corrupted"archive log !!!!!!
    If Any ideas, that ould be great to understand this.
    Rgds
    CarlosHi,
    Can you change standby database archive destination from /archives/CMOVP/stby/ other disk?
    I think this problem on your disk.
    Mahir
    p.s. I remember you before thread, too

  • RMAN-3002 ORA-19502 ORA-27072

    I'm doing restore and recover of the db using the following command:
    RMAN>
    run{
    set newname for datafile 6 to '/u01/app/oracle/oradata/orcl/tbsad01.dbf';
    restore database;
    recover database;
    I get the following errors during restore command
    RMAN-03002: failure of restore command(...)
    ORA-19502: write error on file "/u01/app/oracle/oradata/orcl/tbsad01.dbf", block no 6016(blocksize=8192)
    ORA-27072: File I/O error
    Linux Error: 2: No such file or directory
    But the directory exists. It's 10.2 database running on Linux.
    Thx,
    A.

    check space at this new mount point '/u01/app/oracle/oradata/orcl/' where you want to restore the file tbsad01.dbf.
    moreever restore only concerned tablespace rather alls tablespace i.e
    run{
    set newname for datafile 1 to
    '$HOME/ORADATA/u04/users01.dbf';
    restore tablespace users;
    switch datafile all;
    recover tablespace users;
    }Khurram

  • RMAN-05001 - RMAN-03002 | Duplicating Database fails | Redo-Logs

    Sorry guys,
    first of all...my english is the worsteds you´ve ever seen...
    I got some kind of problem using rman duplicating a DB called cs2t into cs2b.
    Starting Duplicate Db at 17.05.2006 07:54:10
    released channel: t1
    released channel: t2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/17/2006 07:54:10
    RMAN-05501: aborting duplication of target database
    RMAN-05001: auxiliary filename /oracle/orasys/cs2t/redo05.log conflicts with a file used by the target database
    RMAN-05001: auxiliary filename /oracle/orasys/cs2t/redo04.log conflicts with a file used by the target database
    RMAN-05001: auxiliary filename /oracle/orasys/cs2t/redo03.log conflicts with a file used by the target database
    RMAN-05001: auxiliary filename /oracle/orasys/cs2t/redo02.log conflicts with a file used by the target database
    RMAN-05001: auxiliary filename /oracle/orasys/cs2t/redo01.log conflicts with a file used by the target database
    Recovery Manager complete.
    Therefore I found on metalink some informations about using UNTIL TIME.
    I´ve tryed it....but now...there are some other erros on my rman.log
    executing command: SET until clause
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of set command at 05/17/2006 08:22:14
    ORA-01830: date format picture ends before converting entire input string
    Recovery Manager complete.
    and now: no ideas anymore...i´ve googled for it about 3hours...nothing found....may anybody help me - please?
    P.S. I hope you´ll understand anything i´ve wrote into this message ;-)

    hi,
    you have to use db_file_name_convert and db_log-filename_convert parameter in the auxiliary database parameter file and use nofilenamecheck parameter with the duplicate command.
    This is also recommended that you create new redo og files for auxiliary databse just like --
    RMAN> run{
    2> allocate auxiliary channel c1 device type disk;
    3> duplicate target database to prod1 pfile='c:\oracle\ora92\database\initprod1.ora'
    4> logfile 'c:\oracle\oradata\prod1\redo01.log' size 50m,
    5> 'c:\oracle\oradata\prod1\redo02.log' size 50m,
    6> 'c:\oracle\oradata\prod1\redo03.log' size 50m ;}
    i hope it solve your problem..
    Navneet

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

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

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

  • RMAN-03002: failure of delete command

    DB:10.2.0.3.0
    OS:AIX 64 bits
    Hi All,
    We have configured backup default device on Disk.
    On using the command within run block:
    delete noprompt obsolete;
    We get the error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 02/06/2009 11:07:04
    RMAN-06091: no channel allocated for maintenance (of an appropriate type)
    RMAN>
    Recovery Manager complete.
    Return Code: 1
    Now when we use the commmand :RMAN> delete noprompt obsolete device type disk;
    We do not get the above error.
    Question: Is it necessary to issue the command - "device type disk"; as above with "delete noprompt obsolete " though default backup device type is configured to DISK.Won't RMAN itself identify the default device type - Disk.
    Thanks for your time!
    Regards,

    RMAN> show all;
    starting full resync of recovery catalog
    full resync complete
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/production_dump/database/EW01/Backup%d_DB_%u_%s_%p_%T';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/apps/ew01/oracle/10.2.0/dbs/snapcf_ew01.f'; # default
    RMAN>
    RMAN>

  • RMAN ERROR ORA-04030 out of process memory allocate 1049100 bytes pga heap

    Hello,
    I have this problem with a production database 9.2.0.8.
    I attach the parameters from production database and repository rman database (9.2.0.8).
    PRODUCTION DB SERVER 9.2.0.8
    WINDOWS SERVER 2003 R2 SP1
    SQL> SHOW PARAMETER SGA
    NAME VALUE
    lock_sga FALSE
    pre_page_sga FALSE
    sga_max_size 1888562548
    SQL>
    SQL> SHOW PARAMETER PGA
    NAME VALUE
    pga_aggregate_target 335544320
    SQL> SHOW PARAMETER POOL
    NAME VALUE
    java_pool_size 33554432
    large_pool_size 134217728
    shared_pool_reserved_size 13421772
    shared_pool_size 268435456
    SQL> SHOW PARAMETER CACHE
    NAME VALUE
    db_cache_advice ON
    db_cache_size 1073741824
    REPOSITORY RMAN DB SERVER 9.2.0.8
    WINDOWS SERVER 2000 SP4
    SQL> SHOW PARAMETER SGA
    NAME VALUE
    lock_sga FALSE
    pre_page_sga FALSE
    sga_max_size 1074865628
    SQL> SHOW PARAMETER PGA
    NAME VALUE
    pga_aggregate_target 134217728
    SQL> SHOW PARAMETER POOL
    NAME VALUE
    java_pool_size 33554432
    large_pool_size 134217728
    shared_pool_reserved_size 6710886
    shared_pool_size 134217728
    SQL> SHOW PARAMETER CACHE
    NAME VALUE
    db_cache_size 134217728
    SCRIPT RMAN
    run {
    allocate channel t1 type disk;
    allocate channel t2 type disk;
    backup skip readonly filesperset = 1 format 'E:\rman\BDWEBEXT\BD_%d_%u_%s_%p.rmn' tag 'Backup Completo BDWEBEXT' database;
    release channel t1;
    release channel t2;
    ERROR
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on t2 channel at 02/09/2008 14:46:58
    ORA-04030: out of process memory when trying to allocate 1049100 bytes (pga heap,KSFQ Buffers)
    Recovery Manager complete.
    Does someone know that it can be?
    Thank you

    how solve  ORA-04030: out of process memory when trying to allocate
    Sybrand Bakker
    Senior Oracle DBA

  • Cannot make rman backup - ORA-19501

    Hello,
    database and grid infrastuture 11.2.0.1 in Solaris X86
    I am trying to make an rman backup of 2 databases located in ASM but when I try it I have the following error:
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/08/2011 15:38:04
    ORA-19501: read error on file "+DG/prd.dbf", block number 28544 (block size=8192)
    ORA-15081: failed to submit an I/O operation to a disk
    ORA-15081: failed to submit an I/O operation to a disk
    The alertlog of the database, when I run the rman has the following errors:
    ORA-27063: number of bytes read/written is incorrect
    WARNING: IO Failed. group:2 disk(number.incarnation):0.0xf0f2117f disk_path:/dev/rdsk/c5t60060480000290104585533031374538d0s6
    AU:7063 disk_offset(bytes):7406092288 io_size:1048576 operation:Read type:asynchronous
    result:I/O error process_id:14808
    WARNING: failed to read mirror side 1 of virtual extent 139 logical extent 0 of file 273 in group [2.4251116087] from disk DG001 allocation unit 7063 reason error; if possible,will try another mirror side
    ORA-15080: synchronous I/O operation to a disk failed
    WARNING: failed to write mirror side 1 of virtual extent 139 logical extent 0 of file 273 in group 2 on disk 0 allocation unit 7063
    My suspicious was problems with ASM but I have no errors in ASM. All disks are OK and the databases are working fine.
    I runned dbverify against the database datafiles and no problems at all.
    The problems seems like the Bug 9068033: RMAN BACKUP FAILED INTERMITTENT ORA-19501 ORA-2706, or bug 8510426 but I can't see any solution in metalink and this bug probably aplies to 10g and not 11g.
    Can you please help me out?
    Thank you.

    The errors look like problems in the I/O system, I don't think there's block corruption from Oracle's point of view. Nevertheless you may check which object owns block 28544 in datafile +DG/prd.dbf.
    select file_id from dba_data_files
    where file_name = '+DG/prd.dbf';
    SELECT SEGMENT_NAME, SEGMENT_TYPE
    FROM DBA_EXTENTS
    WHERE FILE_ID = <file_id from above>
    AND 28544 BETWEEN block_id AND block_id + blocks;
    It may be the block belongs to nothing, but there's still a physical defect. I remember a problem where RMAN complained about a bad block, but no issues in the database business. The reason no object owned this block, so the database did never access it.
    Werner

Maybe you are looking for

  • My Nokia Lumia 1520 has a plethora of issues

    This is mainly about my Nokia Lumia 1520, but also some other Nokia Lumia phones. After I inherited my Nokia Lumia 1520 I had to wait a few weeks before I could install Windows Phone 8.1 (Blue) + Nokia Lumia Cyan on it, after doing so I signed in wit

  • Is this normal or am I screwed?

    Hi, I just got a $25 500mb data plan from my carrier Fido. When I go to Settings>General>Usage and look at my Sent and Received data, I notice that it it keeps increasing. For example, it will be at 605kb sent and 4.6mb received and then when I reche

  • Can't find Originals and Modified files in finder

    Just upgraded to iPhoto 9 and find that the Original and Modified folders are missing. I can find them when I get file info from a photo in iphoto and they seem to be subfiles of the iphoto app. However in finder, they are not accessible. Am I missin

  • Anyconnect log in error

    Anyone seen this before? The VPN client was unable to setup IP filtering. A VPN connection will not be established. We have a Vendor trying to connect with Windows 7 and they are getting this error. I found this from the Cisco site but was wondering

  • Trouble installing Camera Raw plugin

    I've downloaded the 5_7_updater for CS4 and when I try to run it, I'm getting a message that Adobe Bridge is running.  I've restarted my computer, but it's not helping. Has any one else run into this problem?