By: Praveen Srinivasan user 24 Jun 2020 at 3:45 a.m. CDT

5 Responses
Praveen Srinivasan gravatar
GLUU is throwing ldap.persistence.exception.EntryPersistenceException. And when I get into oxtrust logs, I am only getting the below error continuously all the time with the specific time interval (60 seconds). I checked Ldap logs also, nothing shows fishy. Here is the log I am getting. I couldn't figure it out the issue in detail. Let me know if you need more info from other logs. ``` ========> oxtrust_persistence.log <======== 2020-04-28 08:55:53,368 INFO [main] [org.gluu.site.ldap.LDAPConnectionProvider] (LDAPConnectionProvider.java:223) - Attempting to create connection pool: 1 ========> oxtrust_persistence_ldap_statistics.log <======== 2020-04-28 08:55:58,406 INFO [main] [gluu.oxtrust.service.status.ldap.LdapStatusTimer] (LdapStatusTimer.java:56) - Initializing Ldap Status Timer ========> /var/log/oxtrust.log <======== UMA passport authentication is disabled org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to find entries with baseDN: ou=resetPasswordRequests,inum=@!BD99.C7F6.750B.647D!0002!EF85.1747,ou=appliances,o=gluu, filter: (&(&(objectClass=top)(objectClass=gluuPasswordResetRequest))(creationDate<=20200428135558.519Z)) #011at org.gluu.site.ldap.persistence.LdapEntryManager.findEntries(LdapEntryManager.java:405) #011at org.gluu.site.ldap.persistence.LdapEntryManager$Proxy$_$_WeldClientProxy.findEntries(Unknown Source) #011at org.gluu.oxtrust.service.PasswordResetService$1.getChunkOrNull(PasswordResetService.java:162) #011at org.gluu.site.ldap.persistence.BatchOperation.iterateAllByChunks(BatchOperation.java:47) #011at org.gluu.oxtrust.service.PasswordResetService.cleanup(PasswordResetService.java:181) #011at org.gluu.oxtrust.service.CleanerTimer.processPasswordReset(CleanerTimer.java:102) #011at org.gluu.oxtrust.service.CleanerTimer$Proxy$_$_WeldSubclass.processPasswordReset(Unknown Source) #011at org.gluu.oxtrust.service.CleanerTimer.process(CleanerTimer.java:90) #011at org.gluu.oxtrust.service.CleanerTimer$Proxy$_$_WeldSubclass.process$super(Unknown Source) #011at sun.reflect.GeneratedMethodAccessor629.invoke(Unknown Source) #011at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) #011at java.lang.reflect.Method.invoke(Method.java:498) #011at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) #011at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) #011at org.xdi.service.cdi.async.AsynchronousInterceptor$1.get(AsynchronousInterceptor.java:36) #011at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) #011at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582) #011at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) #011at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) #011at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) #011at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Caused by: LDAPSearchException(resultCode=32 (no such object), numEntries=0, numReferences=0, errorMessage='Failed to scroll to specified startIndex') #011at org.gluu.site.ldap.OperationsFacade.search(OperationsFacade.java:329) #011at org.gluu.site.ldap.persistence.LdapEntryManager.findEntries(LdapEntryManager.java:399) #011... 20 more Caused by: LDAPSearchException(resultCode=32 (no such object), numEntries=0, numReferences=0, errorMessage='The search base entry 'ou=resetPasswordRequests,inum=@!BD99.C7F6.750B.647D!0002!EF85.1747,ou=appliances,o=gluu' does not exist', matchedDN='inum=@!BD99.C7F6.750B.647D!0002!EF85.1747,ou=appliances,o=gluu') #011at com.unboundid.ldap.sdk.LDAPConnection.search(LDAPConnection.java:3650) #011at org.gluu.site.ldap.OperationsFacade.search(OperationsFacade.java:300) #011... 21 more ```

By Mohib Zico Account Admin 26 Jun 2020 at 2:34 a.m. CDT

Mohib Zico gravatar
May be your ldap is down or something wrong with ldap connection. Try to restart ldap --> oxauth --> identity services.

By Praveen Srinivasan user 26 Jun 2020 at 5:52 a.m. CDT

Praveen Srinivasan gravatar
I did all the steps already, but it is throwing continuously. Most importantly, no issues with the environment. But the error should not happen.

By Mohib Zico Account Admin 26 Jun 2020 at 6:06 a.m. CDT

Mohib Zico gravatar
Ok. Something is definitely off with ldap or this entry. Here is the error you need to concentrate and troubleshoot: ``` Caused by: LDAPSearchException(resultCode=32 (no such object), numEntries=0, numReferences=0, errorMessage='The search base entry 'ou=resetPasswordRequests,inum=@!BD99.C7F6.750B.647D!0002!EF85.1747,ou=appliances,o=gluu' does not exist', matchedDN='inum=@!BD99.C7F6.750B.647D!0002!EF85.1747,ou=appliances,o=gluu') ```

By Praveen Srinivasan user 26 Jun 2020 at 7:12 a.m. CDT

Praveen Srinivasan gravatar
Is there anything I need to specifically look for? Like configuration settings, etc,.

By Mohib Zico Account Admin 07 Jul 2020 at 3:32 p.m. CDT

Mohib Zico gravatar
Yes, I would look for: - ldap first, is it running or not. if running then check that entry is inside ldap or not. - oxauth log - oxtrust log Serial in above way.