My Oracle Support Banner

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 13, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
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

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.