My Oracle Support Banner

Error: "ORA-01031: insufficient privileges ORA-06512: at "SYS.DBMS_SESSION", ORA-06512: at "ADMUSER.SECPAC"" When Attempting to Connect to an Oracle Database as a P6 EPPM Schema Use (Doc ID 1423794.1)

Last updated on JULY 25, 2023

Applies to:

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


When attempting to connect to an Oracle database using the public user (by default, pubuser), the privileged user (by default, privuser) or the reporting database user ( by default, pxrptuser) the following error occurs:

ORA-00604: error occurred at recursive SQL level 1
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SESSION", line 90
ORA-06512: at "ADMUSER.SECPAC", line 8
ORA-06512: at "ADMUSER.SECPAC", line 36
ORA-06512: at "ADMUSER.SECPAC", line 52
ORA-06512: at line 2

  • This can occur when connecting to the Oracle database using a tool like SQL*Plus, SQL Developer or when using any P6 EPPM module to connect to the P6 EPPM schema.
  • This can occur most frequently after a schema import from a dump file.




To view full details, 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 a vibrant support community of peers and Oracle experts.