My Oracle Support Banner

OID 12c oid_setup fails or Unable to start OID after port change "/bin/oiddispd: error while loading shared libraries: libclntshcore.so.12.1: cannot open shared object file: No such file or directory" (Doc ID 2566998.1)

Last updated on JULY 18, 2019

Applies to:

Oracle Internet Directory - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

OS: Linux SLES 12

Symptom 1: oid_setup(orcladminPassword='xxxxxxxx',odsPassword='yyyyyyyy', port=389,sslPort=636,realmDN='dc=example,dc=com')

fails, unable to start OID instance.


Symptom 2: Changing ports on existing OID1 component (ldapmodify  orclnonsslport and orclsslport to 389/636) - starting oid fails



/nodemanager.log:

<Jul 9, 2019 7:21:40 PM UTC> <INFO> <oid_domain> <oid1> <The server 'oid1' with process id is no longer alive; waiting for the process to die.>
<Jul 9, 2019 7:21:40 PM UTC> <INFO> <The server 'oid1' with process id is no longer alive; waiting for the process to die.>
<Jul 9, 2019 7:21:41 PM UTC> <INFO> <oid_domain> <oid1> <Server failed during startup. It may be retried according to the auto restart configuration.>
<Jul 9, 2019 7:21:41 PM UTC> <INFO> <Server failed during startup. It may be retried according to the auto restart configuration.>
<Jul 9, 2019 7:21:42 PM UTC> <INFO> <oid_domain> <oid1> <Server failed so attempting to restart (restart count = 2)>
<Jul 9, 2019 7:21:42 PM UTC> <INFO> <Server failed so attempting to restart (restart count = 2)>
<Jul 9, 2019 7:21:43 PM UTC> <INFO> <Instance oid1 has changed state from RUNNING to STOPPED>
<Jul 9, 2019 7:21:43 PM UTC> <INFO> <Starting instance oid1.>
<Jul 9, 2019 7:21:56 PM UTC> <INFO> <oid_domain> <oid1> <The server 'oid1' with process id is no longer alive; waiting for the process to die.>
<Jul 9, 2019 7:21:56 PM UTC> <INFO> <The server 'oid1' with process id is no longer alive; waiting for the process to die.>
<Jul 9, 2019 7:21:57 PM UTC> <INFO> <oid_domain> <oid1> <Server failed during startup. It may be retried according to the auto restart configuration.>
<Jul 9, 2019 7:21:58 PM UTC> <INFO> <Server failed during startup. It may be retried according to the auto restart configuration.>
<Jul 9, 2019 7:21:58 PM UTC> <INFO> <oid_domain> <oid1> <Server failed but will not be restarted because the maximum number of restart attempts has been exceeded>
<Jul 9, 2019 7:21:59 PM UTC> <INFO> <Server failed but will not be restarted because the maximum number of restart attempts has been exceeded>
<Jul 9, 2019 7:21:59 PM UTC> <WARNING> <Server start command for OID server 'oid1' failed due to: [Server failed to start up but Node Manager was not aware of the reason]. Please check Node Manager log and/or server 'oid1' log for detailed information.>

 

oidmon-0000.log:
[2019-07-09T19:48:20.109408+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: Starting OIDLDAPD cmdLine args = "instance=1 inst=1 "

[2019-07-09T19:48:20.111105+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: Starting OIDLDAP Server,PID=2955

[2019-07-09T19:48:20.111820+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: Updating Process Table...

/oracle/Middleware/OID/wlserver/../bin/oiddispd: error while loading shared libraries: libclntshcore.so.12.1: cannot open shared object file: No such file or directory
[2019-07-09T19:48:20.112468+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: gsldda_DeleteEntry:gsldfgGetEntryID Error..1010

[2019-07-09T19:48:20.117728+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: CreateInstance: Successfuly created entry cn=oid1_oid1_1_hostname.domain,cn=osdldapd,cn=subregistrysubentry

[2019-07-09T19:48:30.159137+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: gslsggDelete: Deleting entry cn=oid1_oid1_1_hostname.domain,cn=osdldapd,cn=subregistrysubentry

[2019-07-09T19:48:30.161028+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: gslsgrDeleteInstace: Deleted registry entry cn=oid1_oid1_1_hostname.domaint,cn=osdldapd,cn=subregistrysubentry

[2019-07-09T19:48:30.161131+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: gslsggDelete: Deleting entry cn=oid1_oid1_1_hostname.domain,cn=osdldapd,cn=subregistrysubentry

[2019-07-09T19:48:30.161253+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: Instance cn=oid1_oid1_1_hostname.domain,cn=osdldapd,cn=subregistrysubentry not found.

[2019-07-09T19:48:30.161278+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: Could not delete the Instance

[2019-07-09T19:48:30.161293+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: OIDLDAPD Instance 1 deletion failed

[2019-07-09T19:48:30.161648+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: Starting OIDLDAPD cmdLine args = "instance=1 inst=1 "

[2019-07-09T19:48:30.163708+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME[pid: 8898] [tid: 0] Guardian: Starting OIDLDAP Server,PID=3172

/oracle/Middleware/OID/wlserver/../bin/oiddispd: error while loading shared libraries: libclntshcore.so.12.1: cannot open shared object file: No such file or directory
[2019-07-09T19:48:30.164636+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: Updating Process Table...

[2019-07-09T19:48:30.165329+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: OIDHOSTNAME] [pid: 8898] [tid: 0] Guardian: gsldda_DeleteEntry:gsldfgGetEntryID Error..1010

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
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.