My Oracle Support Banner

Unable To Recompile Invalid Objects with UTLRP Script After Upgrading From 9i To 10g (Doc ID 465050.1)

Last updated on AUGUST 08, 2018

Applies to:

Oracle Database - Standard Edition - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.


Symptoms

Invalid objects after upgrading the database from 9i to 10g

utlrp script fails with the following errors :

DECLARE
*
ERROR at line 1:
ORA-02289: sequence does not exist
ORA-06512: at "SYS.UTL_RECOMP", line 608
ORA-06512: at line 4

select object_name, owner, object_type, status from dba_objects where object_name like
upper('%UTL_RECOMP%');

returns these 2 invalid objects;
UTL_RECOMP_ALL_INV and UTL_RECOMP_SCHEMA_INV

Trying to compiling them fails with the following errors:

ERROR at line 4:
ORA-04045: errors during recompilation/revalidation of LBACSYS.LBAC$AFTER_CREATE
ORA-04064: not executed, invalidated
ORA-04064: not executed, invalidated package body "LBACSYS.LBAC_EVENTS"
ORA-06508: PL/SQL: could not find program unit being called: "LBACSYS.LBAC_EVENTS"
ORA-06512: at line 2
ORA-06508: PL/SQL: could not find program unit being called: "LBACSYS.LBAC_EVENTS"
ORA-06512: at line 2

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!


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