Monday, December 8, 2014

RMAN-06059: expected archived log not found

To resolved this error we need to check all archive log file validity, if any archive log file expire then we need to delete expire archive log files.

CROSSCHECK ARCHIVELOG ALL;
DELETE EXPIRED ARCHIVELOG ALL;

RMAN> BACKUP DATABASE PLUS ARCHIVELOG DELETE INPUT;

Starting backup at 09-DEC-14
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=131 device type=DISK
skipping archived log file D:\APP\ORADATA\ARC0000000187_0850433149.0001; already backed up 1 time(s)
skipping archived log file D:\APP\ORADATA\ARC0000000188_0850433149.0001; already backed up 1 time(s)
skipping archived log file D:\APP\ORADATA\ARC0000000189_0850433149.0001; already backed up 1 time(s)
skipping archived log file D:\APP\ORADATA\ARC0000000190_0850433149.0001; already backed up 1 time(s)
skipping archived log file D:\APP\ORADATA\ARC0000000191_0850433149.0001; already backed up 1 time(s)
skipping archived log file D:\APP\ORADATA\ARC0000000192_0850433149.0001; already backed up 1 time(s)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 12/09/2014 08:51:19
RMAN-06059: expected archived log not found, loss of archived log compromises recoverability
ORA-19625: error identifying file
D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000193_0850433149.0001
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> crosscheck archivelog all;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=131 device type=DISK
validation failed for archived log
archived log file name=D:\APP\ORADATA\ARC0000000187_0850433149.0001 RECID=201 STAMP=858860317
validation failed for archived log
archived log file name=D:\APP\ORADATA\ARC0000000188_0850433149.0001 RECID=202 STAMP=858860320
validation failed for archived log
archived log file name=D:\APP\ORADATA\ARC0000000189_0850433149.0001 RECID=203 STAMP=858860322
validation failed for archived log
archived log file name=D:\APP\ORADATA\ARC0000000190_0850433149.0001 RECID=204 STAMP=858860324
validation failed for archived log
archived log file name=D:\APP\ORADATA\ARC0000000191_0850433149.0001 RECID=205 STAMP=858860325
validation failed for archived log
archived log file name=D:\APP\ORADATA\ARC0000000192_0850433149.0001 RECID=206 STAMP=858860325
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000193_0850433149.0001 RECID=200 STAMP=858814156
validation failed for archived log
archived log file name=D:\APP\ORADATA\ARC0000000194_0850433149.0001 RECID=207 STAMP=858860367
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000195_0850433149.0001 RECID=208 STAMP=858860584
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000196_0850433149.0001 RECID=209 STAMP=858866846
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000197_0850433149.0001 RECID=210 STAMP=858866860
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000198_0850433149.0001 RECID=211 STAMP=858866871
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000199_0850433149.0001 RECID=212 STAMP=858866884
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000200_0850433149.0001 RECID=213 STAMP=858866895
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000201_0850433149.0001 RECID=214 STAMP=858866904
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000202_0850433149.0001 RECID=215 STAMP=858866913
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000203_0850433149.0001 RECID=216 STAMP=858866922
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000204_0850433149.0001 RECID=217 STAMP=858866933
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000205_0850433149.0001 RECID=218 STAMP=858866943
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000206_0850433149.0001 RECID=219 STAMP=858866953
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000207_0850433149.0001 RECID=220 STAMP=858866961
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000208_0850433149.0001 RECID=221 STAMP=858866973
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000209_0850433149.0001 RECID=222 STAMP=858867029
validation failed for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000210_0850433149.0001 RECID=223 STAMP=858867130
validation succeeded for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000211_0850433149.0001 RECID=224 STAMP=860501773
validation succeeded for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000212_0850433149.0001 RECID=225 STAMP=860502147
validation succeeded for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000213_0850433149.0001 RECID=226 STAMP=861363186
validation succeeded for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000214_0850433149.0001 RECID=227 STAMP=865814407
validation succeeded for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000215_0850433149.0001 RECID=228 STAMP=865846157
validation succeeded for archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000216_0850433149.0001 RECID=229 STAMP=865846276
Crosschecked 30 objects

