天天看点

【RMAN】RMAN-20020: DATABASE INCARNATION NOT SET

rman backup or delete obsolete fails with<b> rman-20020: database incarnation not set</b>

<b>使用rman备份或者删除旧的文件的时候报如下错误:</b>

rman-00571: 

rman-03015: error occurred in stored script. abc

rman-03002: failure of delete command at 09/15/2010 04:05:41

rman-06004: oracle error from recovery catalog database: 

rman-20020: database incarnation not set

如果受影响的数据库版本&gt;= 10.2.0.4,11.1.0.7,11.2.0.1 

<b>说明有多个数据库在使用catalog 数据库 (10g ,9i and 11g)</b>

<b>原因:</b><b>bug 造成的:</b>

bug 9873162 --&gt; closed as duplicate of bug 9577583 --&gt; closed as duplicate of base bug &lt;&lt;9577583&gt;&gt;

<b>abstract: rman backup fails with rman-20020: database incarnation not set</b>

fixed :-: 12.1

解决方法:

download and apply one off patch using the following link patch 9577583

the patch needs to be applied to the oracle home  where the catalog database resides.