OUD - Unable to Modify Group Entry with "Result Code: 80" and "An internal error has occurred within the Directory Server while processing the operation"
(Doc ID 2954235.1)
Last updated on SEPTEMBER 30, 2024
Applies to:
Oracle Unified Directory - Version 12.2.1.4.0 to 12.2.1.4.220405 [Release 12c]Information in this document applies to any platform.
Symptoms
Applies to:
Oracle Unified Directory - Version 12.2.1.4 to 12.2.1.4.220405
------------------------------------------------------
Symptoms:
1.Two or more OUD instances in replication setup.
2.Below is a group dump details with multiple users being added using import method which results to have a broken pattern of ds-sync-hist attribute.
dn: cn=<Group1>,ou=<group>,dc=<SUFFIX>
<custom Attribute>: <Value>
uniquemember: <custom UID Attribute>=<id1>,ou=<people>,dc=<SUFFIX>
uniquemember: <custom UID Attribute>=<id2>,ou=<people>,dc=<SUFFIX>
uniquemember: <custom UID Attribute>=<id4>,ou=<people>,dc=<SUFFIX>
......
cn: <Group1>
owner: <custom UID Attribute>=<id5>,ou=<people>,dc=<SUFFIX>
objectClass: groupofuniquenames
objectClass: top
objectClass: <custom object class>
<custom Attribute>: <Value>
<custom Attribute>: OK
description::
QSBkaXN0cmliIGxpc3Qgd2hpY2ggY29udGFpbnMgdGhlIG1haWxzIG9mIGFsbCB0aGUgZ3V5cyB0aG
F0IGhhdmUgaW4gdGhlaXIgY2hhcmdlIHRoZSBhZG1pbmlzdHJhdGlvbiBvZiB0aGUgb3JnYW5pemF0
aW9uIG1hcCBvbiBOSVMgc2VydmVycy4NCg==
changelog: cn=changelog
creatorsName: <custom UID Attribute>=<id5>,ou=<people>,dc=<SUFFIX>
ds-sync-hist:uniquemember:<UniqueID_1>:repl:<custom UID Attribute>=<id1>,ou=<people>,dc=<SUFFIX> <- Duplicates for UniqueID_1>
ds-sync-hist:uniquemember:<UniqueID_1>:add:<custom UID Attribute>=<id3>,ou=<people>,dc=<SUFFIX>
ds-sync-hist:uniquemember:<UniqueID_2>:repl:<custom UID Attribute>=<id1>,ou=<people>,dc=<SUFFIX>
ds-sync-hist:uniquemember:<UniqueID_2>:add:<custom UID Attribute>=<id2>,ou=<people>,dc=<SUFFIX>
ds-sync-hist:uniquemember:<UniqueID_2>:add:<custom UID Attribute>=<id4>,ou=<people>,dc=<SUFFIX>
......
ds-sync-hist: <custom Attribute>:<UniqueID_2>:repl:<value>
ds-sync-hist: st-grouplegibility:<UniqueID_2>:repl:public
ds-sync-hist: owner:<UniqueID_2>:repl:<custom UID Attribute>=<id5>,ou=<people>,dc=<SUFFIX>
ds-sync-hist: modifytimestamp:<UniqueID_2>:repl:20220911021518Z
ds-sync-hist: modifiersname:<UniqueID_2>:repl:<custom UID Attribute>=<id5>,ou=<people>,dc=<SUFFIX>
ds-sync-hist:: ZGVzY3JpcHRpb246MDAwMDAxODMyYTU5ZGNhZTMxNTEwMDA3YzlhYjpyZXBsOkEgZGlzdHJpYiBsaX
N0IHdoaWNoIGNvbnRhaW5zIHRoZSBtYWlscyBvZiBhbGwgdGhlIGd1eXMgdGhhdCBoYXZlIGluIHRo
ZWlyIGNoYXJnZSB0aGUgYWRtaW5pc3RyYXRpb24gb2YgdGhlIG9yZ2FuaXphdGlvbiBtYXAgb24gTk
lTIHNlcnZlcnMuDQo= entryDN: cn=<Group1>,ou=<group>,dc=<SUFFIX>
modifyTimestamp: 20220911021518Z
modifiersName: <custom UID Attribute>=<id5>,ou=<people>,dc=<SUFFIX>
hasSubordinates: false
pwdPolicySubentry: cn=Default Password Policy,cn=Password Policies,cn=config
createTimestamp: 20071204073126Z
structuralObjectClass: groupOfUniqueNames
subschemaSubentry: cn=schema
numSubordinates: 0
3. Modifying the group attribute "description"
$ cat mod1.ldif
dn: cn=<Group1>,ou=<group>,dc=<SUFFIX>
changetype: modify
replace: description
description: This is the new description
4./ldapmodify -a -p <OUD_LDAP_nonssl_port> -D "cn=DS_ADMIN" -w <password> -f mod1.ldif
Processing MODIFY request for
cn=<Group1>,ou=<group>,dc=<SUFFIX>
MODIFY operation failed
Result Code: 80 (Other)
Additional Information: An internal error has occurred within the Directory
Server while processing the operation
5.corresponding log snippets:
access logs
#############################################
[01/Mar/2023:09:36:01 +0000] MODIFY REQ conn=4325321 op=11 msgID=12
dn="cn=<Group1>,ou=<group>,dc=<SUFFIX>"
[01/Mar/2023:09:36:01 +0000] MODIFY RES conn=4325321 op=11 msgID=12 result=80
message="An internal error has occurred within the Directory Server while
processing the operation" etime=5
#############################################
error logs
#############################################
[01/Mar/2023:09:36:37 +0000] category=CORE severity=MILD_ERROR msgID=196716
msg=Worker Thread 41 encountered an uncaught exception while processing
operation ModifyOperation(connID=4325370, opID=11,
dn=cn=<Group1>,ou=<group>,dc=<SUFFIX>):
NullPointerException ()
#############################################
debug logs
[03/Mar/2023:03:58:26 +0100] 0 caught error thread={Worker Thread 13(231)} threadDetail={parentThread=main(1) isDaemon=false clientConnection=LDAP client connection from <clienthostname>:<port> to <serverhostname>:<ldapport> operation=ModifyOperation(connID=5, opID=1,dn=cn=<Group1>,ou=<group>,dc=<SUFFIX>) }
method={run(TraditionalWorkerThread.java:178)}
caught={java.lang.NullPointerException}
Stack Trace: at org.opends.server.replication.plugin.AttrHistoricalMultiple.generateModifications(AttrHistoricalMultiple.java:493)
at org.opends.server.replication.plugin.AttrHistoricalMultiple.getValuesModifications(AttrHistoricalMultiple.java:434)
at org.opends.server.replication.plugin.EntryHistorical.updateAndPurge(EntryHistorical.java:903)
at org.opends.server.replication.plugin.EntryHistorical.setHistoricalAttrToOperation(EntryHistorical.java:393)
at org.opends.server.replication.plugin.MultimasterReplication.doPreOperation(MultimasterReplication.java:640)
at org.opends.server.workflowelement.localbackend.LocalBackendModifyOperation.processPreOperation(LocalBackendModifyOperation.java:2797)
at org.opends.server.workflowelement.localbackend.LocalBackendModifyOperation.processLocalModify(LocalBackendModifyOperation.java:835)
at org.opends.server.workflowelement.localbackend.LocalBackendWorkflowElement.execute(LocalBackendWorkflowElement.java:214)
at org.opends.server.core.WorkflowImpl.execute(WorkflowImpl.java:504)
at org.opends.server.core.WorkflowTopologyNode.execute(WorkflowTopologyNode.java:130)
at org.opends.server.core.ModifyOperationBasis.run(ModifyOperationBasis.java:622)
at org.opends.server.extensions.TraditionalWorkerThread.run(TraditionalWorkerThread.java:166)
[03/Mar/2023:03:58:26 +0100] 1 caught error thread={Worker Thread 13(231)}threadDetail={parentThread=main(1) isDaemon=false clientConnection=LDAPclient connection from <clienthostname>:<port> to <serverhostname>:<ldapport> operation=ModifyOperation(connID=5, opID=1,dn=cn=<Group1>,ou=<group>,dc=<SUFFIX>) }
method={sendLDAPMessage(LDAPClientConnection.java:979)}
caught={java.nio.channels.ClosedChannelException}
Stack Trace:
at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:268)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:459)
at org.opends.server.protocols.ldap.LDAPClientConnection$TimeoutWriteByteChannel.write(LDAPClientConnection.java:126)
at org.opends.server.extensions.RedirectingByteChannel.write(RedirectingByteChannel.java:100)
at org.opends.server.extensions.RedirectingByteChannel.write(RedirectingByteChannel.java:100)
at org.opends.server.protocols.asn1.ASN1ByteChannelWriter.flush(ASN1ByteChannelWriter.java:287)
at org.opends.server.protocols.ldap.LDAPClientConnection.sendLDAPMessage(LDAPClientConnection.java:957)
at org.opends.server.protocols.ldap.LDAPClientConnection.sendResponse(LDAPClientConnection.java:640)
at org.opends.server.extensions.TraditionalWorkerThread.run(TraditionalWorkerThread.java:190)
-------------------------------------------------
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 |