Utlrp.sql

Hi
When I run the following script to recompile all invalid objects:
@$ORACLE_HOME/rdbms/admin/utlrp.sql
I notice that new tables, indexes,views,packagaes are created !!
What is the reason for this?
Oracle 9.2.0.8.0

No I didnt upgrade.
I just want to test this script.
SQL> @$ORACLE_HOME/rdbms/admin/utlrp.sql
PL/SQL procedure successfully completed.
Table created.
Table created.
Table created.
Index created.
Table created.
Table created.
View created.
View created.
Package created.
No errors.
Package body created.
No errors.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.

Similar Messages

  • ORA-03113: end-of-file on communication channel while running utlrp.sql

    Hi All,
    I am getting ORA-03113: end-of-file on communication channel while running utlrp.sql.
    Actually I ran utlrp.sql before in my test database and terminated the session in middle after that when ever I am running utlrp.sql i am getting the above error.
    how to resolve the issue.
    Kiran

    Hi,
    Check as follows;
    select owner,object_name,object_type from dba_objects where object_name like
    'UTL%'The objects should only belong to SYS, if they do belong do some other user (example HR, etc). Drop objects belong to other users (not sys).
    Then connect as sys as sysdba and rerun the script utlrp.sql.
    You can also review Oracle Metalink Document: ORA-03113 Error When Executing Utlrp.sql: Doc ID: Note:413922.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:5496440446026841247::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,413922.1,1,1,1,helvetica
    Adith

  • Components are invalid after the execution of utlrp.sql

    Hi All,
            I have migrated one database from the version 10.2.0.4 to 10.2.0.5, After the execution of upgrade script all components are found as valid, and then I executed utlrp.sql and at the end of this execution some of the components became Invalid. Please find the details below and Can anyone help me on this?
    I have used RMAN for migration and started the database by using startup upgrade.
    SOURCE:
    OS : Linux 2.6.18-92.el5
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    TARGET:
    OS :Linux  2.6.18-274.el5
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for Linux: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Regards,
    Jai

    Hi All,
           I have resolved this issue after the re installation of  Spatial component
    Thanks

  • Utlrp.sql takes very long (8 hours) while upgrade database from 9i to 10g

    1) Follow the note of 369693.1 ; and 362203.1 to upgrade database from 9.2.0.6 to 10.2.0.4 for e-business suite 11i (11.5.10.2)
    2) utlrp.sql takes very long (8 hours), even the job_queue_processes > 20.
    This is not acceptable for the upgrade in production environment which will take a long down time.
    Appreciate that any one can share tips on this, our database is about 400 GB, 4 CPU on production.

    in which our database has about 40,000 packages and 28,000 Virews. With this number of invalid objects, it is ok that utlrp.sql takes this time.
    using parallel worker of 4 for 2 CPUMake this 8 (4 * No. of CPUs).

  • Ora-12801,Ora-00018,Ora-06512 encountered running utlrp.sql

    Hi All ,
    I am on oracle version 11.1.0.7.0 and OS is solaris SPARC.
    I am applying the CPU April 2011 patch..
    I ran the catbundle.sql file and post that , most of views under sys schema got invalid.
    So i ran @$ORACLE_HOME/cpu/view_recompile/recompile_precheck_jan2008cpu.sql
    and
    @$ORACLE_HOME/cpu/view_recompile/view_recompile_jan2008cpu.sql
    Inspite of this they were invalid.
    So i tried running utlrp.sql query and I facing these errors while running the query :
    ERROR at line 1:
    ORA-12801: error signaled in parallel query server P051
    ORA-00018: maximum number of sessions exceeded
    ORA-06512: at "SYS.UTL_RECOMP", line 760
    ORA-06512: at line 4I increased the number of processes.. but still I am facing this error... I am searching on metalink also..
    Any help would be appreciated..
    Regards
    Kk

    Hi All ,
    This issue is resolved.. I checked on Metalink for a similar solution , it was mentioned to do the following steps :
    shutdown immediate
    startup upgrade
    shutdown immediate
    startupDid these steps and i ran it again.. its working fine now.. All sys objects have been compiled successfully.
    Also , i came across this :
    Number of Sessions Exceeded During Database Creation While Executing SYS.UTL_RECOMP [ID 749359.1]
    I would have tried to increase the number of sessions to a very high value if the above solution had not worked.
    Thanks
    Kk

  • For running utlrp.sql need users termination from the database?

    Hai All,
    My database jobs terminated in some time. So I want to run utlrp.sql for compiling all invalid objects. Is It needs users termination from the database? or login to restricted session? Please give a correct step for doing this activity..
    Please help?
    Shiju

    database? or login to restricted session? Please
    give a correct step for doing this activity..
    It is good , if you run utlrp.sql in restricted mode also set job_queue_processes =0 and check no dbms_job running package ( if package is valid then fine ). Problem only come when package/procedure are locked/in use by session. If invalid package are not used by any session then you can run utlrp.sql without restricted mode also. Well you know better you application.
    Since you not altering any dependencies, just want to compile , you can run without restricted mode.
    Virag

  • Utlrp.sql script job schedule from OEM

    Any users on how to create grid control job for recompiling object via below script:
    @?/rdbms/admin/utlrp.sql
    I tried few testing but all failing at
    SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    (creating job as SQL script)
    Thanks,

    Hi Users,
    Thanks for all responses.
    Thanks Absorbine, it was really funny l laughed on that.
    OrionNet, I am trying to run this on atleast 5 db instances and also not real expert in procedures.
    Basically I am trying to create OEM job to run utlrp.sql or UTL_RECOMP pacakages on 5 different db instances.
    Tried below:
    1. created job with utlrp.sql:
    @?.rdbms/admin/utlrp.sql;
    Error:
    SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    2. Created job with UTL_RECOMP:
    SQL Script:
    WHENEVER SQLERROR EXIT FAILURE;
    EXEC UTL_RECOMP.recomp_serial;
    Error:
    SQL> SQL> SQL> SQL> SQL> BEGIN utl_recomp.recomp_serial ; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'UTL_RECOMP.RECOMP_SERIAL' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    cheers,
    Rapchik

  • Utlrp.sql script from OEM

    Any users on how to create grid control job for recompiling object via below script:
    @?/rdbms/admin/utlrp.sql
    I tried few testing but all failing at
    SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    Thanks,

    i recreated sysaux because one of our developer add datafile (for sysaux) in home location not in +ASM, that is also only for prod1 not at both
    the location then after some days i was getting ora-600 then i found that wrongly add datafile sysaux.
    then i copied that datafile to other location also.after that ora-600 gone...but after some days i restarted database
    that time it was asking for recovery of sysaux,as we dont have any and any kind of backup and archivelog
    i made offline to that sysaux tablespace,after making offline we are facing problem at very activity so we recreated
    sysaux . . . ..

  • UTLRP.SQL run very long, how to check ?

    Hello all
    Need your help and advice on my problem that i facing now,
    I did to recompile all the object in oracle using
    @UTLRP.SQL in $ORACLE_HOME\rdbms\admin
    The sql was running about 4 hours but still running, but actually i dont know is it hang or still running
    My question is
    - is this normal, since that already run for 4 hours
    - how to check whether is still running or hang, I did check on the task manager, the oracle.exe keep moving
    - Can i cancell it ? any problem later on if i cancel it ?
    - Is there any log to check
    Sorry so many question, need all of your advice
    Thanks in advance
    Cheers
    Surya

    You can check the decreasing number of invalid objects using below query:
    select count(*) from dba_objects where status = 'INVALID'You can also check session waits for that session that is running utlrp.sql
    With kind regards
    Krystian Zieja
    http://www.projectenvision.com

  • How to run @?/rdbms/admin/utlrp.sql from OEM?

    After I make database changes I have to run utlrp.sql to compile all the invalid objects. I know how to do it from the host. But now I'm running this release from the OEM as sql jobs.
    Is there any equivalent of @?/rdbms/sadmin/utlrp.sql running from OEM?
    error msg:
    DOC> 2. Query showing UTL_RECOMP jobs that are running
    DOC>     SELECT job_name FROM dba_scheduler_running_jobs
    DOC>          WHERE job_name like 'UTL_RECOMP_SLAVE_%';
    DOC>#
    utl_recomp.recomp_parallel(threads);
    ERROR at line 4:
    ORA-06550: line 4, column 4:
    PLS-00201: identifier 'UTL_RECOMP.RECOMP_PARALLEL' must be declared
    ORA-06550: line 4, column 4:
    PL/SQL: Statement ignored
    Elapsed: 00:00:00.01
    SELECT dbms_registry_sys.time_stamp('utlrp_end') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    Elapsed: 00:00:00.00
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.01
    DOC> The following query reports the number of objects that have compiled
    DOC> with errors (objects that compile with errors have status set to 3 in
    DOC> obj$). If the number is higher than expected, please examine the error
    DOC> messages reported with each object (using SHOW ERRORS) to see if they
    DOC> point to system misconfiguration or resource constraints that must be
    DOC> fixed before attempting to recompile these objects.
    DOC>#
    select COUNT(*) "OBJECTS WITH ERRORS" from obj$ where status = 3
    ERROR at line 1:
    ORA-00942: table or view does not exist

    Hi,
    How can you create job in OEM to use EXEC UTL_RECOMP.recomp_serial(); inorder to compile all db objects.
    I tried few things but all resulting in error.
    I am creating OEM job as SQL script and where it ask for SQL script I am giving below code:
    1.
    WHENEVER SQLERROR EXIT FAILURE;
    EXEC UTL_RECOMP.recomp_serial;Error:
    SQL> SQL> SQL> SQL> SQL> BEGIN utl_recomp.recomp_serial ; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'UTL_RECOMP.RECOMP_SERIAL' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    2.when trying with using utlrp.sql:
    WHENEVER SQLERROR EXIT FAILURE;
    @?/rdbms/admin/utlrp.sql;Error:
    SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    I can run utlrp.sql without any error manually from sql prompt as sys user.
    I am login into OEM as SYSTEM user and also with user who has privilege for backup.
    thanks,

  • How to run @?/rdbms/admin/utlrp.sql remotely

    After running patch set assistant against MDS schema using jython script, I need to run the sql file utlrp to recompile the db objects and the db machine is remote and I would like to run remotely. Any suggestions.
    Thanks

    You can execute remote scripts via SQL*Plus - provided that there is a network access path to that remote script.
    From the SQL*Plus command line help:
    SQL> help @
    @ ("at" sign)
    Runs the SQL*Plus statements in the specified script. The script can be
    called from the local file system or a web server.
    @ {url|file_name[.ext]} [arg ...]
    where url supports HTTP and FTP protocols in the form:
        http://host.domain/script.sql
    @@ (double "at" sign)
    Runs the specified script. This command is almost identical to
    the @ command. It is useful for running nested scripts because it
    has the additional functionality of looking for the nested script
    in the same url or path as the calling script.
    @@ {url|file_name[.ext]} [arg ...]Both HTTP and FTP access to remote scripts are supported. If you do not have either, then you need to copy that remote script to a local location and execute it, via SQL*Plus, from there.

  • Utlrp.sql Error Ora-03113

    I install the catpatch for 9.2.0.2 and after shutdown and startup i run the utlrp script and received an Ora 03113 Error in the following line: BEGIN utl_recomp.recomp_serial() unexpected termination of connection. Anyone with the same problem and how can I resolve it.
    thx Bernd

    Hello,
    There are some information in metalink about error linked to "_intel_fast_memcpy.A+18".
    Mainly information about bugs ;)
    I don't have any Windows Oracle database here, so I can't test, but, don't you have to CONVERT the database in order to switch from 32bits to 64bits? Did you check the Endianness problem against V$TRANSPORTABLE_PLATFORM or V$DB_TRANSPORTABLE_PLATFORM ?
    In fact I'm not sure there's a conversion phase needed.. but the 32 to 64 bits phase might be what tricks you down.
    Yoann.

  • Fail running @/oracle/product/infra/rdbms/admin/utlrp.sql in Oracle RAC DB

    Dear Expert,
    I have issue when running recompile db by using below statement in Oracle RAC db.
    SELECT dbms_registry.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY"."TIME_STAMP": invalid identifier
    Regard
    Liang

    timestamp not found below
    SQL> desc dbms_registry
    PROCEDURE CHECK_SERVER_INSTANCE
    FUNCTION COMP_NAME RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    PROCEDURE DELETE_PROGRESS_ACTION
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    ACTION                VARCHAR2          IN
    PROCEDURE DOWNGRADED
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    OLD_VERSION               VARCHAR2          IN
    PROCEDURE DOWNGRADING
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    OLD_NAME               VARCHAR2          IN     DEFAULT
    OLD_PROC               VARCHAR2          IN     DEFAULT
    OLD_SCHEMA               VARCHAR2          IN     DEFAULT
    OLD_PARENT               VARCHAR2          IN     DEFAULT
    FUNCTION GET_DEPENDENT_COMPS RETURNS COMP_DEPEND_LIST_T
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION GET_DEPENDENT_COMPS_REC RETURNS TABLE OF RECORD
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION GET_PROGRESS_STEP RETURNS NUMBER
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    ACTION                VARCHAR2          IN
    FUNCTION GET_PROGRESS_VALUE RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    ACTION                VARCHAR2          IN
    FUNCTION GET_REQUIRED_COMPS RETURNS COMP_DEPEND_LIST_T
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION GET_REQUIRED_COMPS_REC RETURNS TABLE OF RECORD
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    PROCEDURE INVALID
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION IS_COMPONENT RETURNS BOOLEAN
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION IS_IN_REGISTRY RETURNS BOOLEAN
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION IS_LOADED RETURNS NUMBER
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    VERSION               VARCHAR2          IN     DEFAULT
    FUNCTION IS_STARTUP_REQUIRED RETURNS NUMBER
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION IS_VALID RETURNS NUMBER
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    VERSION               VARCHAR2          IN     DEFAULT
    PROCEDURE LOADED
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    COMP_VERSION               VARCHAR2          IN     DEFAULT
    COMP_BANNER               VARCHAR2          IN     DEFAULT
    PROCEDURE LOADING
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    COMP_NAME               VARCHAR2          IN
    COMP_PROC               VARCHAR2          IN     DEFAULT
    COMP_SCHEMA               VARCHAR2          IN     DEFAULT
    COMP_PARENT               VARCHAR2          IN     DEFAULT
    PROCEDURE LOADING
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    COMP_NAME               VARCHAR2          IN
    COMP_PROC               VARCHAR2          IN
    COMP_SCHEMA               VARCHAR2          IN
    COMP_SCHEMAS               SCHEMA_LIST_T          IN
    COMP_PARENT               VARCHAR2          IN     DEFAULT
    FUNCTION NOTHING_SCRIPT RETURNS VARCHAR2
    FUNCTION PREV_VERSION RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    PROCEDURE REMOVED
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    PROCEDURE REMOVING
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    PROCEDURE RESET_VERSION
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION SCHEMA RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION SCHEMA_LIST RETURNS SCHEMA_LIST_T
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION SCHEMA_LIST_STRING RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION SCRIPT RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    SCRIPT_NAME               VARCHAR2          IN
    FUNCTION SCRIPT_PATH RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION SCRIPT_PREFIX RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION SESSION_NAMESPACE RETURNS VARCHAR2
    PROCEDURE SET_COMP_NAMESPACE
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    NAMESPACE               VARCHAR2          IN
    PROCEDURE SET_PROGRESS_ACTION
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    ACTION                VARCHAR2          IN
    VALUE                    VARCHAR2          IN     DEFAULT
    STEP                    NUMBER               IN     DEFAULT
    PROCEDURE SET_PROGRESS_STEP
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    ACTION                VARCHAR2          IN
    STEP                    NUMBER               IN
    PROCEDURE SET_PROGRESS_VALUE
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    ACTION                VARCHAR2          IN
    VALUE                    VARCHAR2          IN
    PROCEDURE SET_REQUIRED_COMPS
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    COMP_DEPEND_LIST          COMP_DEPEND_LIST_T     IN
    PROCEDURE SET_REQUIRED_COMPS
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    COMP_DEPEND_LIST          TABLE OF RECORD      IN
    PROCEDURE SET_SESSION_NAMESPACE
    Argument Name               Type               In/Out Default?
    NAMESPACE               VARCHAR2          IN
    PROCEDURE STARTUP_COMPLETE
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    PROCEDURE STARTUP_REQUIRED
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION STATUS RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION STATUS_NAME RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    STATUS                NUMBER               IN
    FUNCTION SUBCOMPONENTS RETURNS TABLE OF VARCHAR2(30)
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    COMP_OPTION               NUMBER               IN     DEFAULT
    PROCEDURE UPDATE_SCHEMA_LIST
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    COMP_SCHEMAS               SCHEMA_LIST_T          IN
    PROCEDURE UPGRADED
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    NEW_VERSION               VARCHAR2          IN     DEFAULT
    NEW_BANNER               VARCHAR2          IN     DEFAULT
    PROCEDURE UPGRADING
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    NEW_NAME               VARCHAR2          IN     DEFAULT
    NEW_PROC               VARCHAR2          IN     DEFAULT
    NEW_SCHEMA               VARCHAR2          IN     DEFAULT
    NEW_PARENT               VARCHAR2          IN     DEFAULT
    PROCEDURE UPGRADING
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    NEW_NAME               VARCHAR2          IN
    NEW_PROC               VARCHAR2          IN
    NEW_SCHEMA               VARCHAR2          IN
    NEW_SCHEMAS               SCHEMA_LIST_T          IN
    NEW_PARENT               VARCHAR2          IN     DEFAULT
    PROCEDURE VALID
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    FUNCTION VERSION RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    COMP_ID               VARCHAR2          IN
    SQL>

  • $ORACLE_HOME/rdbms/admin/utlrp.sql

    Hi,
    can i use this script to compile all my invalids objects without auther effects on my product DB?
    Thanks.

    Are there invalid objects on your DB at this time.
    Normally this may happen at the time of migrating or upgrading a application and the script could be used to compile all invalid objects to save on recompile steps at runtime.
    Note this from the comments in the file:
    <quote>
    Rem * There should be no other DDL on the database while running the
    Rem script. Not following this recommendation may lead to deadlocks.
    </quote>

  • While running utlrp in 11.2.0.2 database, errors are seen

    SQL> @utlrp.sql
    TIMESTAMP
    COMP_TIMESTAMP UTLRP_BGN 2011-06-10 22:13:37
    DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
    DOC> objects in the database. Recompilation time is proportional to the
    DOC> number of invalid objects in the database, so this command may take
    DOC> a long time to execute on a database with a large number of invalid
    DOC> objects.
    DOC>
    DOC> Use the following queries to track recompilation progress:
    DOC>
    DOC> 1. Query returning the number of invalid objects remaining. This
    DOC> number should decrease with time.
    DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
    DOC>
    DOC> 2. Query returning the number of objects compiled so far. This number
    DOC> should increase with time.
    DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
    DOC>
    DOC> This script automatically chooses serial or parallel recompilation
    DOC> based on the number of CPUs available (parameter cpu_count) multiplied
    DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
    DOC> On RAC, this number is added across all RAC nodes.
    DOC>
    DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
    DOC> recompilation. Jobs are created without instance affinity so that they
    DOC> can migrate across RAC nodes. Use the following queries to verify
    DOC> whether UTL_RECOMP jobs are being created and run correctly:
    DOC>
    DOC> 1. Query showing jobs created by UTL_RECOMP
    DOC> SELECT job_name FROM dba_scheduler_jobs
    DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
    DOC>
    DOC> 2. Query showing UTL_RECOMP jobs that are running
    DOC> SELECT job_name FROM dba_scheduler_running_jobs
    DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
    DOC>#
    PL/SQL procedure successfully completed.
    TIMESTAMP
    COMP_TIMESTAMP UTLRP_END 2011-06-10 22:16:18
    DOC> The following query reports the number of objects that have compiled
    DOC> with errors (objects that compile with errors have status set to 3 in
    DOC> obj$). If the number is higher than expected, please examine the error
    DOC> messages reported with each object (using SHOW ERRORS) to see if they
    DOC> point to system misconfiguration or resource constraints that must be
    DOC> fixed before attempting to recompile these objects.
    DOC>#
    OBJECTS WITH ERRORS
    71
    DOC> The following query reports the number of errors caught during
    DOC> recompilation. If this number is non-zero, please query the error
    DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
    DOC> are due to misconfiguration or resource constraints that must be
    DOC> fixed before objects can compile successfully.
    DOC>#
    ERRORS DURING RECOMPILATION
    22
    Function created.
    PL/SQL procedure successfully completed.
    Function dropped.
    ORDIM registered 0 XML schemas.
    The following XML schemas are not registered:
    http://xmlns.oracle.com/ord/dicom/UIDdefinition_1_0
    http://xmlns.oracle.com/ord/dicom/anonymity_1_0
    http://xmlns.oracle.com/ord/dicom/attributeTag_1_0
    http://xmlns.oracle.com/ord/dicom/constraint_1_0
    http://xmlns.oracle.com/ord/dicom/datatype_1_0
    http://xmlns.oracle.com/ord/dicom/manifest_1_0
    http://xmlns.oracle.com/ord/dicom/mapping_1_0
    http://xmlns.oracle.com/ord/dicom/mddatatype_1_0
    http://xmlns.oracle.com/ord/dicom/metadata_1_0
    http://xmlns.oracle.com/ord/dicom/orddicom_1_0
    http://xmlns.oracle.com/ord/dicom/preference_1_0
    http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0
    http://xmlns.oracle.com/ord/dicom/rpdatatype_1_0
    http://xmlns.oracle.com/ord/dicom/standardDictionary_1_0
    http://xmlns.oracle.com/ord/meta/dicomImage
    http://xmlns.oracle.com/ord/meta/exif
    http://xmlns.oracle.com/ord/meta/iptc
    http://xmlns.oracle.com/ord/meta/ordimage
    http://xmlns.oracle.com/ord/meta/xmp
    ORDIM DICOM repository has 0 documents.
    The following default DICOM repository documents are not installed:
    ordcman.xml
    ordcmcmc.xml
    ordcmcmd.xml
    ordcmct.xml
    ordcmmp.xml
    ordcmpf.xml
    ordcmpv.xml
    ordcmsd.xml
    ordcmui.xml
    PL/SQL procedure successfully completed.
    Please suggest .
    Regards

    I am also facing below issue while running UTLRP in 11.1.0.7
    SQL> Rem Run component validation procedure
    SQL> Rem =====================================================================
    SQL>
    SQL> EXECUTE dbms_registry_sys.validate_components;
    ORDIM INVALID OBJECTS: CODE_SEQUENCE253_T - 5 - 13
    ORDIM INVALID OBJECTS: CODE_SEQUENCE255_COLL - 5 - 13
    ORDIM INVALID OBJECTS: CODE_SQ254_T - 5 - 13
    ORDIM INVALID OBJECTS: ORD_DICOM_HEADER257_T - 5 - 13
    ORDIM INVALID OBJECTS: MEDIA_STORAGE_SOP_CLASS259_T - 5 - 13
    ORDIM INVALID OBJECTS: MEDIA_STORAGE_SOP_INSTA260_T - 5 - 13
    ORDIM INVALID OBJECTS: TRANSFER_SYNTAX_UID261_T - 5 - 13
    ORDIM INVALID OBJECTS: IMPLEMENTATION_CLASS_UI262_T - 5 - 13
    ORDIM INVALID OBJECTS: IMPLEMENTATION_VERSION_263_T - 5 - 13
    ORDIM INVALID OBJECTS: SOURCE_APPLICATION_ENTI264_T - 5 - 13
    ORDIM INVALID OBJECTS: FILE_META_HEADER258_T - 5 - 13
    ORDIM INVALID OBJECTS: NAME267_T - 5 - 13
    ORDIM INVALID OBJECTS: ID268_T - 5 - 13
    ORDIM INVALID OBJECTS: BIRTH_DATE269_T - 5 - 13
    ORDIM INVALID OBJECTS: SEX270_T - 5 - 13
    ORDIM INVALID OBJECTS: PATIENT266_T - 5 - 13
    ORDIM INVALID OBJECTS: INSTANCE_UID272_T - 5 - 13
    ORDIM INVALID OBJECTS: DATE273_T - 5 - 13
    ORDIM INVALID OBJECTS: TIME275_T - 5 - 13
    ORDIM registered 0 XML schemas.
    The following XML schemas are not registered:
    http://xmlns.oracle.com/ord/dicom/UIDdefinition_1_0
    http://xmlns.oracle.com/ord/dicom/anonymity_1_0
    http://xmlns.oracle.com/ord/dicom/constraint_1_0
    http://xmlns.oracle.com/ord/dicom/datatype_1_0
    http://xmlns.oracle.com/ord/dicom/mapping_1_0
    http://xmlns.oracle.com/ord/dicom/mddatatype_1_0
    http://xmlns.oracle.com/ord/dicom/metadata_1_0
    http://xmlns.oracle.com/ord/dicom/orddicom_1_0
    http://xmlns.oracle.com/ord/dicom/preference_1_0
    http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0
    http://xmlns.oracle.com/ord/dicom/rpdatatype_1_0
    http://xmlns.oracle.com/ord/dicom/standardDictionary_1_0
    http://xmlns.oracle.com/ord/meta/dicomImage
    http://xmlns.oracle.com/ord/meta/exif
    http://xmlns.oracle.com/ord/meta/iptc
    http://xmlns.oracle.com/ord/meta/ordimage
    http://xmlns.oracle.com/ord/meta/xmp
    ORDIM DICOM repository has 0 documents.
    The following default DICOM repository documents are not installed:
    ordcman.xml
    ordcmcmc.xml
    ordcmcmd.xml
    ordcmct.xml
    ordcmmp.xml
    ordcmpf.xml
    ordcmpv.xml
    ordcmsd.xml
    ordcmui.xml
    Invoking Ultra Search Install/Upgrade validation procedure VALIDATE_WK
    Ultra Search VALIDATE_WK done with no error
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.09
    SQL> SET serveroutput off
    SQL>
    SQL>
    SQL> Rem ===========================================================================
    SQL> Rem END utlrp.sql
    SQL> Rem ===========================================================================
    Please suggest how to solve this.
    manually compilation also not helping
    Regards,
    -Ravi.

Maybe you are looking for