今天在配置rman的catalog库是出现报错rman-06429
环境说明:
target库版本:11.2.0
catalog库版本:10.2.0.4
具体报错如下:
$rman target / catalog xx/xx@backupcatalog
RMAN>
PL/SQL package r01_user.DBMS_RCVCAT version 08.01.07 in RCVCAT database is too old
PL/SQL package r01_user.DBMS_RCVCAT version 08.01.07 in RCVCAT database is too old
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 03/02/2007 14:17:21
RMAN-06429: RCVCAT database is not compatible with this version of RMAN
RMAN>
查看oracle官方《Error Messages》文档描述如下:
RMAN-06429: %s database is not compatible with this version of RMAN
Cause: The indicated database is not compatible with this version of the Recovery
Manager (RMAN). Other messages have also been issued which detail the cause of
the error.
Action: See the other messages. If the database is CATALOG, then you may be
able to use the CREATE CATALOG or UPGRADE CATALOG commands to
correct the problem. If the database is TARGET or AUXILIARY, then you must
either upgrade the target database or use a newer version of the RMAN
executable.
于是执行upgrande操作
RMAN> upgrade catalog;
recovery catalog owner is xx
enter UPGRADE CATALOG command again to confirm catalog upgrade
RMAN> upgrade catalog;
recovery catalog upgraded to version 11.02.00.02
DBMS_RCVMAN package upgraded to version 11.02.00.02
DBMS_RCVCAT package upgraded to version 11.02.00.02
执行备份作业时报错:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of resync command at 06/22/2012 00:52:26
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
查看报错原因
RMAN-20001: target database not found in recovery catalog
Cause: target database is not found in the recovery catalog
Action: make sure that the target database is registered in the recovery recovery
catalog
于是执行
RMAN> register database;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete
至此备份任务执行正常。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/20957014/viewspace-733603/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/20957014/viewspace-733603/