RMAN创建恢复目录库出错RMAN-06444

数据库oracle 8.1.7进行RMAN备份设置,其恢复目录库放在oracle10.2上。

在创建恢复目录时,出现RMAN-06444错误。

这是一个bug。之前该8.1.7库resetlog open过一次,所以一直有问题。于是想到重建,釜底抽薪。结果就出现了这样的错误。

具体错误信息如下:

 

bash-2.05$ rman target / rcvcat m18_cata_34/welcome2012@urpdb

Recovery Manager: Release 8.1.7.4.0 - Production

RMAN-06005: connected to target database: M18 (DBID=3753655651)
RMAN-06008: connected to recovery catalog database
RMAN-06428: recovery catalog is not installed

RMAN> create catalog ;

RMAN-06444: dbms_rcvman package body created with compilation errors
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06433: error installing recovery catalog

 

(miki西游 @mikixiyou 原文链接: http://mikixiyou.iteye.com/blog/1575712 )

 

解决方法:

 

Oracle官方认为这个是一个bug,还没有修复。

但可以采取方法避免它。

 

在oracle 10.2数据库上,执行下列SQL

alter system set events '10932 trace name context level 32768';

 

 

然后回到oracle 8.1.7数据库上,执行创建恢复目录操作。

 

 

fix:

This bug is still not fixed in 9i or 10g, please use the workaround.
.

Workaround: 
===========
Set the following event in 9i database as
.
SQL> alter system set events '10932 trace name context level 32768';
.
Then invoke 8.1.7 RMAN executable - connect to 9i catalog database
RMAN> create catalog;

 

 

这个问题应该很少会碰到了。现在能用到oracle8.1.7的环境已经很少了。

你可能感兴趣的:(Oracle)