﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / RMAN - Error Codes  / RMAN-20000-20999  / RMAN-20242: specification does not match any archive log in the recovery catalog / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Thu, 09 Feb 2012 11:25:57 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: RMAN-20242: specification does not match any archive log in the recovery catalog</title><link>http://www.franklinfaces.com/Topic213-74-1.aspx</link><description>RMAN-20242: specification does not match any archivelog in the recovery catalog&lt;/P&gt;&lt;P&gt;There is a solution in metalink for this:  (Also check our other posts)&lt;/P&gt;&lt;P&gt;PURPOSE &lt;BR&gt;------- &lt;BR&gt;&lt;BR&gt;The purpose of this article is to resolve RMAN-20242 when trying to backup archived log files. &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;SCOPE &amp;amp; APPLICATION &lt;BR&gt;------------------- &lt;BR&gt;&lt;BR&gt;RMAN 'archivelog like' method is very useful when trying to backup archived log &lt;BR&gt;on oracle parallel server and oracle parallel failsafe where archived logs exist &lt;BR&gt;on all nodes local disks. &lt;BR&gt;&lt;BR&gt;Resolving RMAN-20242: specification does not match any archivelog in the recovery catalog &lt;BR&gt;----------------------------------------------------------------------------------------- &lt;BR&gt;&lt;BR&gt;Trying to run the following RMAN script result with RMAN-20242. &lt;BR&gt;&lt;BR&gt;RMAN&amp;gt; run { &lt;BR&gt;2&amp;gt; allocate channel c1 type disk; &lt;BR&gt;3&amp;gt; backup &lt;BR&gt;4&amp;gt; archivelog like 'E:\oracle\oradata\prod\archive%'; &lt;BR&gt;5&amp;gt; } &lt;BR&gt;&lt;BR&gt;RMAN-03022: compiling command: allocate &lt;BR&gt;RMAN-03023: executing command: allocate &lt;BR&gt;RMAN-08030: allocated channel: c1 &lt;BR&gt;RMAN-08500: channel c1: sid=17 devtype=DISK &lt;BR&gt;&lt;BR&gt;RMAN-03022: compiling command: backup &lt;BR&gt;RMAN-03026: error recovery releasing channel resources &lt;BR&gt;RMAN-08031: released channel: c1 &lt;BR&gt;RMAN-00571: =========================================================== &lt;BR&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== &lt;BR&gt;RMAN-00571: =========================================================== &lt;BR&gt;RMAN-03002: failure during compilation of command &lt;BR&gt;RMAN-03013: command type: backup &lt;BR&gt;RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specificati &lt;BR&gt;on does not match any archivelog in the recovery catalog &lt;BR&gt;&lt;BR&gt;To resolve the above error, query v$archived_log to find out the archived log &lt;BR&gt;details and note the format of the name column. &lt;BR&gt;&lt;BR&gt;SQL&amp;gt; select * from v$archived_log; &lt;BR&gt;&lt;BR&gt;RECID STAMP &lt;BR&gt;---------- ---------- &lt;BR&gt;NAME &lt;BR&gt;-------------------------------------------------------------------------------- &lt;BR&gt;THREAD# SEQUENCE# RESETLOGS_CHANGE# RESETLOGS FIRST_CHANGE# FIRST_TIM &lt;BR&gt;---------- ---------- ----------------- --------- ------------- --------- &lt;BR&gt;NEXT_CHANGE# NEXT_TIME BLOCKS BLOCK_SIZE CREA REGI STA ARC DEL COMPLETIO &lt;BR&gt;------------ --------- ---------- ---------- ---- ---- --- --- --- --------- &lt;BR&gt;1 419970034 &lt;BR&gt;E:\ORACLE\ORADATA\PROD\ARCHIVE\PRODT001S01524.ARC &lt;BR&gt;1 1524 1 21-JAN-01 599954 25-JAN-01 &lt;BR&gt;600067 25-JAN-01 103 512 FGRD FGRD NO YES YES 25-JAN-01 &lt;BR&gt;&lt;BR&gt;Notice the name is in upper case - 'E:\ORACLE\ORADATA\PROD\ARCHIVE\PRODT001S01524.ARC'. Modify &lt;BR&gt;the script and run again. &lt;BR&gt;&lt;BR&gt;RMAN&amp;gt; run { &lt;BR&gt;2&amp;gt; allocate channel c1 type disk; &lt;BR&gt;3&amp;gt; backup &lt;BR&gt;4&amp;gt; archivelog like 'E:\ORACLE\ORADATA\PROD\ARCHIVE\PROD%' &lt;BR&gt;5&amp;gt; delete input; &lt;BR&gt;6&amp;gt; release channel c1; &lt;BR&gt;7&amp;gt; } &lt;BR&gt;&lt;BR&gt;RMAN-03022: compiling command: allocate &lt;BR&gt;RMAN-03023: executing command: allocate &lt;BR&gt;RMAN-08030: allocated channel: c1 &lt;BR&gt;RMAN-08500: channel c1: sid=17 devtype=DISK &lt;BR&gt;&lt;BR&gt;RMAN-03022: compiling command: backup &lt;BR&gt;RMAN-03023: executing command: backup &lt;BR&gt;RMAN-08009: channel c1: starting archivelog backupset &lt;BR&gt;RMAN-08502: set_count=36 set_stamp=420311754 creation_time=29-JAN-01 &lt;BR&gt;RMAN-08014: channel c1: specifying archivelog(s) in backup set &lt;BR&gt;RMAN-08504: input archivelog thread=1 sequence=1538 recid=15 stamp=420196579 &lt;BR&gt;RMAN-08504: input archivelog thread=1 sequence=1539 recid=16 stamp=420239024 &lt;BR&gt;RMAN-08504: input archivelog thread=1 sequence=1540 recid=17 stamp=420310708 &lt;BR&gt;RMAN-08504: input archivelog thread=1 sequence=1541 recid=18 stamp=420310800 &lt;BR&gt;RMAN-08504: input archivelog thread=1 sequence=1542 recid=19 stamp=420310879 &lt;BR&gt;RMAN-08013: channel c1: piece 1 created &lt;BR&gt;RMAN-08503: piece handle=E:\ORACLE\ORA817\DATABASE\14CGQSMA_1_1 comment=NONE &lt;BR&gt;RMAN-08525: backup set complete, elapsed time: 00:00:02 &lt;BR&gt;RMAN-08071: channel c1: deleting archivelog(s) &lt;BR&gt;RMAN-08514: archivelog filename=E:\ORACLE\ORADATA\PROD\ARCHIVE\PRODT001S01538.AR &lt;BR&gt;C recid=15 stamp=420196579 &lt;BR&gt;RMAN-08514: archivelog filename=E:\ORACLE\ORADATA\PROD\ARCHIVE\PRODT001S01539.AR &lt;BR&gt;C recid=16 stamp=420239024 &lt;BR&gt;RMAN-08514: archivelog filename=E:\ORACLE\ORADATA\PROD\ARCHIVE\PRODT001S01540.AR &lt;BR&gt;C recid=17 stamp=420310708 &lt;BR&gt;RMAN-08514: archivelog filename=E:\ORACLE\ORADATA\PROD\ARCHIVE\PRODT001S01541.AR &lt;BR&gt;C recid=18 stamp=420310800 &lt;BR&gt;RMAN-08514: archivelog filename=E:\ORACLE\ORADATA\PROD\ARCHIVE\PRODT001S01542.AR &lt;BR&gt;C recid=19 stamp=420310879 &lt;BR&gt;RMAN-03023: executing command: partial resync &lt;BR&gt;RMAN-08003: starting partial resync of recovery catalog &lt;BR&gt;RMAN-08005: partial resync complete &lt;BR&gt;&lt;BR&gt;RMAN-03022: compiling command: release &lt;BR&gt;RMAN-03023: executing command: release &lt;BR&gt;RMAN-08031: released channel: c1 &lt;BR&gt;&lt;BR&gt;RMAN&amp;gt; &lt;BR&gt;</description><pubDate>Thu, 10 Jun 2010 13:14:23 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RMAN-20242: specification does not match any archive log in the recovery catalog</title><link>http://www.franklinfaces.com/Topic213-74-1.aspx</link><description>Getting: &lt;A class=link closure_uid_5of6q3="132"&gt;RMAN-20242: specification does not match any archive log in the recovery catalog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;RMAN&amp;gt; run&lt;BR&gt;2&amp;gt; {&lt;BR&gt;3&amp;gt; allocate channel c1 type disk;&lt;BR&gt;4&amp;gt; backup archivelog all;&lt;BR&gt;5&amp;gt; release channel c1;&lt;BR&gt;6&amp;gt; }&lt;BR&gt;&lt;BR&gt;RMAN-03022: compiling command: allocate&lt;BR&gt;RMAN-03023: executing command: allocate&lt;BR&gt;RMAN-08030: allocated channel: c1&lt;BR&gt;RMAN-08500: channel c1: sid=16 devtype=DISK&lt;BR&gt;&lt;BR&gt;RMAN-03022: compiling command: backup&lt;BR&gt;RMAN-03026: error recovery releasing channel resources&lt;BR&gt;RMAN-08031: released channel: c1&lt;BR&gt;RMAN-00571: ===========================================================&lt;BR&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;BR&gt;RMAN-00571: ===========================================================&lt;BR&gt;RMAN-03002: failure during compilation of command&lt;BR&gt;RMAN-03013: command type: backup&lt;BR&gt;RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specification does not match any archivelog in the recovery catalog&lt;BR&gt;&lt;BR&gt;RMAN&amp;gt;&lt;BR&gt;&lt;BR&gt;There are archivelog files in the Destination.&lt;BR&gt;</description><pubDate>Thu, 10 Jun 2010 13:13:18 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>
