My Oracle Support Banner

Running utlrp.sql Script in Raises ORA-04045 on XDB.XDB_PI_TRIG (Doc ID 1641095.1)

Last updated on JANUARY 21, 2020

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


After applying any of the following patches
- the Windows bundle patch #53 for Oracle and onwards
- Database PSU and onwards
running the utlrp.sql script, as requested by the post installation steps, may raise below errors

ORA-04045: errors during recompilation/revalidation of XDB.XDB_PI_TRIG
ORA-01031: insufficient privileges
ORA-06512: at "SYS.UTL_RECOMP", line 760


 Starting with PSU as well as Windows bundle patch #53 the XDB_PI_TRIG trigger has been moved to SYS's schema.


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

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