Bulkload Fails Immediately - Nothing Written To The Command Line

(Doc ID 739110.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version: 10.1.2.2 to 10.1.4 - Release: 10gR2 to 10gR3

Symptoms

When attempting a bulkload from a file produced by ldifwrite,  the command simply returns to the command prompt without any output, OR an error is produced during the generate phase regarding missing attribute or alias for the attribute.   In this example the offending index was named 'stree2'  but this error has been encountered with other attributes as well.

Symptom #1.  Running bulkload connect=xxxx index=true reports problems with schema

Symptom #2.  running bulkload connect=xxxx check=true file=<filename> runs normally.. e.g.. produces output at end of run.

Symptom #3. Bulkload produced error during the generate phase as follows:

  Error in getting syntax for attribute - <attribute name>

Symptom #4.  Bulkload produced error during the load phase as follows:

  Datagen Error : Error in getting alias for attribute - stree2

Symptom #5.  A dump of the OID Schema reveals no such attribute named in the error.

Symptom #6.  An analysis of the LDIF file being loaded shows no such attribute named in the error.


 

Sympton #5.  Running the following query returns one row:

SQL> select entryid, attrname, attrval from ods.ds_attrstore where
lower(attrname) like '%stree2%';

ENTRYID
----------
ATTRNAME
--------------------------------------------------------------------------------
ATTRVAL
--------------------------------------------------------------------------------
912
orclindexedattribute
stree2


SQL>


Changes

Custom schema modifications have been made to the OID where the load is being attempted.

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