Error: 'Table "ADMUSER"."PAUDIT" Does Not Exist or Insufficient Privileges' When Gathering Statistics on a P6 Professional Database

(Doc ID 2372447.1)

Last updated on APRIL 06, 2018

Applies to:

Primavera P6 Professional Project Management - Version 16.2.0.0 to 17.12.2.0 [Release 16.2 to 17.12]
Information in this document applies to any platform.

Symptoms

When running the orpm_stats_gather.sql script to gather statistics on a P6 Professional database, the following error occurs:

ERROR
----------
SP2-0310: unable to open file "C:\oracle\StatsGather17\tmp_pm_gather.tmp"
begin
*
ERROR at line 1:
ORA-20000: TABLE "ADMUSER"."PAUDIT" does not exist or insufficient privileges
ORA-06512: at "SYS.DBMS_STATS", line 17374
ORA-06512: at line 2


STEPS TO REPRODUCE
---------------------
The issue can be reproduced at will with the following steps:

  1. Connect to the database as the schema owner (default admuser).
  2. Execute the ~\P6_<version>_Database\scripts\common\orpm_stats_gather.sql script.
  3. View reported error.

Changes

 

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