Catupgrd.sql Failes With Errors ORA-29958 ORA-1031 Running CREATE INDEX XDB.XDB$ACL_XIDX on XDB.XDB$ACL.. (Doc ID 1380478.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Server - Enterprise Edition - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms

During the upgrade process to the version 11.2.0.3 the catupgrd.sql fails executing the pl/sql block

declare
cur integer;
rc integer;
begin
cur := dbms_sql.open_cursor;
dbms_sql.parse(cur,
'create index xdb.xdb$acl_xidx on xdb.xdb$acl(object_value) '||
'indextype is xdb.xmlindex '||
'parameters(''PATH TABLE XDBACL_PATH_TAB VALUE INDEX XDBACL_PATH_TAB_VALUE_IDX'') ',
dbms_sql.native);
rc := dbms_sql.execute(cur);
dbms_sql.close_cursor(cur);
end;
/


which raises the errors
ORA-29958: fatal error occurred in the execution of ODCIINDEXCREATE routine
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SQL", line 1199
ORA-06512: at line 6

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