Oracle 19c RMAN Recovery Catalog Upgrade error RMAN-07539

After successfully upgrading an Oracle database to 19c release, the following error was thrown after attempting to upgrade the recovery catalog:

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-07539: insufficient privileges to upgrade the catalog schema

SOLUTION:

connect to Recovery Catalog Database, and grant recovery catalog user the following permissions :

SQL> grant CREATE ANY CONTEXT to catalog_user;

SQL> grant drop ANY CONTEXT to catalog_user;

Then, go to the 19c upgraded database and upgrade the catalog:

rman target /

RMAN> connect catalog catalog_user/XXXXXX@catalogdb

RMAN> upgrade catalog;

RMAN> upgrade catalog;

I hope this helps !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s