My Oracle Support Banner

Datapatch Failed With Error: ORA-47401: Realm Violation For GRANT On SYS.DBMS_RLS (Doc ID 3027699.1)

Last updated on SEPTEMBER 27, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Datapatch failed with next error:

Patch < DBRU Number Patch> apply: WITH ERRORS (RU)
  logfile: < Oracle home>\cfgtoollogs\sqlpatch\< DBRU Number Patch>\< Unique Patch ID>/< DBRU Number Patch>_apply_MLR_< Datetime>.log (no errors)
  ru_logfile: < Oracle home>\cfgtoollogs\sqlpatch\< DBRU Number Patch>\< Unique Patch ID>/< DBRU Number Patch>_ru_apply_MLR_< Datetime>.log (errors)
  -> Error at line 4564: script dbmsrman.sql
      - ORA-47401: Realm violation for GRANT on SYS.DBMS_RLS

 

< DBRU Number Patch>_ru_apply_MLR_< Datetime>.log.log:

SQL>
SQL> -- Following are added for VPD support
SQL> grant execute on dbms_rls to recovery_catalog_owner_vpd;
grant execute on dbms_rls to recovery_catalog_owner_vpd
                 *
ERROR at line 1:
ORA-47401: Realm violation for GRANT on SYS.DBMS_RLS

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.