RMAN> delete expired archivelog all;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=131 device type=DISK
List of Archived Log Copies for database with db_unique_name DBRMAN
=====================================================================
Key     Thrd Seq     S Low Time
------- ---- ------- - ---------
201     1    187     X 20-SEP-14
        Name: D:\APP\ORADATA\ARC0000000187_0850433149.0001
202     1    188     X 20-SEP-14
        Name: D:\APP\ORADATA\ARC0000000188_0850433149.0001
203     1    189     X 20-SEP-14
        Name: D:\APP\ORADATA\ARC0000000189_0850433149.0001
204     1    190     X 20-SEP-14
        Name: D:\APP\ORADATA\ARC0000000190_0850433149.0001
205     1    191     X 20-SEP-14
        Name: D:\APP\ORADATA\ARC0000000191_0850433149.0001
206     1    192     X 20-SEP-14
        Name: D:\APP\ORADATA\ARC0000000192_0850433149.0001
200     1    193     X 20-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000193_0850433149.0001
207     1    194     X 20-SEP-14
        Name: D:\APP\ORADATA\ARC0000000194_0850433149.0001
208     1    195     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000195_0850433149.0001
209     1    196     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000196_0850433149.0001
210     1    197     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000197_0850433149.0001
211     1    198     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000198_0850433149.0001
212     1    199     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000199_0850433149.0001
213     1    200     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000200_0850433149.0001
214     1    201     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000201_0850433149.0001
215     1    202     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000202_0850433149.0001
216     1    203     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000203_0850433149.0001
217     1    204     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000204_0850433149.0001
218     1    205     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000205_0850433149.0001
219     1    206     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000206_0850433149.0001
220     1    207     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000207_0850433149.0001
221     1    208     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000208_0850433149.0001
222     1    209     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000209_0850433149.0001
223     1    210     X 21-SEP-14
        Name: D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000210_0850433149.0001

Do you really want to delete the above objects (enter YES or NO)? YES
deleted archived log
archived log file name=D:\APP\ORADATA\ARC0000000187_0850433149.0001 RECID=201 STAMP=858860317
deleted archived log
archived log file name=D:\APP\ORADATA\ARC0000000188_0850433149.0001 RECID=202 STAMP=858860320
deleted archived log
archived log file name=D:\APP\ORADATA\ARC0000000189_0850433149.0001 RECID=203 STAMP=858860322
deleted archived log
archived log file name=D:\APP\ORADATA\ARC0000000190_0850433149.0001 RECID=204 STAMP=858860324
deleted archived log
archived log file name=D:\APP\ORADATA\ARC0000000191_0850433149.0001 RECID=205 STAMP=858860325
deleted archived log
archived log file name=D:\APP\ORADATA\ARC0000000192_0850433149.0001 RECID=206 STAMP=858860325
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000193_0850433149.0001 RECID=200 STAMP=858814156
deleted archived log
archived log file name=D:\APP\ORADATA\ARC0000000194_0850433149.0001 RECID=207 STAMP=858860367
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000195_0850433149.0001 RECID=208 STAMP=858860584
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000196_0850433149.0001 RECID=209 STAMP=858866846
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000197_0850433149.0001 RECID=210 STAMP=858866860
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000198_0850433149.0001 RECID=211 STAMP=858866871
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000199_0850433149.0001 RECID=212 STAMP=858866884
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000200_0850433149.0001 RECID=213 STAMP=858866895
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000201_0850433149.0001 RECID=214 STAMP=858866904
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000202_0850433149.0001 RECID=215 STAMP=858866913
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000203_0850433149.0001 RECID=216 STAMP=858866922
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000204_0850433149.0001 RECID=217 STAMP=858866933
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000205_0850433149.0001 RECID=218 STAMP=858866943
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000206_0850433149.0001 RECID=219 STAMP=858866953
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000207_0850433149.0001 RECID=220 STAMP=858866961
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000208_0850433149.0001 RECID=221 STAMP=858866973
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000209_0850433149.0001 RECID=222 STAMP=858867029
deleted archived log
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000210_0850433149.0001 RECID=223 STAMP=858867130
Deleted 24 EXPIRED objects
RMAN> BACKUP DATABASE PLUS ARCHIVELOG DELETE INPUT;

