Error: "Missing permission: DBMS_REPUTIL" or "ORA-01031: insufficient privileges" or "ORA-00942 table or view does not exist" When Creating Or Upgrading A P6 EPPM or P6 PPM Database
(Doc ID 1627563.1)
Last updated on AUGUST 01, 2023
Applies to:
Primavera P6 Enterprise Project Portfolio Management - Version 8.3.2.0 and laterPrimavera P6 Professional Project Management - Version 8.3.2.0 and later
Information in this document applies to any platform.
Symptoms
When running the database wizard to create or upgrade a P6 PPM or P6 EPPM database, the following error occurs after entering database connection credentials (connecting to an Oracle Database):
ERROR
------------
When creating a new Database:
- Missing permission: DBMS_REPUTIL
- Run the manual script first --> manual_script_before_install.sql
OR
- ORA-00942 table or view does not exist
When upgrading an existing database:
- Missing permissions: DBMS_REPUTIL
- Run the manual script first -->manual_script_before_upgrade.sql
When running the database wizard to create a P6 PPM or P6 EPPM database in r8.3.2 or later, the following error can also occur at the end of the dbsetup process during execution of the actual scripts to create database:
ERROR
------------
<TIMESTAMP> [WARN] [TIMESTAMP] [USER] Could not complete because the job "Run SQL Script orpm_grantpriv.sql" failed.
com.primavera.database.tools.DatabaseToolException: ORA-01031: insufficient privileges
at com.primavera.database.tools.ScriptRunner.ScriptRunner.runSQL(ScriptRunner.java:209)
at com.primavera.database.tools.ScriptRunner.ScriptRunner.run(ScriptRunner.java:145)
at com.primavera.database.tools.dbmt.workflow.SqlScriptJob.doJob(SqlScriptJob.java:86)
at com.primavera.database.tools.dbmt.AbstractJob.execute(AbstractJob.java:64)
at com.primavera.database.tools.dbmt.WorkflowStepJob.doJob(WorkflowStepJob.java:49)
at com.primavera.database.tools.dbmt.AbstractJob.execute(AbstractJob.java:64)
at com.primavera.database.tools.dbmt.actions.BaseWizardRunner.runJob(BaseWizardRunner.java:195)
at com.primavera.database.tools.dbmt.actions.BaseWizardRunner.commit(BaseWizardRunner.java:203)
at com.primavera.database.tools.dbmt.actions.JobTreeTypeDef$JobRunner.run(JobTreeTypeDef.java:252)
at java.lang.Thread.run(Unknown Source)
OR
Error in Run SQL Script orppm_grant_privileges.sql : DatabaseToolException (ORA-01031: insufficient priviledges)
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 |
Cause |
Solution |
References |