My Oracle Support Banner

OID Bulkload Fails With "datagen encountered errors" (Doc ID 1209803.1)

Last updated on SEPTEMBER 15, 2016

Applies to:

Oracle Internet Directory - Version 9.0.4 to [Release 10gR1 to 10gR2]
Oracle Solaris on SPARC (64-bit)


Running to import an LDIF file on the Solaris platform may give the following error:

$ORACLE_HOME/ldap/bin/ -connect orcl -check -generate -restore /home/oracle/myfile.ldif

Verifying node "orcl"
This tool can only be executed if you know database user password
for OiD on orcl
Enter OiD password ::

Checking Internet Directory current schema state

Checking and Generating Internet Directory data for bulk loading
datagen encountered errors in processing /home/oracle/myfile.ldif
Please correct the errors and restart this script.


The output from the truss command, for example

truss -aef -o truss.out $ORACLE_HOME/ldap/bin/ -connect orcl -check -generate -restore /home/oracle/myfile.ldif

may show something like:

13319: access("sn.ctl", F_OK) Err#2 ENOENT
13319: open64("sn.ctl", O_RDWR|O_CREAT|O_TRUNC, 0666) = 256
13319: close(256) = 0
13319: fstat64(2, 0xFFBDA0B0) = 0
13319: write(2, " D a t a g e n E r r o".., 38) = 38
13319: write(12, " r o p C a t a l o g I n".., 1439) = 1439
13319: _exit(1)

This shows that once file descriptor 256 has been reached, the error is written out and no further processing occurs.




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

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