Error: "SQLSyntaxErrorException: ORA-04045: errors during recompilation/revalidation of ADMUSER.P6_RPT_CONTEXT. ORA-01031: insufficient privilege" Attempting To Upgrade A P6 EPPM Schema (Doc ID 2005483.1)

Last updated on OCTOBER 03, 2016

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 15.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to upgrade the P6 EPPM database using dbsetup, the following errors occur after entering in the username/password of the privileged user, reporting user and background job user:

ERROR
-----------------------
SQLSyntaxErrorException: ORA-04045: errors during recompilation/revalidation of ADMUSER.P6_RPT_CONTEXT. ORA-01031: insufficient privilege


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run manual_script_before_upgrade.sql script
2. Run dbsetup.sh
3. Error occurs after entering in the username/password of the privileged user, reporting user and background job user

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms