Unable To Stop OID 11g Replication Server (OIDREPLD) Using The oidctl Command (Doc ID 1313395.1)

Last updated on MARCH 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 29-Jan-2013***

Symptoms

Somehow, the oidrepld got started with instance=0.  Attempting to stop the oidrepld process to correct this revealed that the oidctl command would not stop the process.

When using the oidctl command to stop the oidrepld it says it is stopped, but oidctl status shows it still up.

For example:

[11gps3] oidctl connect=oiddb status
oidctl : COMPONENT_NAME is not set, defaulting to oid1
NLS_LANG not set in environment
Setting NLS_LANG to AMERICAN_AMERICA.AL32UTF8
+--------------------------------------------------------------------------+
| Process | PID | InstName | CompName |Inst#| Port | Sport |
+--------------------------------------------------------------------------+
| oidmon | 5763 | asinst_1 | oid1 | 1| | |
+--------------------------------------------------------------------------+
| oidldapd disp| 5772 | asinst_1 | oid1 | 1| 3060 | 3131 |
| oidldapd serv| 5778 | asinst_1 | oid1 | 1| 3060 | 3131 |
| Config DN | cn=oid1,cn=osdldapd,cn=subconfigsubentry |
| oidrepld | 9724 | asinst_1 | oid1 | 1| 3060 | 3131 |
+--------------------------------------------------------------------------+


[11gps3] oidctl connect=oiddb server=oidrepld instance=1 stop
oidctl : COMPONENT_NAME is not set, defaulting to oid1
NLS_LANG not set in environment
Setting NLS_LANG to AMERICAN_AMERICA.AL32UTF8
oidctl:oidmon is up and running on jdsmith-pc3.us.oracle.com
oidctl:Stopped OIDREPLD (instance=1) successfully


Wait 30 Seconds and repeat oid status check:


[11gps3] oidctl connect=oiddb status
oidctl : COMPONENT_NAME is not set, defaulting to oid1
NLS_LANG not set in environment
Setting NLS_LANG to AMERICAN_AMERICA.AL32UTF8
+--------------------------------------------------------------------------+
| Process | PID | InstName | CompName |Inst#| Port | Sport |
+--------------------------------------------------------------------------+
| oidmon | 5763 | asinst_1 | oid1 | 1| | |
+--------------------------------------------------------------------------+
| oidldapd disp| 5772 | asinst_1 | oid1 | 1| 3060 | 3131 |
| oidldapd serv| 5778 | asinst_1 | oid1 | 1| 3060 | 3131 |
| Config DN | cn=oid1,cn=osdldapd,cn=subconfigsubentry |
| oidrepld | 9724 | asinst_1 | oid1 | 1| 3060 | 3131 |
+--------------------------------------------------------------------------+

[11gps3]


The oidrepld process is still up with the same PID (9724).


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