Bootstrapping or Synchronizing via DIP from AD to OID Fails with bootstrap.log Error: [LDAP: error code 32 - Parent entry not found in the directory.], Or Sync Log Error: Exception while resolving PARENT_NOT_FOUND error: Error Creating Entry in Directory (Doc ID 1902234.1)

Last updated on JULY 31, 2017

Applies to:

Oracle Internet Directory - Version 9.0.4 to 11.1.1 [Release 10gR1 to 11g]
Information in this document applies to any platform.

Symptoms

Oracle Internet Directory (OID) with Directory Integration Platform (DIP).

Bootstrapping a second domain from Microsoft (MS) Active Directory (AD) to OID fails with bootstrap.log error:

...<snip>...
INFO: [Thu Jun 19 09:16:07 EDT 2014] Beginning the bootstrap process....
DEBUG: [Thu Jun 19 09:16:07 EDT 2014] Work Queue created successfully.
INFO: [Thu Jun 19 09:16:09 EDT 2014] Initialized the LDAP source connector - 0 to read - ou=my ou,dc=example,dc=com
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Reader Thread - 0 - Starting to read entries from the source ....
INFO: [Thu Jun 19 09:16:09 EDT 2014] LDAP source connector - 0 search filter - null
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Reader Thread - 0 - Initialized.
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Reader Thread - 0 - Entry read and added to Q - OU=my ou,dc=example,dc=com
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Reader Thread - 0 - Entry read and added to Q - OU=EXP,OU=my ou,dc=example,dc=com
INFO: [Thu Jun 19 09:16:09 EDT 2014] Initialized the LDAP destination connector - 0
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Writer Thread - 0 - Initialized.
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Writer Thread - 0 - Starting to process the entries ....
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Writer Thread - 0 - Entry removed from Q and mapping done - cn=users2,dc=example,dc=com
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Reader Thread - 0 - Entry read and added to Q - CN=user1,OU=EXP,OU=my ou,dc=example,dc=com
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Reader Thread - 0 - Entry read and added to Q - CN=user2,OU=EXP,OU=my ou,dc=example,dc=com
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Reader Thread - 0 - Entry read and added to Q - CN=user3,OU=EXP,OU=my ou,dc=example,dc=com
ERROR: [Thu Jun 19 09:16:09 EDT 2014] Writer Thread - 0 - Error occurred while loading - cn=users2,dc=example,dc=com
ERROR: [Thu Jun 19 09:16:09 EDT 2014] Writer Thread - 0 - [LDAP: error code 32 - Parent entry not found in the directory.]
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Writer Thread - 0 - Loading of cn=users2,dc=example,dc=com entry will be retried 5 more time(s).
...<etc>...


An example 11g DIP synchronization log error can be as follows, when it tries to create a parent entry which does not exist in OID, but fails because its parent, i.e. a top parent entry, does not exist either:

