Oracle rman连接catalog注册数据库问题
Oracle rman连接catalog注册数据库问题
数据库版本oracle 10.2.0.4
catalog版本oracle 10.2.0.1
rman target / catalog=rman10g/rman10g@rman10g
Recovery Manager: Release 10.2.0.4.0 - Production on Sat Feb 21 20:00:31 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: ZYKORA9 (DBID=3156970293)
connected to recovery catalog database
PL/SQL package RMAN10G.DBMS_RCVCAT version 10.02.00.00 in RCVCAT database is not current
PL/SQL package RMAN10G.DBMS_RCVMAN version 10.02.00.00 in RCVCAT database is not current
register database 报以下错误;
RMAN-06004: ORACLE error from recovery catalog database:
ORA-06550: line 1, column 2273:
PLS-00302: component 'GETRANGEALBACKUP' must be declared
ORA-06550: line 1, column 2238:
PL/SQL: Statement ignored
ORA-06550: line 1, column 2453:
PLS-00302: component 'RESTORECMD_T' must be declared
ORA-06550: line 1, column 2424:
PL/SQL: Statement ignored
主要是catalog版本和数据库版本不一致问题
运行两次upgrade即可
再register database即可