'opmnctl createcomponent -componentType OID' Fails With 'A directory for component <new OID instance-specific configuration entry name> already exists. Delete this component first.' (Doc ID 955633.1)

Last updated on AUGUST 08, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 30-May-2013***

Symptoms

When trying to Create an Instance-Specific Configuration Entry in OID 11g
'opmnctl createcomponent -componentType OID' fails with the following error while ' cn=oid2,cn=osdldapd,cn=subconfigsubentry' does not exist.

opmnctl createcomponent -componentType OID -componentName oid2 -adminPort 7002 -Db_info "<DB Host>:<DB_Listener Port:<DB Service Name>"
Command failed: A directory for component oid2 already exists. Delete this component first.
opmnctl createcomponent: failed.

 

'opmnctl deletecomponent -componentType OID' fails also.

opmnctl deletecomponent -componentType OID -componentName oid2 -adminPort 7002
Command failed: Instance asinst_1 does not contain component oid2.
opmnctl deletecomponent: failed.

ldapsearch verifies that 'cn=oid2,cn=osdldapd,cn=subconfigsubentry' does not exist.

ldapsearch -D cn=orcladmin -q -b "cn=oid2,cn=osdldapd,cn=subconfigsubentry" -s base "objectclass=*"
Please enter bind password:
ldap_search: No such object
ldap_search: matched: cn=osdldapd, cn=subconfigsubentry

 opmnctl status -l does not show 'oid2' component.

 Processes in Instance: asinst_1
---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
ias-component | process-type | pid | status | uid | memused | uptime | ports
---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
oid1 | oidldapd | 15787 | Alive | 1140160669 | 513656 | 0:00:22 | N/A
oid1 | oidldapd | 15754 | Alive | 1140160668 | 111208 | 0:00:22 | N/A
oid1 | oidmon | 15121 | Alive | 1140160667 | 80684 | 0:00:33 | LDAPS:636,LDAP:389
EMAGENT | EMAGENT | 15122 | Alive | 1140160666 | 63860 | 0:00:33 | N/A

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