My Oracle Support Banner

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 APRIL 03, 2023

Applies to:

Oracle Internet Directory - Version 9.0.4 and later
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.

Example DIP 12c wls_ods1-diagnostic.log:

[2019-06-20T16:37:35.281+05:30] [wls_ods1] [NOTIFICATION] [DIP-11015] [oracle.dip.bootstrap] [tid: Writer Thread - 0] [userId: <USERNAME>] [ecid: <ECID>] [APP: DIP] [partition-name: <DOMAIN>] [tenant-name: GLOBAL] Total number of entries successfully processed :  - 0
[2019-06-20T16:37:35.283+05:30] [wls_ods1] [ERROR] [DIP-11024] [oracle.dip.bootstrap] [tid: Writer Thread - 1] [userId: <USERNAME>] [ecid: <ECID>] [APP: DIP] [partition-name: <DOMAIN>] [tenant-name: GLOBAL] Error occurred while loading . Ignoring cn=<USERNAME>,ou=<OU1>,ou=<OU>,dc=<COMPANY>,dc=com[[
cn=<USERNAME>,ou=<OU1>,ou=<OU>,dc=<COMPANY>,dc=com [LDAP: error code 32 - Parent entry not found in the directory.]
at oracle.ldap.odip.bootstrap.WriterFactory$FactoryLDAPWriter.writeRecord(WriterFactory.java:461)
at oracle.ldap.odip.bootstrap.ODIBootstrap$WriterThread.run(ODIBootstrap.java:1306)

]]

 

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: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [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: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0]
[2017-06-13T12:21:25.385-05:00] [wls_ods1] [ERROR] [DIP-10222] [oracle.dip.<PROFILE>] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Exception for dn : cn=<USERNAME>,ou=<OU2>,ou=<OU>,cn=users,dc=<COMPANY>,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 <USERNAME>.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: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Creating parent Distinguished Name : ou=<OU2>,ou=<OU1>,ou=<OU>,dc=<COMPANY>,dc=com
[2017-06-13T12:21:25.386-05:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Parent Changerecord:ChangeRecord : ----------[[
Changetype: ADD
ChangeKey: ou=<OU2>,ou=<OU1>,ou=<OU>,dc=<COMPANY>,dc=com
Attributes:
Class: null Name: ou Type: null ChgType: REPLACE Value: [<OU2>]
Class: null Name: distinguishedName Type: null ChgType: REPLACE Value: [ou=<OU2>,ou=<OU1>,ou=<OU>,DC=<COMPANY>,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: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Saving destination changerecord for DN:ou=<OU2>,ou=<OU1>,ou=<OU>,dc=<COMPANY>,dc=com
[2017-06-13T12:21:25.388-05:00] [wls_ods1] [NOTIFICATION] [DIP-10073] [oracle.dip] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Creating parent Distinguished Name : ou=<OU2>,ou=<OU>,dc=<COMPANY>,dc=com
[2017-06-13T12:21:25.389-05:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Parent Changerecord:ChangeRecord : ----------[[
Changetype: ADD
ChangeKey: ou=<OU2>,ou=<OU>,dc=<COMPANY>,dc=com
Attributes:
Class: null Name: ou Type: null ChgType: REPLACE Value: [accounts]
Class: null Name: distinguishedName Type: null ChgType: REPLACE Value: [ou=<OU2>,ou=<OU>,DC=<COMPANY>,DC=com]
Class: null Name: objectGUID Type: null ChgType: REPLACE Value: [<STRING>]
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: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [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.<PROFILE>] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Exception creating entry : ou=<OU2>,ou=<OU>,cn=users,dc=<COMPANY>,dc=com.
[2017-06-13T12:21:25.392-05:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Exception while resolving PARENT_NOT_FOUND error: Error Creating Entry in Directory

 

Example DIP 10g 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=<OU>,dc=<COMPANY>,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=<OU>,dc=<COMPANY>,dc=com
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Reader Thread - 0 - Entry read and added to Q - OU=<OU2>,ou=<OU>,dc=<COMPANY>,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=<COMPANY>,dc=com
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Reader Thread - 0 - Entry read and added to Q - CN=user1,OU=<OU2>,ou=<OU>,dc=<COMPANY>,dc=com
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Reader Thread - 0 - Entry read and added to Q - CN=user2,OU=<OU2>,ou=<OU>,dc=<COMPANY>,dc=com
DEBUG: [Thu Jun 19 09:16:09 EDT 2014] Reader Thread - 0 - Entry read and added to Q - CN=user3,OU=<OU2>,ou=<OU>,dc=<COMPANY>,dc=com
ERROR: [Thu Jun 19 09:16:09 EDT 2014] Writer Thread - 0 - Error occurred while loading - cn=users2,dc=<COMPANY>,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=<COMPANY>,dc=com entry will be retried 5 more time(s).
...<etc>...

 

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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