ORA-01031 during Post Install / De-install for Database PSU or OJVM PSU with Data Vault installed
(Doc ID 1935120.1)
Last updated on SEPTEMBER 20, 2018
Applies to:Oracle Database - Personal Edition - Version 220.127.116.11 to 18.104.22.168 [Release 11.1 to 11.2]
Oracle Database - Enterprise Edition - Version 22.214.171.124 to 126.96.36.199 [Release 11.1 to 11.2]
Oracle Database - Standard Edition - Version 188.8.131.52 to 184.108.40.206 [Release 11.1 to 11.2]
Information in this document applies to any platform.
ORA-01031 occurs during Post Install / De-install steps for Database PSU or "Oracle JavaVM Component Database PSU" (OJVM PSU) in a system that has Data Vault installed.
5 EXECUTE IMMEDIATE 'create or replace java system';
7 update dependency$
8 set p_timestamp=(select stime from obj$ where obj#=p_obj#)
9 where (select stime from obj$ where obj#=p_obj#)!=p_timestamp and
10 (select type# from obj$ where obj#=p_obj#)=29 and
11 (select owner# from obj$ where obj#=p_obj#)=0;
13 -- Check the validity of JAVAVM and let the registry be updated accordingly.
17 -- Add a row in registry$history to indicate this script was run.
19 EXECUTE IMMEDIATE 'insert into registry$history
20 (action_time, action, namespace, version, id, comments)
21 values(SYSTIMESTAMP, ''jvmpsu.sql'', ''SERVER'',
22 ''220.127.116.11.1OJVMBP'', 0, ''APPLIED jvmpsu.sql'')';
ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "SYS.INITJVMAUX", line 535
ORA-06512: at line 3
Errors during the execution of applications (i.e. accessing a wallet) could be the following indicating the Post Install steps did not complete successfully:
ORA-28374: typed master key not found in wallet
ORA-06512: at "SYS.DBMS_REGISTRY", line 207
ORA-06512: at "SYS.DBMS_REGISTRY", line 357
ORA-06512: at "SYS.INITJVMAUX", line 144
ORA-29548: Java system class reported: release of classes.bin in the database
does not match that of the oracle executable
ORA-06512: at line 10
You are running post install steps (or post deinstall steps) of a Database PSU (or equivalent bundle patch) or an OJVM PSU.
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
|OPTION 1: Turn off Data Vault during the Post Install steps and enable again afterwards:|
|OPTION 2: Temporarily granting the DV_PATCH_ADMIN role|