[2017-06-13T12:21:25.154-05:00] [wls_ods1] [NOTIFICATION] [DIP-10252] [oracle.dip] [tid: AD2OID] [userId: <anonymous>] [ecid: d573d01c140759ef:63da6469:15c9f399c05:-8000-0000000000000002,1:20101] [APP: DIP#11.1.1.2.0] Found Search Filter : ((|(objectclass=group)(objectclass=organizationalUnit)(&(objectclass=user)(!(objectclass=computer))))).
[2017-06-13T12:21:25.351-05:00] [wls_ods1] [NOTIFICATION] [EVENT_NOT_ENABLED] [oracle.dip] [tid: AD2OID] [userId: <anonymous>] [ecid: d573d01c140759ef:63da6469:15c9f399c05:-8000-0000000000000002,1:20101] [APP: DIP#11.1.1.2.0]
[2017-06-13T12:21:25.385-05:00] [wls_ods1] [ERROR] [DIP-10222] [oracle.dip.AD2OID] [tid: AD2OID] [userId: <anonymous>] [ecid: d573d01c140759ef:63da6469:15c9f399c05:-8000-0000000000000002,1:20101] [APP: DIP#11.1.1.2.0] Exception for dn : cn=myentry,ou=resources,ou=accounts,cn=users,dc=example,dc=com : 48 : java.lang.NullPointerException.[[
java.lang.NullPointerException
at oracle.ldap.odip.gsi.LDAPWriter.performWriteChanges(LDAPWriter.java:479)
at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(LDAPWriter.java:267)
at oracle.ldap.odip.web.DIPSyncBean.mapExecute(DIPSyncBean.java:775)
at oracle.ldap.odip.web.DIPSyncBean.execMapping(DIPSyncBean.java:496)
at oracle.ldap.odip.web.DIPSyncBean.doOneIteration(DIPSyncBean.java:374)
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.doOneIteration(Unknown Source)
at oracle.ldap.odip.web.SyncQuartzJobImpl.execute(SyncQuartzJobImpl.java:178)
at com.quartz.core.JobRunShell.run(JobRunShell.java:202)
at com.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)

]]
[2017-06-13T12:21:25.385-05:00] [wls_ods1] [NOTIFICATION] [DIP-10073] [oracle.dip] [tid: AD2OID] [userId: <anonymous>] [ecid: d573d01c140759ef:63da6469:15c9f399c05:-8000-0000000000000002,1:20101] [APP: DIP#11.1.1.2.0] Creating parent Distinguished Name : ou=resources,ou=accounts,ou=departments,dc=example,dc=com
[2017-06-13T12:21:25.386-05:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: AD2OID] [userId: <anonymous>] [ecid: d573d01c140759ef:63da6469:15c9f399c05:-8000-0000000000000002,1:20101] [APP: DIP#11.1.1.2.0] Parent Changerecord:ChangeRecord : ----------[[
Changetype: ADD
ChangeKey: ou=resources,ou=accounts,ou=departments,dc=example,dc=com
Attributes:
Class: null Name: ou Type: null ChgType: REPLACE Value: [resources]
Class: null Name: distinguishedName Type: null ChgType: REPLACE Value: [OU=resources,OU=accounts,OU=Departments,DC=example,DC=com]
Class: null Name: objectGUID Type: null ChgType: REPLACE Value: [[<objectguid>]
Class: null Name: objectClass Type: nonbinary ChgType: REPLACE Value: [top, organizationalUnit]
-----------
]]
[2017-06-13T12:21:25.388-05:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: AD2OID] [userId: <anonymous>] [ecid: d573d01c140759ef:63da6469:15c9f399c05:-8000-0000000000000002,1:20101] [APP: DIP#11.1.1.2.0] Saving destination changerecord for DN:ou=resources,ou=accounts,ou=departments,dc=example,dc=com
[2017-06-13T12:21:25.388-05:00] [wls_ods1] [NOTIFICATION] [DIP-10073] [oracle.dip] [tid: AD2OID] [userId: <anonymous>] [ecid: d573d01c140759ef:63da6469:15c9f399c05:-8000-0000000000000002,1:20101] [APP: DIP#11.1.1.2.0] Creating parent Distinguished Name : ou=accounts,ou=departments,dc=example,dc=com
[2017-06-13T12:21:25.389-05:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: AD2OID] [userId: <anonymous>] [ecid: d573d01c140759ef:63da6469:15c9f399c05:-8000-0000000000000002,1:20101] [APP: DIP#11.1.1.2.0] Parent Changerecord:ChangeRecord : ----------[[
Changetype: ADD
ChangeKey: ou=accounts,ou=departments,dc=example,dc=com
Attributes:
Class: null Name: ou Type: null ChgType: REPLACE Value: [accounts]
Class: null Name: distinguishedName Type: null ChgType: REPLACE Value: [OU=accounts,OU=Departments,DC=example,DC=com]
Class: null Name: objectGUID Type: null ChgType: REPLACE Value: [[B@1ab565cb]
Class: null Name: objectClass Type: nonbinary ChgType: REPLACE Value: [top, organizationalUnit]
-----------
]]
[2017-06-13T12:21:25.389-05:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: AD2OID] [userId: <anonymous>] [ecid: d573d01c140759ef:63da6469:15c9f399c05:-8000-0000000000000002,1:20101] [APP: DIP#11.1.1.2.0] Creating changerecord in destination directory server.
[2017-06-13T12:21:25.392-05:00] [wls_ods1] [ERROR] [DIP-10219] [oracle.dip.AD2OID] [tid: AD2OID] [userId: <anonymous>] [ecid: d573d01c140759ef:63da6469:15c9f399c05:-8000-0000000000000002,1:20101] [APP: DIP#11.1.1.2.0] Exception creating entry : ou=resources,ou=accounts,cn=users,dc=example,dc=com.
[2017-06-13T12:21:25.392-05:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: AD2OID] [userId: <anonymous>] [ecid: d573d01c140759ef:63da6469:15c9f399c05:-8000-0000000000000002,1:20101] [APP: DIP#11.1.1.2.0] Exception while resolving PARENT_NOT_FOUND error: Error Creating Entry in Directory




Changes

 

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