Oracle Database Multitenant, with DB VAULT, while executing datapatch, getting ORA-01031: insufficient privileges (Doc ID 2180093.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

In an Oracle Database Multitenant CDB, environment, with DB VAULT enable, after applying the patchset for Combo OJVM DB PSU + DB BP, or any other patchset, ones binary patch is completed, and following post-patch with datapatch, similar error are noticed:

 

/file: sqlpatch_92792_2016_08_29_17_09_20/sqlpatch_invocation.log

Installing patches...
Patch installation complete. Total patches installed: 8

Validating logfiles...
Patch 23177536 apply (pdb CDB$ROOT): WITH ERRORS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/23177536/20400035/23177536_apply_EDWCDB_CDBROOT_2016Aug29_17_09_35.log (errors)
Error at line 258: ORA-01031: insufficient privileges
Patch 23144544 apply (pdb CDB$ROOT): WITH ERRORS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/23144544/20247727/23144544_apply_EDWCDB_CDBROOT_2016Aug29_17_09_36.log (errors)
Error at line 96200: ORA-01031: insufficient privileges
Error at line 96223: ORA-06550: line 5, column 37:
Error at line 96224: PL/SQL: ORA-01031: insufficient privileges
Error at line 96225: ORA-06550: line 5, column 1:
Error at line 96245: ORA-01031: insufficient privileges
Error at line 96268: ORA-06550: line 5, column 37:
Error at line 96269: PL/SQL: ORA-01031: insufficient privileges
Error at line 96270: ORA-06550: line 5, column 1:
Error at line 96301: ORA-01031: insufficient privileges
Error at line 96330: ORA-01031: insufficient privileges
Error at line 96355: ORA-01031: insufficient privileges
Error at line 96384: ORA-01031: insufficient privileges
Error at line 96423: ORA-01031: insufficient privileges
Error at line 96447: ORA-01031: insufficient privileges
Error at line 96474: ORA-01031: insufficient privileges
Error at line 96499: ORA-01031: insufficient privileges

 

 

In the above example, this happened in the post patching process for Patch 23615334 - Combo of OJVM Component 12.1.0.2.160719 DB PSU + DB BP 12.1.0.2.160719 (Jul2016).

Changes

 Patch 23615334 - Combo of OJVM Component 12.1.0.2.160719 DB PSU + DB BP 12.1.0.2.160719 (Jul2016).

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