Oracle Error RMAN-06426: RECOVERY_CATALOG_OWNER role must be granted to user string

Oracle Error Message

RMAN-06426: RECOVERY_CATALOG_OWNER role must be granted to user string

Reason for the Error

The CREATE CATALOG or UPGRADE CATALOG command was used, but the USERID that was supplied in the CATALOG connect string does not have the RECOVERY_CATALOG_OWNER role granted as a DEFAULT role.

Solution

Grant the RECOVERY_CATALOG_OWNER role to the recovery catalog owner.