No backup or copy of datafile 4 found to restore Error ??
Hi,
I have a 2 Virtual machine with Oracle 10g on OEL.
Let's say machine 1 is called : OEL-SOURCE MACHINE
Let's say machine 1 is called : DR-TARGET MACHINE
When i am trying to restore rman backup on 2 machine 'DR', it comes with the message "RMAN-06023: no backup or copy of datafile 4 found to restore"
Here are the steps that i followed on Machine 1 i.e. OEL-SOURCE MACHINE :
RMAN>
Oracle instance started
database mounted
database opened
Total System Global Area 285212672 bytes
Fixed Size 1218992 bytes
Variable Size 83887696 bytes
Database Buffers 197132288 bytes
Redo Buffers 2973696 bytes
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
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 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 '/va00/oracle/product/10.2.0/db_1/dbs/snapcf_mytest.f'; # default
RMAN> backup database plus archivelog;
Starting backup at 26-OCT-10
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=14 recid=12 stamp=733426429
input archive log thread=1 sequence=15 recid=13 stamp=733426789
input archive log thread=1 sequence=16 recid=14 stamp=733426795
input archive log thread=1 sequence=17 recid=15 stamp=733426801
input archive log thread=1 sequence=18 recid=16 stamp=733426801
input archive log thread=1 sequence=19 recid=17 stamp=733426855
input archive log thread=1 sequence=20 recid=18 stamp=733426856
input archive log thread=1 sequence=21 recid=19 stamp=733426861
input archive log thread=1 sequence=22 recid=20 stamp=733426862
input archive log thread=1 sequence=23 recid=21 stamp=733436688
input archive log thread=1 sequence=24 recid=22 stamp=733437082
channel ORA_DISK_1: starting piece 1 at 26-OCT-10
channel ORA_DISK_1: finished piece 1 at 26-OCT-10
piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp tag=TAG20101026T203122 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 26-OCT-10
Starting backup at 26-OCT-10
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf
input datafile fno=00005 name=/va02/oracle/oradata/mytest/company_tab_01.dbf
input datafile fno=00006 name=/va03/oracle/oradata/mytest/company_idx_01.dbf
input datafile fno=00003 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf
input datafile fno=00002 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf
input datafile fno=00004 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf
channel ORA_DISK_1: starting piece 1 at 26-OCT-10
channel ORA_DISK_1: finished piece 1 at 26-OCT-10
piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp tag=TAG20101026T203125 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05
Finished backup at 26-OCT-10
Starting backup at 26-OCT-10
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=25 recid=23 stamp=733437151
channel ORA_DISK_1: starting piece 1 at 26-OCT-10
channel ORA_DISK_1: finished piece 1 at 26-OCT-10
piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp tag=TAG20101026T203231 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 26-OCT-10
Starting Control File and SPFILE Autobackup at 26-OCT-10
piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 26-OCT-10This completed the RMAN
Now i listed the backup with RMAN
RMAN> list backup
2> ;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
9 1.99M DISK 00:00:02 26-OCT-10
BP Key: 9 Status: AVAILABLE Compressed: NO Tag: TAG20101026T203122
Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
List of Archived Logs in backup set 9
Thrd Seq Low SCN Low Time Next SCN Next Time
1 14 545557 26-OCT-10 545610 26-OCT-10
1 15 545610 26-OCT-10 546080 26-OCT-10
1 16 546080 26-OCT-10 546083 26-OCT-10
1 17 546083 26-OCT-10 546086 26-OCT-10
1 18 546086 26-OCT-10 546088 26-OCT-10
1 19 546088 26-OCT-10 546114 26-OCT-10
1 20 546114 26-OCT-10 546116 26-OCT-10
1 21 546116 26-OCT-10 546119 26-OCT-10
1 22 546119 26-OCT-10 546121 26-OCT-10
1 23 546121 26-OCT-10 567862 26-OCT-10
1 24 567862 26-OCT-10 568231 26-OCT-10
BS Key Type LV Size Device Type Elapsed Time Completion Time
10 Full 515.82M DISK 00:01:04 26-OCT-10
BP Key: 10 Status: AVAILABLE Compressed: NO Tag: TAG20101026T203125
Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
List of Datafiles in backup set 10
File LV Type Ckp SCN Ckp Time Name
1 Full 568235 26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf
2 Full 568235 26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf
3 Full 568235 26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf
4 Full 568235 26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf
5 Full 568235 26-OCT-10 /va02/oracle/oradata/mytest/company_tab_01.dbf
6 Full 568235 26-OCT-10 /va03/oracle/oradata/mytest/company_idx_01.dbf
BS Key Size Device Type Elapsed Time Completion Time
11 17.50K DISK 00:00:01 26-OCT-10
BP Key: 11 Status: AVAILABLE Compressed: NO Tag: TAG20101026T203231
Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
List of Archived Logs in backup set 11
Thrd Seq Low SCN Low Time Next SCN Next Time
1 25 568231 26-OCT-10 568267 26-OCT-10
BS Key Type LV Size Device Type Elapsed Time Completion Time
12 Full 6.80M DISK 00:00:00 26-OCT-10
BP Key: 12 Status: AVAILABLE Compressed: NO Tag: TAG20101026T203234
Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
Control File Included: Ckp SCN: 568273 Ckp time: 26-OCT-10
SPFILE Included: Modification time: 26-OCT-10
RMAN> Then i reported obsolete, and as we can see my datafile is not listed here which is good.
RMAN> report obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Report of obsolete backups and copies
Type Key Completion Time Filename/Handle
Archive Log 12 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
Archive Log 13 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
Archive Log 14 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
Archive Log 15 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
Archive Log 16 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
Archive Log 17 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
Archive Log 18 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
Archive Log 19 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
Archive Log 20 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
Archive Log 21 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
Archive Log 22 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
Backup Set 9 26-OCT-10
Backup Piece 9 26-OCT-10 /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkpI transferred complete RMAN folder to 2nd machine & switched to second Machine i..e DR-TARGET MACHINE
[oracle@localhost ~]$ export ORACLE_SID=mytest
[oracle@localhost ~]$ rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Oct 26 20:48:49 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> set dbid=2432458060;
executing command: SET DBID
RMAN> startup nomount;
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/va00/oracle/product/10.2.0/db_1/dbs/initmytest.ora'
starting Oracle instance without parameter file for retrival of spfile
Oracle instance started
Total System Global Area 159383552 bytes
Fixed Size 1218268 bytes
Variable Size 54528292 bytes
Database Buffers 100663296 bytes
Redo Buffers 2973696 bytes
RMAN> restore spfile from '/tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp';
Starting restore at 26-OCT-10
using channel ORA_DISK_1
channel ORA_DISK_1: autobackup found: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
channel ORA_DISK_1: SPFILE restore from autobackup complete
Finished restore at 26-OCT-10
RMAN> shutdown immediate
Oracle instance shut down
RMAN> startup nomount;
connected to target database (not started)
Oracle instance started
Total System Global Area 285212672 bytes
Fixed Size 1218992 bytes
Variable Size 83887696 bytes
Database Buffers 197132288 bytes
Redo Buffers 2973696 bytes
RMAN> restore controlfile from '/tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp';
Starting restore at 26-OCT-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
output filename=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dh1d2o5_.ctl
output filename=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dh1d31n_.ctl
Finished restore at 26-OCT-10
RMAN> shutdown immediate
Oracle instance shut down
RMAN> startup force mount;
Oracle instance started
database mounted
Total System Global Area 285212672 bytes
Fixed Size 1218992 bytes
Variable Size 83887696 bytes
Database Buffers 197132288 bytes
Redo Buffers 2973696 bytes
RMAN> catalog start with '/tmp/rman_backups_third_set/';
searching for all files that match the pattern /tmp/rman_backups_third_set/
List of Files Unknown to the Database
=====================================
File Name: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_28_6dh0dpsb_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_29_6dh0dqoy_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_26_6dh0df44_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_27_6dh0djqt_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_25_6dh09h1c_.arc
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_28_6dh0dpsb_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_29_6dh0dqoy_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_26_6dh0df44_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_27_6dh0djqt_.arc
File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_25_6dh09h1c_.arc
List of Files Which Where Not Cataloged
=======================================
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log
RMAN-07529: Reason: catalog is not supported for this file type
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log
RMAN-07529: Reason: catalog is not supported for this file type
File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log
RMAN-07529: Reason: catalog is not supported for this file type
Here comes the issue ...when i try to restore the db
RMAN> restore database;
Starting restore at 26-OCT-10
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 10/26/2010 20:53:13
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 restoreSO MY QUESTION OR DOUBT IS WHY AT THE END IT FAILS THAT THERE IS NO BACKUP FOR DATAFILE 1,2,3,4 ??? AS WE CAN SEE ABOVE IT IS PRESENT IN MY BACKUPSET ??
ANY IDEA /HINTS/TIPS ?
I searched on google and somebody mentioned to a similar case that it could be a problem with 'CONFIGURE CONTROLFILE AUTOBACKUP OFF' where as in my case i have set it to 'CONFIGURE CONTROLFILE AUTOBACKUP ON'
Somehow looks like that the control file is not having latest backup info ... :-( I already took a fresh backup 2 times and landed up in same issue.. not sure where i am doing a mistake.
Regards
Learner
No replies ... :-(
Meanwhile i also looked in the trace file folder to see if there are any clues. here goes the content of alert_log.file
Tue Oct 26 23:28:59 2010
Shutting down instance: further logons disabled
Tue Oct 26 23:28:59 2010
Stopping background process CJQ0
Tue Oct 26 23:28:59 2010
Stopping background process MMNL
Tue Oct 26 23:28:59 2010
Stopping background process MMON
Tue Oct 26 23:28:59 2010
Shutting down instance (immediate)
License high water mark = 5
Tue Oct 26 23:29:00 2010
Stopping Job queue slave processes
Tue Oct 26 23:29:00 2010
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Tue Oct 26 23:29:05 2010
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
Tue Oct 26 23:29:16 2010
alter database close
Tue Oct 26 23:29:16 2010
ORA-1109 signalled during: alter database close...
Tue Oct 26 23:29:16 2010
alter database dismount
Completed: alter database dismount
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Tue Oct 26 23:29:36 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 75497472
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 285212672
control_files = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dh49dgy_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dh49dkr_.ctl
db_block_size = 8192
__db_cache_size = 197132288
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_create_file_dest = /va00/oracle/product/10.2.0/db_1/oradata
db_recovery_file_dest = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
db_recovery_file_dest_size= 1572864000
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=mytestXDB)
job_queue_processes = 10
background_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
user_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
core_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
audit_file_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
db_name = mytest
open_cursors = 300
pga_aggregate_target = 94371840
PMON started with pid=2, OS id=4483
PSP0 started with pid=3, OS id=4485
MMAN started with pid=4, OS id=4487
DBW0 started with pid=5, OS id=4489
LGWR started with pid=6, OS id=4491
CKPT started with pid=7, OS id=4493
SMON started with pid=8, OS id=4495
RECO started with pid=9, OS id=4497
CJQ0 started with pid=10, OS id=4499
MMON started with pid=11, OS id=4501
Tue Oct 26 23:29:38 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=4503
Tue Oct 26 23:29:38 2010
starting up 1 shared server(s) ...
Tue Oct 26 23:29:39 2010
alter database mount
Tue Oct 26 23:29:43 2010
Setting recovery target incarnation to 3
Tue Oct 26 23:29:43 2010
Successful mount of redo thread 1, with mount id 2432571107
Tue Oct 26 23:29:43 2010
Database mounted in Exclusive Mode
Completed: alter database mount
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:30:00 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:32:16 2010
Shutting down instance: further logons disabled
Tue Oct 26 23:32:16 2010
Stopping background process MMNL
Tue Oct 26 23:32:16 2010
Stopping background process CJQ0
Tue Oct 26 23:32:17 2010
Stopping background process MMON
Tue Oct 26 23:32:17 2010
Shutting down instance (immediate)
License high water mark = 5
Tue Oct 26 23:32:17 2010
Stopping Job queue slave processes
Tue Oct 26 23:32:17 2010
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Tue Oct 26 23:32:23 2010
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
Tue Oct 26 23:32:33 2010
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
Tue Oct 26 23:32:38 2010
Process OS id : 4514 alive after kill
Errors in file
Tue Oct 26 23:32:39 2010
PMON failed to acquire latch, see PMON dump
Tue Oct 26 23:32:40 2010
alter database close
Tue Oct 26 23:32:40 2010
ORA-1109 signalled during: alter database close...
Tue Oct 26 23:32:40 2010
alter database dismount
Completed: alter database dismount
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Tue Oct 26 23:36:35 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 75497472
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 285212672
control_files = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dcg8wco_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dcg8wps_.ctl
db_block_size = 8192
__db_cache_size = 197132288
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_create_file_dest = /va00/oracle/product/10.2.0/db_1/oradata
db_recovery_file_dest = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
db_recovery_file_dest_size= 1572864000
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=mytestXDB)
job_queue_processes = 10
background_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
user_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
core_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
audit_file_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
db_name = mytest
open_cursors = 300
pga_aggregate_target = 94371840
PMON started with pid=2, OS id=4622
PSP0 started with pid=3, OS id=4624
MMAN started with pid=4, OS id=4626
DBW0 started with pid=5, OS id=4628
LGWR started with pid=6, OS id=4630
CKPT started with pid=7, OS id=4632
SMON started with pid=8, OS id=4634
RECO started with pid=9, OS id=4636
CJQ0 started with pid=10, OS id=4638
MMON started with pid=11, OS id=4640
MMNL started with pid=12, OS id=4642
Tue Oct 26 23:36:36 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Tue Oct 26 23:36:47 2010
Deleted Oracle managed file /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dcg8wco_.ctl
Deleted Oracle managed file /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dcg8wps_.ctl
Tue Oct 26 23:36:58 2010
Shutting down instance: further logons disabled
Tue Oct 26 23:36:58 2010
Stopping background process CJQ0
Tue Oct 26 23:36:58 2010
Stopping background process MMNL
Tue Oct 26 23:36:58 2010
Stopping background process MMON
Tue Oct 26 23:36:58 2010
Shutting down instance (immediate)
License high water mark = 3
Tue Oct 26 23:36:58 2010
Stopping Job queue slave processes
Tue Oct 26 23:36:58 2010
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Tue Oct 26 23:37:00 2010
alter database close
ORA-1507 signalled during: alter database close...
Tue Oct 26 23:37:00 2010
alter database dismount
ORA-1507 signalled during: alter database dismount...
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Tue Oct 26 23:37:10 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 75497472
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 285212672
control_files = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dhc2ymb_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dhc2yp5_.ctl
db_block_size = 8192
__db_cache_size = 197132288
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_create_file_dest = /va00/oracle/product/10.2.0/db_1/oradata
db_recovery_file_dest = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
db_recovery_file_dest_size= 1572864000
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=mytestXDB)
job_queue_processes = 10
background_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
user_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
core_dump_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
audit_file_dest = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
db_name = mytest
open_cursors = 300
pga_aggregate_target = 94371840
PMON started with pid=2, OS id=4654
PSP0 started with pid=3, OS id=4656
MMAN started with pid=4, OS id=4658
DBW0 started with pid=5, OS id=4660
LGWR started with pid=6, OS id=4662
CKPT started with pid=7, OS id=4664
SMON started with pid=8, OS id=4666
RECO started with pid=9, OS id=4668
CJQ0 started with pid=10, OS id=4670
MMON started with pid=11, OS id=4672
Tue Oct 26 23:37:11 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=4674
Tue Oct 26 23:37:11 2010
starting up 1 shared server(s) ...
Tue Oct 26 23:37:11 2010
alter database mount
Tue Oct 26 23:37:15 2010
Setting recovery target incarnation to 2
Tue Oct 26 23:37:15 2010
Successful mount of redo thread 1, with mount id 2432596903
Tue Oct 26 23:37:15 2010
Database mounted in Exclusive Mode
Completed: alter database mount
New incarnation branch detected in Backup, filename /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/some_o1_mf_s_733420244_6dghs7pn_.bkp
Inspection of file changed rdi from 2 to 3
Setting recovery target incarnation to 3
Tue Oct 26 23:37:23 2010
Setting recovery target incarnation to 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:23 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:31 2010
WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log is not supported
WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log is not supported
WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log is not supported
Expanded controlfile section 11 from 28 to 144 records
Requested to grow by 116 records; added 5 blocks of records
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Tue Oct 26 23:37:46 2010
Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3Not sure why does it says that it was unable to obtain file status .. is it because the dbf files could not be restored that's why ??
Also here goes the content of DBW trace file
[oracle@localhost bdump]$ cat mytest_dbw0_4660.trc
/va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /va00/oracle/product/10.2.0/db_1
System name: Linux
Node name: localhost.localdomain
Release: 2.6.18-194.el5
Version: #1 SMP Mon Mar 29 20:06:41 EDT 2010
Machine: i686
Instance name: mytest
Redo thread mounted by this instance: 1
Oracle process number: 5
Unix process pid: 4660, image: [email protected] (DBW0)
*** 2010-10-26 23:37:23.741
*** SERVICE NAME:() 2010-10-26 23:37:23.740
*** SESSION ID:(167.1) 2010-10-26 23:37:23.740
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
*** 2010-10-26 23:37:46.274
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Similar Messages
-
RMAN-06023: no backup or copy of datafile 5 found to restore ??
Hi,
Am on
Apps 12.0.4
DB 10gR2
Am trying to recover a datafile: got below error ?
Hex dump of (file 5, block 11701) in trace file /u01/app/oracle/admin/ora10g/udump/ora10g_ora_6482.trc
Corrupt block relative dba: 0x01402db5 (file 5, block 11701)
Bad check value found during backing up datafile
Data in bad block:
type: 0 format: 2 rdba: 0x01402db5
last change scn: 0×0000.00000000 seq: 0×1 flg: 0×05
spare1: 0×0 spare2: 0×0 spare3: 0×0
consistency value in tail: 0×00000001
check value in block header: 0x8bf5
computed block checksum: 0×2
Reread of blocknum=11701, file=/u01/app/oracle/oradata/ora10g/example01.dbf. found same corrupt data
RMAN> blockrecover datafile 5 block 11701;
Starting blockrecover at 23-AUG-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=139 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of blockrecover command at 10/23/2011 19:40:13
RMAN-06026: some targets not found – aborting restore
RMAN-06023: no backup or copy of datafile 5 found to restore
i dont have a backup of this datafile
Thanks
Edited by: NewAppsDBA on Oct 24, 2011 6:23 AMRMAN-03002: failure of blockrecover command at 10/23/2011 19:40:13
RMAN-06026: some targets not found – aborting restore
RMAN-06023: no backup or copy of datafile 5 found to restoreSearch MOS for those errors and go through the docs.
Thanks,
Hussein -
RMAN-06023: no backup or copy of datafile 3 found to restore
Hello,
i have searched the whole forum, but i didnt get anything.
i have rman backupset (x64), and i am trying to restore it to another machine, (same characteristic) but i got the error below.
help please.... :(
RMAN> run
2> {
3> ALLOCATE CHANNEL C1 DEVICE TYPE DISK;
4> RESTORE DATABASE;
5> }
using target database control file instead of recovery catalog
allocated channel: C1
channel C1: SID=170 device type=DISK
Starting restore at 03-MAY-10
released channel: C1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/03/2010 11:16:00
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 5 found to 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 restore
RMAN>Hello,
i am using 10 g and my backup set, is that enough?
RMAN> list backup;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
79 Full 12.85G DISK 00:26:51 12-JUN-09
BP Key: 79 Status: EXPIRED Compressed: NO Tag: BACKUP_BISE1DB_000_06
1209042215
Piece Name: F:\RMAN_BACKUP\2NKHDHB1_1_1
List of Datafiles in backup set 79
File LV Type Ckp SCN Ckp Time Name
1 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSTEM01.DBF
2 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\UNDOTBS01.DB
F
3 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSAUX01.DBF
4 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\USERS01.DBF
5 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\EXAMPLE01.DB
F
7 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_DIME
NSIONS_01.DBF
8 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_FACT
S_01_REORG0_REORG0.DBF
9 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_INDE
XES_01.DBF
10 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
ING_01_REORG0.DBF
11 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_DIME
NSIONS_01.DBF
12 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_FACT
S_01_REORG0_REORG0.DBF
13 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_INDE
XES_01.DBF
15 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_STAG
ING_01_REORG0.DBF
16 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
ING_02_REORG0.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
80 Full 7.17M DISK 00:00:04 12-JUN-09
BP Key: 80 Status: EXPIRED Compressed: NO Tag: BACKUP_BISE1DB_000_06
1209042215
Piece Name: F:\RMAN_BACKUP\2OKHDITH_1_1
SPFILE Included: Modification time: 12-JUN-09
Control File Included: Ckp SCN: 4254271191 Ckp time: 12-JUN-09
BS Key Type LV Size Device Type Elapsed Time Completion Time
81 Full 13.29G DISK 00:33:30 22-APR-10
BP Key: 81 Status: EXPIRED Compressed: NO Tag: BACKUP_BISE1DB_000_04
2210052403
Piece Name: F:\RMAN_BACKUP\2PLBPCV8_1_1
List of Datafiles in backup set 81
File LV Type Ckp SCN Ckp Time Name
1 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSTEM01.DBF
2 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\UNDOTBS01.DB
F
3 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSAUX01.DBF
4 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\USERS01.DBF
5 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\EXAMPLE01.DB
F
7 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_DIME
NSIONS_01.DBF
8 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_FACT
S_01_REORG0_REORG0.DBF
9 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_INDE
XES_01.DBF
10 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
ING_01_REORG0.DBF
11 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_DIME
NSIONS_01.DBF
12 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_FACT
S_01_REORG0_REORG0.DBF
13 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_INDE
XES_01.DBF
15 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_STAG
ING_01_REORG0.DBF
16 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
ING_02_REORG0.DBF
RMAN> -
Problem about RMAN-06023: no backup or copy of datafile 5 found to restore
here is the error info when i duplicate database use rman
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/19/2011 09:33:39
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 5 found to 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 restore
and following my operate steps
==================
auxiliary instance configure
1, create password file
$ orapwd file=/opt/app/oracle/product/10.2.0/db_1/dbs/orapwslavedb password=Myss123456 entries=30
2,edit tnsname.ora on auxilary so i can connect primary db and auxiliary
$ vi tnsname.ora (tnsping test pass)
PRIDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.40.214)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = pridb)
3,create pfile for auxiliary instance
$ vi initslavedb.ora
*.DB_BLOCK_SIZE=8192
*.DB_NAME=slavedb
*.CONTROL_FILES='/opt/app/oracle/oradata/slavedb/control01.ctl','/opt/app/oracl
e/oradata/slavedb/control02.ctl','/opt/app/oracle/oradata/slavedb/control03.ctl'
*.DB_FILE_NAME_CONVERT='/opt/app/oracle/oradata/primaryd','/opt/app/oracle/oradata/slavedb'
*.LOG_FILE_NAME_CONVERT='/opt/app/oracle/oradata/primaryd','/opt/app/oracle/oradata/slavedb'
4,start auxiliary instance nomount and create spfile,then shutdown it,and startup to nomount status again
5,backup target database
RMAN> backup database;
6, create directory on slavedb,and transforer target backupset and archlog to salvedb
$ mkdir -p /opt/app/oracle/flash_recovery_area/PRIDB/backupset/2011_08_19
$ mkdir -p /opt/app/oracle/flash_recovery_area/PRIDB/archivelog/2011_08_19
7,run duplicate commandline on auxiliary
[oracle@localhost admin]$ rman target sys/Myss123456@pridb auxiliary /
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Aug 19 10:46:05 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: PRIDB (DBID=969477968, not open)
connected to auxiliary database: SLAVEDB (not mounted)
RMAN> duplicate target database to 'slavedb'
2> nofilenamecheck;
Starting Duplicate Db at 19-AUG-2011 10:46:15
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=35 devtype=DISK
contents of Memory Script:
set until scn 490864;
set newname for datafile 1 to
"/opt/app/oracle/oradata/slavedb/system01.dbf";
set newname for datafile 2 to
"/opt/app/oracle/oradata/slavedb/undotbs01.dbf";
set newname for datafile 3 to
"/opt/app/oracle/oradata/slavedb/sysaux01.dbf";
set newname for datafile 4 to
"/opt/app/oracle/oradata/slavedb/users01.dbf";
set newname for datafile 5 to
"/opt/app/oracle/oradata/slavedb/example01.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
Starting restore at 19-AUG-2011 10:46:16
using channel ORA_AUX_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/19/2011 10:46:16
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 5 found to 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 restore
anyone can help?use format command with backup.
eg:-
backup as compressed backupset database format '/u01/db/backup/%d_%I_%s_%T';
if it is archivelog mode then
backup as compressed backupset database format '/u01/db/backup/%d_%I_%s_%T' plus archivelog format '/u01/db/backup/%d_%I_%s_%T';
then copy the backup to the auxiliary instance server.
then try again the duplicate command. -
RMAN-06023: no backup or copy of datafile n found to restore
Hi,
on 11g R2 , Win 2008, I try to duplicate by RMAN NOCATALOG.
In init.ora of auxiliary I have :
init.ora
db_file_name_convert=('m:\base\OLDDB\data','m:\base\NEWDB\data')
log_file_name_convert=('m:\base\OLDDB\log', 'm:\base\NEWDB\log') 1- when duplicating RMAN displays :
set newname for datafile 109 to
"M:\BASES\OLDDB\DATA\EOIUAPP.DBF";; but for me reverse is expected since M:\BASES\OLDDB\DATA\EOIUAPP.DBF is the ancient/old name.
2-RMAN displays :
channel ORA_AUX_DISK_1: restoring datafile 00041 to M:\BASES\OLDDB\DATA\EOIUAPP.DBF But again the datafile should be restored to 'm:\base\NEWDB\data'.
And also:
channel ORA_AUX_DISK_1: reading from backup piece \\server\RMAN$\BACKUP\OLDDB\RMAN\FULL\DF_OLDDB_20120909_196_1
channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece \\server\RMAN$\BACKUP\OLDDB\RMAN\FULL\DF_OLDDB_20120909_196_1
ORA-19504: failed to create file "M:\BASES\OLDDB\DATA\PSIMAGE.DBF";
ORA-27040: file create error, unable to create file
OSD-04002: can not open file
O/S-Error: (OS 3) file path not found. Finally :
RMAN-06023: no backup or copy of datafile n found to restore For all files.
Thanks for help.Hello
setfilename has "BASES" but logfile convert has "base"
M:\BASESand
db_file_name_convert=('m:\base\OLDDB\data','m:\base\NEWDB\data') Best Regards
mseberg
Edited by: mseberg on Sep 20, 2012 7:41 AM -
RMAN-06023: no backup or copy of datafile 12 found to restore
Hi
I'm getting the above error when trying to create a duplicate database on the same server.
Steps
1) Create backup.
CONFIGURE CONTROLFILE AUTOBACKUP ON;
backup as copy
incremental level 0
spfile
database
include current controlfile;
2) Restore / Duplicate
Have database orcl2 which is on the same server as ORCL1. Performing a no catalog recovery.
I get the following error.
executing Memory Script
executing command: SET until clause
Starting restore at 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=555 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/14/2011 16:02:24
RMAN-01005: not all datafiles have backups that can be recovered to scn 666967
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 12 found to restore
RMAN-06023: no backup or copy of datafile 11 found to restore
RMAN-06023: no backup or copy of datafile 10 found to restore
RMAN-06023: no backup or copy of datafile 9 found to restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 5 found to 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 restore
All the datafiles are not found. Not sure how this is possible as I just did the backup.
Command for Duplication :
DUPLICATE TARGET DATABASE TO ORCL2
DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
SPFILE
PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
Additional Information
RMAN> list backup
2> ;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
13 Full 16.77M DISK 00:00:01 14-MAR-11
BP Key: 13 Status: AVAILABLE Compressed: NO Tag: TAG20110314T155530
Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\ORCL1\AUTOBACKUP\2011_03_14\O1_
MF_S_745775730_6QWWOM7G_.BKP
SPFILE Included: Modification time: 14-MAR-11
SPFILE db_unique_name: ORCL1
Control File Included: Ckp SCN: 731378 Ckp time: 14-MAR-11
RMAN>
Any help would be appreciated.
Thanks.ORADBA , thank you for your help.
Did as you suggested but still getting the same error
RMAN> DUPLICATE TARGET DATABASE TO ORCL2
2> DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
3> SPFILE
4> PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
5> SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
6> until scn = 666967;
Starting Duplicate Db at 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=537 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/14/2011 18:12:47
RMAN-06136: ORACLE error from auxiliary database: ORA-01565: error in identifyin
g file 'C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
RMAN> exit
Recovery Manager complete.
C:\Documents and Settings\Administrator>rman target sys/mariorun@orcl1 nocatalog
Recovery Manager: Release 11.1.0.7.0 - Production on Mon Mar 14 18:13:20 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: ORCL1 (DBID=1129792691)
using target database control file instead of recovery catalog
RMAN> connect auxiliary sys/mariorun@orcl2
connected to auxiliary database: ORCL2 (not mounted)
RMAN>
RMAN> DUPLICATE TARGET DATABASE TO ORCL2
2> DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
3> SPFILE
4> PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
5> SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
6> until scn = 666967;
Starting Duplicate Db at 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=97 device type=DISK
contents of Memory Script:
set until scn 666967;
restore clone spfile to 'C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA';
sql clone "alter system set spfile= ''C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFIL
EORCL2.ORA''";
executing Memory Script
executing command: SET until clause
Starting restore at 14-MAR-11
using channel ORA_AUX_DISK_1
WARNING: A restore time was estimated based on the supplied UNTIL SCN
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: restoring SPFILE
output file name=C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA
channel ORA_AUX_DISK_1: reading from backup piece D:\ORACLE\FAST_RECOVERY_AREA\O
RCL1\AUTOBACKUP\2011_03_14\O1_MF_S_745775730_6QWWOM7G_.BKP
channel ORA_AUX_DISK_1: piece handle=D:\ORACLE\FAST_RECOVERY_AREA\ORCL1\AUTOBACK
UP\2011_03_14\O1_MF_S_745775730_6QWWOM7G_.BKP tag=TAG20110314T155530
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
Finished restore at 14-MAR-11
sql statement: alter system set spfile= ''C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFI
LEORCL2.ORA''
contents of Memory Script:
sql clone "alter system set db_name =
''ORCL2'' comment=
''duplicate'' scope=spfile";
sql clone "alter system set audit_file_dest =
''c:\oracle\ora11g\admin\orcl2\adump'' comment=
'''' scope=spfile";
sql clone "alter system set control_files =
''c:\oracle\ora11g\oradata\orcl2\control01.ctl'', ''c:\oracle\ora11g\oradata\or
cl2\control02.ctl'', ''c:\oracle\ora11g\oradata\orcl2\control03.ctl'' comment=
'''' scope=spfile";
sql clone "alter system set LOG_FILE_NAME_CONVERT =
''\orcl1'', ''\orcl2'' comment=
'''' scope=spfile";
shutdown clone immediate;
startup clone nomount ;
executing Memory Script
sql statement: alter system set db_name = ''ORCL2'' comment= ''duplicate'' sco
pe=spfile
sql statement: alter system set audit_file_dest = ''c:\oracle\ora11g\admin\orc
l2\adump'' comment= '''' scope=spfile
sql statement: alter system set control_files = ''c:\oracle\ora11g\oradata\orc
l2\control01.ctl'', ''c:\oracle\ora11g\oradata\orcl2\control02.ctl'', ''c:\oracl
e\ora11g\oradata\orcl2\control03.ctl'' comment= '''' scope=spfile
sql statement: alter system set LOG_FILE_NAME_CONVERT = ''\orcl1'', ''\orcl2''
comment= '''' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 267825152 bytes
Fixed Size 1346712 bytes
Variable Size 100664168 bytes
Database Buffers 163577856 bytes
Redo Buffers 2236416 bytes
contents of Memory Script:
set until scn 666967;
set newname for datafile 1 to
"D:\ORACLE\ORADATA\ORCL2\SYSTEM01.DBF";
set newname for datafile 2 to
"D:\ORACLE\ORADATA\ORCL2\SYSAUX01.DBF";
set newname for datafile 3 to
"D:\ORACLE\ORADATA\ORCL2\UNDOTBS01.DBF";
set newname for datafile 4 to
"D:\ORACLE\ORADATA\ORCL2\IM_DATA_01.DAT";
set newname for datafile 5 to
"D:\ORACLE\ORADATA\ORCL2\IM_IDX_01.DAT";
set newname for datafile 6 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_DATA_01.DAT";
set newname for datafile 7 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_DATA_02.DAT";
set newname for datafile 8 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_IDX_01.DAT";
set newname for datafile 9 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_IDX_02.DAT";
set newname for datafile 10 to
"D:\ORACLE\ORADATA\ORCL2\IM_PROC_LOG_01.DAT";
set newname for datafile 11 to
"D:\ORACLE\ORADATA\ORCL2\IM_PROC_NOLOG_01.DAT";
set newname for datafile 12 to
"D:\ORACLE\ORADATA\ORCL2\USERS01.DBF";
restore
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
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 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=555 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/14/2011 18:13:59
RMAN-01005: not all datafiles have backups that can be recovered to scn 666967
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 12 found to restore
RMAN-06023: no backup or copy of datafile 11 found to restore
RMAN-06023: no backup or copy of datafile 10 found to restore
RMAN-06023: no backup or copy of datafile 9 found to restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 5 found to 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
Any suggestions are appreciated. -
RMAN-06023: no backup or copy of datafile
Hi,
on 10g R2 on AIX, I want to recover my DB at the time of 26 of march. The backup files are available but I receive :
RMAN> Run {
2> SET UNTIL TIME "to_date('26-03-2011 00:00:00','DD-MM-YYYY HH24:MI:SS')";
3> allocate channel t1 type disk;
4> restore database;
5> recover database;
6> sql "alter database open";
7> }
8>
executing command: SET until clause
allocated channel: t1
channel t1: sid=155 devtype=DISK
Starting restore at 01-APR-11
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 04/01/2011 11:13:42
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 216 found to restore
RMAN-06023: no backup or copy of datafile 215 found to restore
RMAN-06023: no backup or copy of datafile 214 found to restoreWhy RMAN can't find them ?
How to verify ?
Thank for help.Hi,
Can you please make sure the restore mechanism you are following is correct or not?
Mechanics of Restore Operations
RMAN automates the procedure for restoring files. You do not need to go into the operating system, locate the backup that you want to use, and manually copy files into the appropriate directories. When you issue a RESTORE command, RMAN directs a server session to restore the correct backups to either:
* The default location, overwriting the files with the same name currently there
* A new location, which you can specify with the SET NEWNAME command
To restore a datafile, either mount the database or keep it open and take the datafile to be restored offline. When RMAN performs a restore, it creates the restored files as datafile image copies and records them in the repository.
refer the link for more information
http://download.oracle.com/docs/cd/B12037_01/server.101/b10734/rcmconc2.htm
Best regards,
Rafi.
http://rafioracledba.blogspot.com/ -
RMAN -06100: no channel to restore a backup or copy of datafile 51
Oracle 10.2.0.4
I am attempting to duplicate a database from a full backup that was written to tape. I connect to a catalog, the target, and an auxilliary database. I allocate channels for disk and allocate auxiliary channels. For testing purposes I am trying to restore one data file from tape to disk but get RMAN-06100.
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 23 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'ENV=(TDPO_OPTFILE=/xxxxx/oracle/tivoli/ndk8oasu181.opt)';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/xxxx/oracle/product/1020/db_1/dbs/snapcf_prd002l.f'; # default
RMAN> run
2> { allocate channel d01 type disk;
3> allocate channel d02 type disk;
4> allocate channel d03 type disk;
5> allocate channel d04 type disk;
6> allocate channel d05 type disk;
7> allocate auxiliary channel stby01 type disk;
8> allocate auxiliary channel stby02 type disk;
9> set newname for datafile '/xxxxxx/d01/oradata/prd002l/patdata01.dbf' to '/xxxxxx/d26/oradata/prd002lp/patdata01.dbf';
10> restore datafile '/xxxxxx/d01/oradata/prd002l/patdata01.dbf';
11> release channel ch01;
12> release channel ch02;
13> }
starting full resync of recovery catalog
full resync complete
allocated channel: d01
channel d01: sid=1859 devtype=DISK
allocated channel: d02
channel d02: sid=1825 devtype=DISK
allocated channel: d03
channel d03: sid=2252 devtype=DISK
allocated channel: d04
channel d04: sid=1978 devtype=DISK
allocated channel: d05
channel d05: sid=1906 devtype=DISK
allocated channel: stby01
channel stby01: sid=1406 devtype=DISK
allocated channel: stby02
channel stby02: sid=1462 devtype=DISK
executing command: SET NEWNAME
Starting restore at 12-MAY-11
released channel: d01
released channel: d02
released channel: d03
released channel: d04
released channel: d05
released channel: stby01
released channel: stby02
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/12/2011 08:00:46
RMAN-06026: some targets not found - aborting restore
RMAN-06100: no channel to restore a backup or copy of datafile 51Here is some additional information:
6100, 1, "no channel to restore a backup or copy of datafile %d"
// *Cause: A datafile, tablespace, or database restore could not proceed
// because the backup of the indicated file exists on a device type
// that was not allocated for restore.
// *Action: None - this is an informational message. See message 6026 for
// further details.
what do i need to do to correct this: backup of the indicated file exists on a device type that was not allocated for restore -
RMAN-06023: no backup or copy of datafile 54 found to restore
Hi
Edited by: shakilshaikh on May 20, 2011 1:29 AMyep they are avaiable...do you think this has to do with resetlogs(as i have used that like 4 times in last 2 days)....doing some testing....as the incarnations changes everytime we reset the logs
RMAN> list incarnation of database;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
1 1 NGENPOC 2765214148 ORPHAN 3178766417 01-DEC-09
2 2 NGENPOC 2765214148 ORPHAN 8413828170590 03-DEC-09
3 3 NGENPOC 2765214148 ORPHAN 8413828170590 04-DEC-09
4 4 NGENPOC 2765214148 CURRENT 8413828170591 07-DEC-09 -
RMAN-06026: some targets not found - aborting restore
11gR2
Could someone tell me please what am I doing wrong ?
Trying to recover a DB after losing all datafiles , control files , redo log files , and spfile
*1. set my db to archive log mode*
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 58
Next log sequence to archive 60
Current log sequence 60
*2. Set controlfile autobackup on*
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters are successfully stored
*3. Perform full DB backup*
RMAN> backup database ;
*4. shutdown immediate and delete all files mentioned above*
*5. startup nomount and restore spfile*
RMAN> startup nomount ;
RMAN> restore spfile from autobackup
2> recovery area = 'C:\app\Administrator\flash_recovery_area'
3> db_name = 'orcl' ;
channel ORA_DISK_1: SPFILE restore from AUTOBACKUP complete
Finished restore at 09-OCT-11
*6. restart and restore control files*
RMAN> shutdown immediate
Oracle instance shut down
RMAN> startup nomount
connected to target database (not started)
Oracle instance started
Total System Global Area 778387456 bytes
Fixed Size 1374808 bytes
Variable Size 310379944 bytes
Database Buffers 461373440 bytes
Redo Buffers 5259264 bytes
RMAN> restore controlfile from autobackup
2> recovery area = 'C:\app\Administrator\flash_recovery_area'
3> db_name = 'orcl' ;
*6. mount DB and perform incomplete recovery*
* and this is where things start to go wrong*
SQL> select sequence#, status from v$log ;
SEQUENCE# STATUS
58 INACTIVE
60 CURRENT
59 INACTIVE
RMAN> run
2> {set until sequence 59;
3> restore database ;
4> recover database ;
5> }
* and now I'm getting the following error : *
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 10/09/2011 19:04:43
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 5 found to 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 restore
* although backup of this db exists *
RMAN> list backup of database ;
BS Key Type LV Size Device Type Elapsed Time Completion Time
5 Full 1.07G DISK 00:00:47 09-OCT-11
BP Key: 5 Status: AVAILABLE Compressed: NO Tag: TAG20111009T185500
Piece Name: C:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_10_09\O1_MF_NNNDF_TAG20111009T185500
3NH4MK_.BKP
List of Datafiles in backup set 5
File LV Type Ckp SCN Ckp Time Name
1 Full 2313843 09-OCT-11 C:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01.DBF
2 Full 2313843 09-OCT-11 C:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSAUX01.DBF
3 Full 2313843 09-OCT-11 C:\APP\ADMINISTRATOR\ORADATA\ORCL\UNDOTBS01.DBF
4 Full 2313843 09-OCT-11 C:\APP\ADMINISTRATOR\ORADATA\ORCL\USERS01.DBF
5 Full 2313843 09-OCT-11 C:\APP\ADMINISTRATOR\ORADATA\ORCL\EXAMPLE01.DBFset until sequence 59;You want to restore/recover up to sequence 58, the given number in until sequence nnn is always not included. So the backed up datafiles are simply too new, backup was done while current sequence is 60.
You need an older backup,which is obviously not available.
Werner -
Restore from OSB. RMAN-06024: no backup or copy of the control file found
I backed up controlfile for standby on production server to OSB media:
-bash-3.00$ rman target / catalog rman/rman@emgc
Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:15:33 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: EMGC (DBID=1838014073)
connected to recovery catalog database
RMAN>
RMAN> CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
BACKUP CURRENT CONTROLFILE FOR STANDBY tag 'stb_ctl';
RELEASE CHANNEL ch1;
CONFIGURE DEVICE TYPE 'SBT_TAPE' CLEAR;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
RMAN> 2> 3> 4> 5> 6>
allocated channel: ch1
channel ch1: sid=1085 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
Starting backup at 25-JAN-11
channel ch1: starting compressed full datafile backupset
channel ch1: specifying datafile(s) in backupset
including standby control file in backupset
channel ch1: starting piece 1 at 25-JAN-11
channel ch1: finished piece 1 at 25-JAN-11
piece handle=1em30ngu_1_1 tag=STB_CTL comment=API Version 2.0,MMS Version 10.3.0.2
channel ch1: backup set complete, elapsed time: 00:00:27
Finished backup at 25-JAN-11
released channel: ch1
RMAN> list backup of controlfile;
old RMAN configuration parameters:
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
RMAN configuration parameters are successfully reset to default value
starting full resync of recovery catalog
full resync complete
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
Handle: 1em30ngu_1_1 Media: mf_rman-000003
Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
RMAN>
On standby server I try to restore this control file but there is some trouble with restore... By the way I can delete that backup piece...
-bash-3.00$ rman target / catalog rman/rman@emgc
Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:34:32 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: emgc (not mounted)
connected to recovery catalog database
RMAN> set DBID=1838014073;
executing command: SET DBID
database name is "EMGC" and DBID is 1838014073
RMAN> RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
crosscheck backup of controlfile;
2> 3> 4> 5>
allocated channel: ch1
channel ch1: sid=1093 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
Crosschecked 1 objects
released channel: ch1
RMAN> list backup of controlfile;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
Handle: 1em30ngu_1_1 Media: mf_rman-000003
Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
RMAN> RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
RESTORE CONTROLFILE FROM TAG 'STB_CTL';
2> 3> 4> 5>
allocated channel: ch1
channel ch1: sid=1093 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
Starting restore at 25-JAN-11
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 01/25/2011 15:35:20
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
RMAN> RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
delete noprompt backup of controlfile;
2> 3> 4> 5>
allocated channel: ch1
channel ch1: sid=1093 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
1480 1479 1 1 AVAILABLE SBT_TAPE 1em30ngu_1_1
deleted backup piece
backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
Deleted 1 objects
released channel: ch1
RMAN>You cannot specify a tag for a standby control file.
read here
http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm#1002594
Edited by: Adigozalov Gurban on Jan 25, 2011 2:14 PM -
RMAN-06024: no backup or copy of the control file found to restore
I am cloning a new database using a full backup from previous nightly rman backup using a standby database utilizing catalog. When I run the duplicate command, I get
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/27/2011 15:04:05
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
But the backup of controlfile does exists in the right place. What am I missing?958210 wrote:
i was trying to clone a database to a remote machine, but it is giving me the following error
'RMAN-06024: no backup or copy of the control file found to restore
ORA-19505: failed to identify file "/u01/app/oracle/product/11.2.0/dbs/c-1617115651-20120912-02"
even though i can list the backup of the control file in the source machine.
thank you
'How do I ask a question on the forums?
SQL and PL/SQL FAQ
Since we don't know what you did, so we can't know what you did wrong -
Retain datafile's filename with "backup as copy" command
Is there a way to tell RMAN to retain the exact filename of all the datafiles when I issue "backup as copy database" ?
RMAN currently renames the datafiles to the format specified by CHANNEL DEVICE TYPE DISK FORMAT(if set), or the %U format from the "Backup and Recovery Advanced User's Guide". But I would like the datafiles to keep their original filenames so I can bring the database back up without going through RMAN(I also use RMAN to perform a backupset as well).No.. we can I just tryed...
15:23:14 db1 > shu immeidate
SP2-0717: illegal SHUTDOWN option
15:23:42 db1 > shu immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
15:24:42 db1 >
[oracle@india dbf]$ ls
control01.ctl sales01.dbf sysaux.dbf system02.dbf system.dbf temp.dbf undo.dbf users01.dbf users02.dbf
[oracle@india dbf]$ mv sales01.dbf sales01.bk
[oracle@india dbf]$ ls
control01.ctl sales01.bk sysaux.dbf system02.dbf system.dbf temp.dbf undo.dbf users01.dbf users02.dbf
[oracle@india backup]$ cd rman_backup/
[oracle@india rman_backup]$ ls
control_files
data_D-DB1_I-1249432862_TS-SYSTEM_FNO-1_0ajhbkhs data_D-DB1_I-1249432862_TS-USERS_FNO-4_09jhbkhr
data_D-DB1_I-1249432862_TS-SALES_FNO-5_0cjhbkki data_D-DB1_I-1249432862_TS-SYSTEM_FNO-6_0ejhbkn3 data_D-DB1_I-1249432862_TS-USERS_FNO-7_0fjhbkn4
data_D-DB1_I-1249432862_TS-SYSAUX_FNO-3_0djhbklc data_D-DB1_I-1249432862_TS-UNDO_FNO-2_0bjhbkhs
[oracle@india rman_backup]$ cp data_D-DB1_I-1249432862_TS-SALES_FNO-5_0cjhbkki /home/oracle/oracle10g/oradata/db1/dbf/sales01.dbf
15:24:42 db1 > startup
ORACLE instance started.
Total System Global Area 264241152 bytes
Fixed Size 1218892 bytes
Variable Size 146802356 bytes
Database Buffers 113246208 bytes
Redo Buffers 2973696 bytes
Database mounted.
ORA-01113: file 5 needs media recovery
ORA-01110: data file 5: '/home/oracle/oracle10g/oradata/db1/dbf/sales01.dbf'
15:30:27 db1 > recover datafile 5;
Media recovery complete.
15:30:55 db1 > alter database open;
Database altered.
15:31:15 db1 >Thanks -
Retain datafile names "backup as copy database"
hi please take a look at my question in RMAN forum :
retain datafile's filename with "backup as copy" command
thanksproduction database location is dg1 and i want to restore it to dg2, how can i achieve thisTo performing this you have to need following operations
1) There do not need using only image copies therefore first you need take full backup.
export ORACLE_SID=<MAIN_DB>
rman target /
backup current controlfile format '/u01/bk/cont.bk';
backup database format '/u01/bk/full_%U';2) Create pfile for duplicate database(you can create first pfile from spfile according production database) and edit this pfile and change control_files initialization parameter as control_files='+dg2' ,also add there db_unique=<DUPl_NAME> parameter and startup nomount database using this pfile as
export ORACLE_SID=<DUPL_DB>
sqlplus "/as sysdba"
startup nomount pfile='pfile_location'3) Need restoring controlfile
export ORACLE_SID=<DUPL_DB>
rman target /
restore controlfile from '/u01/bk/cont.bk';
alter database mount;
catalog start with '/u01/bk/'4) Now need restoring database and open
export ORACLE_SID=<DUPL_DB>
rman target /
run
set new name for datafile 1 to '+dg2';
set new name for datafile n to '+dg2';
restore database;
switch datafile all;
recover database;
alter database open resetlogs; -
We try to create standby database from a production DB on another server (10.2.0.4). The RMAN backup is in the nfs file system which is also mounted to the target server (the DR box). So, the access path for the rman backup is the same look from primary DB server and DR DB server. I started the RMAN run:
RMAN> RUN
2> {
3> ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
4> ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
5> DUPLICATE TARGET DATABASE for standby
6> nofilenamecheck
7> dorecover;
8> }
9>
10> exit
using target database control file instead of recovery catalog
allocated channel: aux1
channel aux1: sid=582 devtype=DISK
allocated channel: aux2
channel aux2: sid=584 devtype=DISK
Starting Duplicate Db at 21-JUN-12
contents of Memory Script:
set until scn 12198261770353;
restore clone standby controlfile;
sql clone 'alter database mount standby database';
executing Memory Script
executing command: SET until clause
Starting restore at 21-JUN-12
released channel: aux1
released channel: aux2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/21/2012 16:33:36
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
===========================================================================
The backups should have controlfile. There is rman show all display:
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/inbound/online/controlfile_auto%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/backup/inbound/online/%d_%T_%t_%s';
CONFIGURE MAXSETSIZE TO UNLIMITED;
CONFIGURE ENCRYPTION FOR DATABASE OFF;
CONFIGURE ENCRYPTION ALGORITHM 'AES128';
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/backup/inbound/online/snapcf_inbound.f';
Why and how to fix? Thanks for help!Here is the list of command:
RMAN> list backup of controlfile ;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
5518 Full 4.57M DISK 00:00:07 17-JUN-12
BP Key: 5518 Status: AVAILABLE Compressed: NO Tag: TAG20120617T035926
Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120617-00
Control File Included: Ckp SCN: 12197994840698 Ckp time: 17-JUN-12
BS Key Type LV Size Device Type Elapsed Time Completion Time
5522 Full 4.57M DISK 00:00:00 18-JUN-12
BP Key: 5522 Status: AVAILABLE Compressed: NO Tag: TAG20120618T010158
Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120618-00
Control File Included: Ckp SCN: 12198041382572 Ckp time: 18-JUN-12
BS Key Type LV Size Device Type Elapsed Time Completion Time
5526 Full 4.57M DISK 00:00:01 19-JUN-12
BP Key: 5526 Status: AVAILABLE Compressed: NO Tag: TAG20120619T010352
Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120619-00
Control File Included: Ckp SCN: 12198090424606 Ckp time: 19-JUN-12
BS Key Type LV Size Device Type Elapsed Time Completion Time
5530 Full 4.57M DISK 00:00:02 20-JUN-12
BP Key: 5530 Status: AVAILABLE Compressed: NO Tag: TAG20120620T010304
Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120620-00
Control File Included: Ckp SCN: 12198146424201 Ckp time: 20-JUN-12
BS Key Type LV Size Device Type Elapsed Time Completion Time
5534 Full 4.57M DISK 00:00:02 21-JUN-12
BP Key: 5534 Status: AVAILABLE Compressed: NO Tag: TAG20120621T010357
Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120621-00
Control File Included: Ckp SCN: 12198210334547 Ckp time: 21-JUN-12
==================================================================
I tried to catalog the controlfile:
RMAN> catalog controlfilecopy '/backup/inbound/online/controlfile_autoc-2080040856-20120621-00';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of catalog command on default channel at 06/21/2012 17:24:32
ORA-19563: control file header validation failed for file /backup/inbound/online/controlfile_autoc-2080040856-20120621-00
====================================================================
We have level 1 backup everyday, except Sunday. I have level 0 backup on Sunday. I alos tried the metalink note RMAN Duplicate For Standby Fails with Rman-06024: No Backup Or Copy Of The Control File Found To Restore [ID 466321.1]. It does not work.
Thanks for help!
Maybe you are looking for
-
Error 2927 when refreshing host cluster
We are running SCVMM 2012 R2 on Windows Server 2012 and it manages a 4 node 2012 Hyper-V cluster. I am receiving the following error when the job "Refresh host cluster" runs: Error (2927) A Hardware Management error has occurred trying to contact se
-
I am unable to open any of my downloaded apps. even the ones that do not require wi-fi to operate. When I tap on any app i see the splash screen of that specific app then I am returned to the home screen. I can see the app in the task manager along w
-
I have a 3GS, my wife has a 4S. Both are on IOS6. Her reply with message works fine when i call her. Mine doesn't. Basically i get a message saying delivered, but in a new stream, and the message doesn't get to her. If i turn off imessage, all is wel
-
Hi all! I have a problem about an xml. I have to eliminate redundancy So from this xml: <xml1> <Property> <Parameters1> <Param> <name>A</name> <prop></prop> <!--this doesn't matter--> </Param> <Param> <name>B</name> <prop></prop> <!--this doesn't mat
-
i have a shuffle and it dont work so i got a nano how can i get the music from the shuffle to the nano