My Oracle Support Banner

OUD12c: When connected to OUDSM Receiving Error: "[LDAP: error code 1 - An error occurred when accessing the database of the draft change number : ]" (Doc ID 2798954.1)

Last updated on AUGUST 17, 2021

Applies to:

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

Symptoms

OUD was upgraded to 12c. When connected to OUD using OUDSM getting the below error. 

[LDAP: error code 1 - An error occurred when accessing the database of the draft change number : ]

oracle.idm.directoryservices.odsm.common.ODSMException: [LDAP: error code 1 - An error occurred when accessing the database of the draft change number : ]
at oracle.idm.directoryservices.odsm.server.ServerAccess.getChildEntries(ServerAccess.java:884)
at oracle.idm.directoryservices.odsm.provider.oid.OIDDBProvider.getEntries(OIDDBProvider.java:307)
at oracle.idm.directoryservices.odsm.ctrl.oid.OIDDBCtrl.getEntryTreeTableModel(OIDDBCtrl.java:495)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:362)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
at com.sun.el.parser.AstValue.getValue(AstValue.java:139)
at com.sun.el.parser.AstValue.getValue(AstValue.java:203)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)
at org.apache.myfaces.trinidad.component.UIXFacesBeanImpl.getBoundProperty(UIXFacesBeanImpl.java:203)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:69)
at org.apache.myfaces.trinidad.component.FacesBeanWrapper.getProperty(FacesBeanWrapper.java:61)
at org.apache.myfaces.trinidad.component.UIXTree$RowKeyFacesBeanWrapper.getProperty(UIXTree.java:419)
at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1928)
at org.apache.myfaces.trinidad.component.UIXTree.getValue(UIXTree.java:740)

 

error log has the below information.

 

[10/Aug/2021:06:33:30 -0600] category=SYNC severity=MILD_ERROR msgID=14876682 msg=The replication server failed to start because the database $INSTANCE_HOME/OUD/changelogDb could not be opened : (JE 7.0.7)$INSTANCE_HOME/OUD/changelogDb The environment cannot be locked for single writer access. ENV_LOCKED: The je.lck file could not be locked. Environment is invalid and must be closed. (FileManager.java:403 EnvironmentImpl.java:537 EnvironmentImpl.java:462 DbEnvPool.java:224 Environment.java:288 Environment.java:268 Environment.java:212 ReplicationDbEnv.java:160 ReplicationServer.java:748 ReplicationServer.java:338 ReplicationServer.java:279 ReplicationServerListener.java:84 MultimasterReplication.java:337 MultimasterReplication.java:107 SynchronizationProviderConfigManager.java:417 SynchronizationProviderConfigManager.java:154 DirectoryServer.java:2006 DirectoryServer.java:1609 DirectoryServer.java:10698) 

 

Screen shot showing the error message from OUDSM console.

 

 

 

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


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