Starting backup at 09-DEC-14
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=211 RECID=224 STAMP=860501773
input archived log thread=1 sequence=212 RECID=225 STAMP=860502147
input archived log thread=1 sequence=213 RECID=226 STAMP=861363186
input archived log thread=1 sequence=214 RECID=227 STAMP=865814407
input archived log thread=1 sequence=215 RECID=228 STAMP=865846157
input archived log thread=1 sequence=216 RECID=229 STAMP=865846276
input archived log thread=1 sequence=217 RECID=230 STAMP=865846456
channel ORA_DISK_1: starting piece 1 at 09-DEC-14
channel ORA_DISK_1: finished piece 1 at 09-DEC-14
piece handle=D:\APP\ORADATA\DBRMAN_BACKUP\BKP_DFDBRMAN_865846457_111_1_3FPPNH5P tag=TAG20141209T085417 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:16
channel ORA_DISK_1: deleting archived log(s)
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000211_0850433149.0001 RECID=224 STAMP=860501773
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000212_0850433149.0001 RECID=225 STAMP=860502147
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000213_0850433149.0001 RECID=226 STAMP=861363186
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000214_0850433149.0001 RECID=227 STAMP=865814407
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000215_0850433149.0001 RECID=228 STAMP=865846157
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000216_0850433149.0001 RECID=229 STAMP=865846276
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000217_0850433149.0001 RECID=230 STAMP=865846456
Finished backup at 09-DEC-14
Starting backup at 09-DEC-14
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00004 name=D:\APP\ORADATA\DBRMAN\USERS01.DBF
input datafile file number=00001 name=D:\APP\ORADATA\DBRMAN\SYSTEM01.DBF
input datafile file number=00005 name=D:\APP\ORADATA\DBRMAN\CATALOG_SPC01.DBF
input datafile file number=00006 name=D:\APP\ORADATA\DBRMAN\TBS_RAMN_CAT_01.DBF
input datafile file number=00002 name=D:\APP\ORADATA\DBRMAN\SYSAUX01.DBF
input datafile file number=00003 name=D:\APP\ORADATA\DBRMAN\UNDOTBS01.DBF
input datafile file number=00010 name=D:\APP\ORADATA\DBRMAN\EXAMPLE01.DBF
input datafile file number=00007 name=D:\APP\ORADATA\DBRMAN\UNDOTBS02.DBF
channel ORA_DISK_1: starting piece 1 at 09-DEC-14
channel ORA_DISK_1: finished piece 1 at 09-DEC-14
piece handle=D:\APP\ORADATA\DBRMAN_BACKUP\BKP_DFDBRMAN_865846474_112_1_3GPPNH6A tag=TAG20141209T085434 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:07:25
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 09-DEC-14
channel ORA_DISK_1: finished piece 1 at 09-DEC-14
piece handle=D:\APP\ORADATA\DBRMAN_BACKUP\BKP_DFDBRMAN_865846921_113_1_3HPPNHK9 tag=TAG20141209T085434 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 09-DEC-14
Starting backup at 09-DEC-14
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=218 RECID=231 STAMP=865846923
channel ORA_DISK_1: starting piece 1 at 09-DEC-14
channel ORA_DISK_1: finished piece 1 at 09-DEC-14
piece handle=D:\APP\ORADATA\DBRMAN_BACKUP\BKP_DFDBRMAN_865846924_114_1_3IPPNHKC tag=TAG20141209T090203 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
channel ORA_DISK_1: deleting archived log(s)
archived log file name=D:\APP\ORADATA\DBRMAN_ARCHIVE\ARC0000000218_0850433149.0001 RECID=231 STAMP=865846923
Finished backup at 09-DEC-14
RMAN>

1 comment:

  1. That is a brilliant product established, merely since I saw it a rapid urgent that will came into being plus When i believed time period wasn�t in our end in order to complete your daily news. https://imgur.com/a/S98XFif https://imgur.com/a/LN7bfze https://imgur.com/a/hS2tnhG https://imgur.com/a/F8tbhCU https://imgur.com/a/CL360MZ https://imgur.com/a/cy38lUv http://pyp149kke9.dip.jp

    ReplyDelete