﻿<?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-06000-06999 </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>Sat, 31 Jul 2010 07:12:57 GMT</lastBuildDate><ttl>20</ttl><item><title>RMAN-06059: expected archived log not found.</title><link>http://www.franklinfaces.com/Topic40-67-1.aspx</link><description>I got this error code for RMAN and I couldn't figure it out for a long time.   Then, I finally did after some research so I'm putting my findings here.&lt;br&gt;&lt;br&gt;&lt;br&gt;RMAN-06059: expected archived log not found, lost of archived log compromises recoverability.&lt;br&gt;&lt;br&gt;If archived redo logs are deleted/moved/compressed by accident or if you have some scripts that clear your flash recovery area or what ever you was done to remove from disk without being backed up, the rman catalog will not know this has happened, and will keep attempting to backup the missing archived redo logs. That will cause rman archived redo log backups to fail altogether with an error like the one mentioned above.&lt;br&gt;&lt;br&gt;If you can, you should bring back the missing archived redo logs to their original location and name, and let rman back them up. But if that is impossible, the workaround is to “crosscheck archivelog all”.   Here is sample:&lt;br&gt;&lt;br&gt;rman &lt;&lt;EOF&lt;br&gt;connect target /&lt;br&gt;connect catalog username/password@catalog&lt;br&gt;run {&lt;br&gt;allocate channel c1 type disk ;&lt;br&gt;crosscheck archivelog all ;&lt;br&gt;release channel c1 ;&lt;br&gt;}&lt;br&gt;EOF&lt;br&gt;&lt;br&gt;You’ll get output like this:&lt;br&gt;&lt;br&gt;[i]validation succeeded for archived log&lt;br&gt;archive log filename=/u05/oradata/archive/redoarch_1038.arc recid=1017 stamp=611103638[/i]&lt;br&gt;&lt;br&gt;for every archived log as they are all checked on disk. That should be the catalog fixed, run an archivelog backup to make sure.&lt;br&gt;&lt;br&gt;&lt;br&gt;Hope this helps.&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Stacy&lt;br&gt;</description><pubDate>Thu, 15 Jan 2009 21:38:30 GMT</pubDate><dc:creator>stacyliang83</dc:creator></item><item><title>RMAN-06429: TARGET database is not compatible with this version of RMAN</title><link>http://www.franklinfaces.com/Topic171-67-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;My archive log destination directory was getting filled up and i got alert that thresholds had been reached. I didn't know why until i looked at the archive log script backup log.   This is what it showed in the log:&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;RMAN-06003: ORACLE error from target database:&lt;BR&gt;ORA-04031: unable to allocate 41152 bytes of shared memory ("shared pool","DBMS_RCVMAN","PL/SQL MPCODE","BAMIMA: Bam Buffer")&lt;BR&gt;ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_RCVMAN"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;RMAN-06438: error executing package DBMS_RCVMAN in TARGET database&lt;BR&gt;RMAN-00571: ===========================================================&lt;BR&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;BR&gt;RMAN-00571: ===========================================================&lt;BR&gt;RMAN-06429: TARGET database is not compatible with this version of RMAN&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt; &lt;/P&gt;&lt;P&gt;I tried to login to rman manually to see what was going on and got the same error:&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;# rman&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;Recovery Manager: Release 10.2.0.3.0 - Production on Thu Dec 17 00:36:09 2009&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;RMAN&amp;gt; connect target /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;ORACLE error from target database:&lt;BR&gt;ORA-04031: unable to allocate 41152 bytes of shared memory ("shared pool","DBMS_RCVMAN","PL/SQL MPCODE","BAMIMA: Bam Buffer")&lt;BR&gt;ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_RCVMAN"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;error executing package DBMS_RCVMAN in TARGET database&lt;BR&gt;RMAN-00571: ===========================================================&lt;BR&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;BR&gt;RMAN-00571: ===========================================================&lt;BR&gt;RMAN-06429: TARGET database is not compatible with this version of RMAN&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;RMAN&amp;gt; exit&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I then logged into sqlplus to check the rman packages to see because there was no recent upgrades of any kind.&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;# sqlplus '/ as sysdba'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;SQL*Plus: Release 10.2.0.3.0 - Production on Thu Dec 17 00:36:31 2009&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;Connected to:&lt;BR&gt;Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production&lt;BR&gt;With the Partitioning, OLAP and Data Mining options&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;SQL&amp;gt; SQL&amp;gt; select dbms_rcvman.getpackageversion from dual;&lt;BR&gt;select dbms_rcvman.getpackageversion from dual&lt;BR&gt;                                          *&lt;BR&gt;ERROR at line 1:&lt;BR&gt;ORA-04031: unable to allocate 41152 bytes of shared memory ("shared&lt;BR&gt;pool","DBMS_RCVMAN","PL/SQL MPCODE","BAMIMA: Bam Buffer")&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;I tried flushing my shared_pool and then checked to see how large my shared_pool was:&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;SQL&amp;gt; alter system flush shared_pool;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;System altered.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;SQL&amp;gt; select dbms_rcvman.getpackageversion from dual;&lt;BR&gt;select dbms_rcvman.getpackageversion from dual&lt;BR&gt;                                          *&lt;BR&gt;ERROR at line 1:&lt;BR&gt;ORA-04031: unable to allocate 41152 bytes of shared memory ("shared&lt;BR&gt;pool","DBMS_RCVMAN","PL/SQL MPCODE","BAMIMA: Bam Buffer")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;SQL&amp;gt; show parameter shared_pool&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;NAME                                 TYPE        VALUE&lt;BR&gt;------------------------------------ ----------- ------------------------------&lt;BR&gt;shared_pool_reserved_size            big integer 10M&lt;BR&gt;shared_pool_size                     big integer 200M&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;Shared_pool size was small .. so i increased it and that fixed the problem:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;SQL&amp;gt; alter system set shared_pool_size=300m;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;System altered.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;SQL&amp;gt; select dbms_rcvman.getpackageversion from dual;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;GETPACKAGEVERSION&lt;BR&gt;--------------------------------------------------------------------------------&lt;BR&gt;08.00.04.00&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;backup is now running ok.&lt;/P&gt;&lt;P&gt;Hope this helps.</description><pubDate>Thu, 17 Dec 2009 03:02:56 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row</title><link>http://www.franklinfaces.com/Topic130-67-1.aspx</link><description>&lt;FONT color=#3333dd&gt;Hi,&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I got the following error message when trying to connect to rman:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;/u01/oradba/rman/config &amp;gt; rman&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;Recovery Manager: Release 10.2.0.3.0 - Production on Thu May 21 14:14:01 2009&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;RMAN&amp;gt; connect target /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;connected to target database: PROD (DBID=1824257732)&lt;BR&gt;RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row&lt;BR&gt;RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows&lt;BR&gt;ORACLE error from target database:&lt;BR&gt;ORA-19921: maximum number of 64 rows exceeded&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I went online and every where searching for it but couldn't find a solution and then i immediately remembered that i had my laptop connect at home with another session that was already connected to rman.  So i checked out ps command to see any other rman command connected and yup i was right.  I killed it:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;/u01/oradba/rman/config &amp;gt; &lt;STRONG&gt;ps -aef|grep rman&lt;/STRONG&gt;&lt;BR&gt;  oracle   165 22875   0 21:45:59 pts/8       4:41 rman&lt;BR&gt;  oracle 19379  6839   0 14:14:54 pts/13      0:00 grep rman&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;prodnj54db1*PROD-(oracle)&lt;BR&gt;/u01/oradba/rman/config &amp;gt; &lt;STRONG&gt;kill -9 165&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;prodnj54db1*PROD-(oracle)&lt;BR&gt;/u01/oradba/rman/config &amp;gt; &lt;STRONG&gt;rman&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;Recovery Manager: Release 10.2.0.3.0 - Production on Thu May 21 14:15:04 2009&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;RMAN&amp;gt; &lt;STRONG&gt;connect target /&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;connected to target database: PROD (DBID=1824257732)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;RMAN&amp;gt; &lt;STRONG&gt;connect rcvcat &lt;/STRONG&gt;&lt;/FONT&gt;&lt;A href="mailto:rman/rmanpasswd@rman"&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;&lt;A href="mailto:rman/rmanpasswd@rmancat"&gt;rman/rmanpasswd@rmancat&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;connected to recovery catalog database&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;RMAN&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;The kill command did the trick.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Hope this helps.  Do let me know if this helped you out.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;===========================================================&lt;/FONT&gt;&lt;/P&gt;&lt;H2 class=class&gt;Oracle Error :: RMAN-06901&lt;/H2&gt;&lt;P class=message&gt;WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows&lt;/P&gt;&lt;H3&gt;Cause&lt;/H3&gt;&lt;P class=cause&gt;Informational message only.&lt;/P&gt;&lt;H3&gt;Action&lt;/H3&gt;&lt;P class=action&gt;No action required.&lt;/P&gt;&lt;P&gt;&lt;BR&gt;</description><pubDate>Thu, 21 May 2009 14:22:50 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RMAN-06207: WARNING: 2170 objects could not be deleted for DISK channel(s) due</title><link>http://www.franklinfaces.com/Topic139-67-1.aspx</link><description>&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;I was getting the following message when trying to backup the archive logs:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;RMAN-06207: WARNING: 2170 objects could not be deleted for DISK channel(s) due&lt;BR&gt;RMAN-06208: to mismatched status.  Use CROSSCHECK command to fix status&lt;BR&gt;RMAN-06210: List of Mismatched objects&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;To resolve this i had to run a crosscheck command.    I tried the traditional crosscheck and still the error  kept coming so i had to do the following:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;RMAN&amp;gt; connect target /&lt;BR&gt;connected to target database: P655 (DBID=2454151442)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;RMAN&amp;gt; connect rcvcat &lt;/STRONG&gt;&lt;/FONT&gt;&lt;A href="mailto:rman/rmanpassword@catalog"&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;rman/rmanpassword@catalog&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;connected to recovery catalog database&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;RMAN&amp;gt; change archivelog all crosscheck;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;Crosschecked 2202 objects&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;After doing this, it got rid of the message.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;Solars 10 - running Oracle 10.2.0.3&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/FONT&gt;</description><pubDate>Thu, 09 Jul 2009 14:46:38 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>