My Oracle Support Banner

OUD 12c 12.2.1.3.0 Instance Hangs on "stop-ds" Errors.log Shows: "THREAD_INTERRUPTED: InterruptedException may cause incorrect internal state, unable to continue. Environment is invalid and must be closed." (Doc ID 2736368.1)

Last updated on DECEMBER 15, 2020

Applies to:

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

Symptoms

Oracle Unified Directory (OUD) 12c server hangs on stop-ds.

Some attempts may fail with:

The timeout of '200' seconds to stop the server has been reached
ERROR: Unable to stop the Oracle Unified Directory process.


Disabling replication may allow stop-ds to work again.


Errors.log can include:

[2020-11-23T04:12:32.021-05:00] [OUD] [ERROR] [OUD-14942283] [SYNC] [host: <hostname>] [nwaddr: <IP>] [tid: <tid>] [userId: <userid>] [ecid: <ecid>] An unexpected error occurred when searching in dc=<company>,dc=<domain> for the generation ID : Database exception: (JE 7.0.7) Environment must be closed, caused by: com.sleepycat.je.ThreadInterruptedException: Environment invalid because of previous exception: (JE 7.0.7) <mw_home>/asinst_1/OUD/db/userRoot java.lang.InterruptedException THREAD_INTERRUPTED: InterruptedException may cause incorrect internal state, unable to continue. Environment is invalid and must be closed.

And/Or:

[2020-11-23T04:11:53.548-05:00] [OUD] [NOTIFICATION] [OUD-458891] [CORE] [host: <hostname>] [nwaddr: <IP>] [tid: <tid>] [userId: <userid>] [ecid: <ecid>] The Directory Server has sent an alert notification generated by class org.opends.server.core.DirectoryServer (alert type org.opends.server.DirectoryServerShutdown, alert ID <id>): The Directory Server has started the shutdown process. The shutdown was initiated by an instance of class org.opends.server.core.DirectoryServerShutdownHook and the reason provided for the shutdown was The Directory Server shutdown hook detected that the JVM is shutting down. This generally indicates that JVM received an external request to stop (e.g., through a kill signal)

And/Or:

[2020-11-23T04:15:51.850-05:00] [OUD] [WARNING] [OUD-14745736] [SYNC] [host: <hostname>] [nwaddr: <IP>] [tid: <tid>] [userId: <userid>] [ecid: <IP>:<ecid>] In RS <rs> for dn cn=oraclecontext,dc=<dc>,dc=com, update <update> will not be sent to DS <ds> with generation id <id> different from local generation id <id>
[2020-11-23T04:15:56.217-05:00] [OUD] [NOTIFICATION] [OUD-15139051] [SYNC] [host: <hostname>] [nwaddr: <IP>] [tid: <tid>] [userId: <userid>] [ecid: <IP>:<ecid>] The local replication servercannot connect to the replication server : <hostname>:<port>, please check the configuration
[2020-11-23T04:15:56.852-05:00] [OUD] [ERROR] [OUD-14942294] [SYNC] [host: <hostname>] [nwaddr: <IP>] [tid: <tid>] [userId: <userid>] [ecid: <IP>:<ecid>] Replication server caught exception while listening for client connections Read timed out
[2020-11-23T04:16:13.299-05:00] [OUD] [NOTIFICATION] [OUD-15139051] [SYNC] [host: <hostname>] [nwaddr: <IP>] [tid: <tid>] [userId: <userid>] [ecid: <IP>:<ecid>] The local replication server cannot connect to the replication server : <hostname>:<port>, please check the configuration
[2020-11-23T06:05:52.472-05:00] [OUD] [NOTIFICATION] [OUD-15138913] [SYNC] [host: <hostname>] [nwaddr: <IP>] [tid: <tid>] [userId: <userid>] [ecid: <IP>:<ecid>] Replication Heartbeat Monitor for Connected Replica <hostname> <rs>,cn=Replication Server <rs> <hostname> <id>,cn=<cn>,cn=replication is closing the session because it could not detect a heartbeat
[2020-11-23T06:05:52.493-05:00] [OUD] [ERROR] [OUD-14942389] [SYNC] [host: <hostname>] [nwaddr: <IP>] [tid: <tid>] [userId: <userid>] [ecid: <IP>:<ecid>] Directory Server <ds> <hostname> dc=<dc>,dc=com has badly disconnected from this replication server <rs>
[2020-11-23T06:05:52.510-05:00] [OUD] [ERROR] [OUD-14942240] [SYNC] [host: <hostname>] [nwaddr: <IP>] [tid: <tid>] [userId: <userid>] [ecid: <IP>:<ecid>] An unexpected error happened handling connection with Directory Server <rs> <hostname> dc=<dc>,dc=com Session close initiated. (TLSSocketSession.java:194 ServerWriter.java:201). This connection is going to be closed
[2020-11-23T10:19:11.330-05:00] [OUD] [WARNING] [OUD-66400] [CORE] [host: <hostname>] [nwaddr: <IP>] [tid: <tid>] [userId: <userid>] [ecid: <IP>:<ecid>] The TimeThread is late (3084 ms)

 

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.