Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...If there has ever been a justification needed for access to the net during working hours, just referring to this site should suffice. Fantastic!..."

Geography

Where in the world do Tek-Tips members come from?

ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine

ukupatil (Programmer)
30 Apr 10 2:43
Dear All,

Currently I am working on Oracle 10g (10.2.0.4 Enterprise varsion). It is upgraded from Oracle 9i(9.2.0.6 Enterprise
). Operating system is Linux.


I am facing many errors while creating a Text index on a table. While executing a procedure which drops and creates text index on table, first it raised following Error.
ORA-29868:Cannot issue DDL on a domain index marked as LOADING.

So I used the command to drop this index with FORCE as
DROP INDEX FORCE IX_INDEXNAME;

Again compiling the procedure and executing it, many errors raised as
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-04065: not executed,altered or dropped stored procedure "PUBLIC.UTL_RAW"
ORA-06508: PL/SQL Could not find program unit being called "PUBLIC.UTL_RAW"
ORA-06512: at "CTXSYS.DRIPARSE" line 41
ORA-06512: at "CTXSYS.DRIPARSE" line 1710
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS" line 81

Then I checked whether UTL_RAW package is available and valid or not with sql query
SELECT OBJECT_NAME, OBJECT_TYPE, STATUS FROM ALL_OBJECTS WHERE OBJECT_TYPE IN('PACKAGE', 'PACKAGE BODY') AND OBJECT_NAME = 'UTL_RAW';

Package is available with VALID status in database.

Then I unlocked CTXSYS account guessing one of the possibility.

ALTER USER CTXSYS ACCOUNT UNLOCK;

All EXECUTE grants on
CTXSYS.CTX_CLS,
CTXSYS.CTX_DDL,
CTXSYS.CTX_DOC,
CTXSYS.CTX_OUTPUT,
CTXSYS.CTX_QUERY,
CTXSYS.CTX_REPORT,
CTXSYS.CTX_THES,
CTXSYS.CTX_ULEXER,
CTXSYS.CONTEXT provided to the user.

Executed the script PRVTRAWB.PLB available at ORACLE_HOME\RDBMS\ADMIN\PRVTRAWB.PLB for UTL_RAW package body.

Again while execution, procedure raised number of errors.

ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-04065: not executed,altered or dropped stored procedure "PUBLIC.PLITBLM"
ORA-06508: PL/SQL Could not find program unit being called "PUBLIC.PLITBLM"
ORA-06512: at "CTXSYS.DRVUTL" line 51
ORA-06512: at "CTXSYS.DRUE" line 144
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS" line 364
ORA-06510: PL/SQL:Unhandled user-defined exception
ORA-06512: at "CTXSYS.DRVDDL" line 702
ORA-06512: at "CTXSYS.DRIXMD" line 1720
ORA-00001: unique constraint (CTXSYS.DRC$IDX_COLSPEC) violated

Please, forward the solution or even hint to find out the way to resolve this issue.

Thank You,

ukupatil
 
karluk (MIS)
30 Apr 10 12:01
Please take a look at note 370137.1 "After Upgrade, Some Packages Intermittently Fail with ORA-04065" at support.oracle.com.  It suggests that you should run $ORACLE_HOME/rdbms/admin/utlirp.sql  To do this you will need to start the database in upgrade mode and login as sys.  The comments in utlirp.sql also indicate that you need to be in the $ORACLE_HOME/rdbms/admin directory when executing utlirp - utlirp references the scripts standard.sql and dbmsstdx.sql.  Then shutdown and restart your database in normal mode and run utlrp.sql to recompile invalid objects.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close