This is an easy one. This is the error/warning you might while connecting to RMAN:
[oracle@persephone ~]$ rman target=/ Recovery Manager: Release 19.0.0.0.0 - Production on Wed Apr 26 14:26:57 2023 Version 19.15.0.0.0 Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved. PL/SQL package SYS.DBMS_BACKUP_RESTORE version 19.13.00.00 in TARGET database is not current PL/SQL package SYS.DBMS_RCVMAN version 19.13.00.00 in TARGET database is not current connected to target database: DBTEST (DBID=1498654489) RMAN>
The way to fix it is running this:
SQL> @$ORACLE_HOME/rdbms/admin/dbmsrman.sql
SQL> @$ORACLE_HOME/rdbms/admin/dbmsbkrs.sql
SQL> @$ORACLE_HOME/rdbms/admin/prvtrmns.plb
SQL> @$ORACLE_HOME/rdbms/admin/prvtbkrs.plb
And error gone!
[oracle@persephone ~]$ rman target=/
Recovery Manager: Release 19.0.0.0.0 - Production on Wed Apr 26 14:29:24 2023
Version 19.15.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
connected to target database: DBTEST (DBID=1498654489)
RMAN>
Comments