By: ches luo user 15 Jan 2018 at 6:45 a.m. CST

5 Responses
ches luo gravatar
Help! I'll try install and uninstall Gluu for one day but cannot fix this issue. System: Ubuntu 16.04 in vmware Gluu version: 3.1.1 Hostname: abc.com I flow exactly as the guide instructs. [https://gluu.org/docs/ce/installation-guide/install/](https://gluu.org/docs/ce/installation-guide/install/) **Problem 1** After I re-install the gluu server, I run `./setup.py`. When it comes to package downloading, Ubuntu will keep crashing. Which means Ubuntu will crash after I login the system!. I can only restart vmware to solve this problem **Problem 2** After I restart vmware and Ubuntu, I have to run `./setup.py` again. But the installation guide says > Only run setup.py one time. Running the above command twice will break the instance. I do not know if this the cause for the problem. Anyway, I run the `./setup.py` again and everything works fine. The console show `Gluu Server installation successful! Point your browser to https://abc.com` But when I go to https://abc.com, it shows as below. [https://imgur.com/a/jYGwt](https://imgur.com/a/jYGwt) **Seems to be a problem of LDAP, but I do not know how to solve it. Please give me some help** I check oxauth.log and oxtrust.log. Details are below 1. oxauth.log ``` 2018-01-15 20:26:56,317 ERROR [metrics-ldap-reporter-1-thread-1] [com.codahale.metrics.ScheduledReporter$1] (ScheduledReporter.java:119) - RuntimeException thrown from LdapEntryReporter#report. Exception was suppressed. org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to persist entry: ou=@!5502.85EE.2700.DB67!0002!4FD0.9F84,ou=metric,o=@!5502.85EE.2700.DB67!0001!CF6E.1763,o=gluu at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:99) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.AbstractEntryManager.persist(AbstractEntryManager.java:90) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager$Proxy$_$$_WeldClientProxy.persist(Unknown Source) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.xdi.service.metric.MetricService.addBranch(MetricService.java:95) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.addBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.createBranch(MetricService.java:104) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.createBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.prepareBranch(MetricService.java:123) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.prepareBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.add(MetricService.java:136) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.add(Unknown Source) ~[classes/:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldClientProxy.add(Unknown Source) ~[classes/:?] at org.xdi.service.metric.LdapEntryReporter.reportImpl(LdapEntryReporter.java:192) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.service.metric.LdapEntryReporter.report(LdapEntryReporter.java:161) ~[oxcore-service-3.1.1.Final.jar:?] at com.codahale.metrics.ScheduledReporter.report(ScheduledReporter.java:162) ~[metrics-core-3.1.2.jar:3.1.2] at com.codahale.metrics.ScheduledReporter$1.run(ScheduledReporter.java:117) [metrics-core-3.1.2.jar:3.1.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112] Caused by: com.unboundid.ldap.sdk.LDAPException: no such object at com.unboundid.ldap.sdk.LDAPConnection.add(LDAPConnection.java:1959) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:752) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:683) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at org.gluu.site.ldap.OperationsFacade.addEntry(OperationsFacade.java:494) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:94) ~[oxcore-ldap-3.1.1.Final.jar:?] ... 22 more 2018-01-15 20:31:56,313 ERROR [metrics-ldap-reporter-1-thread-1] [com.codahale.metrics.ScheduledReporter$1] (ScheduledReporter.java:119) - RuntimeException thrown from LdapEntryReporter#report. Exception was suppressed. org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to persist entry: ou=@!5502.85EE.2700.DB67!0002!4FD0.9F84,ou=metric,o=@!5502.85EE.2700.DB67!0001!CF6E.1763,o=gluu at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:99) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.AbstractEntryManager.persist(AbstractEntryManager.java:90) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager$Proxy$_$$_WeldClientProxy.persist(Unknown Source) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.xdi.service.metric.MetricService.addBranch(MetricService.java:95) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.addBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.createBranch(MetricService.java:104) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.createBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.prepareBranch(MetricService.java:123) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.prepareBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.add(MetricService.java:136) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.add(Unknown Source) ~[classes/:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldClientProxy.add(Unknown Source) ~[classes/:?] at org.xdi.service.metric.LdapEntryReporter.reportImpl(LdapEntryReporter.java:192) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.service.metric.LdapEntryReporter.report(LdapEntryReporter.java:161) ~[oxcore-service-3.1.1.Final.jar:?] at com.codahale.metrics.ScheduledReporter.report(ScheduledReporter.java:162) ~[metrics-core-3.1.2.jar:3.1.2] at com.codahale.metrics.ScheduledReporter$1.run(ScheduledReporter.java:117) [metrics-core-3.1.2.jar:3.1.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112] Caused by: com.unboundid.ldap.sdk.LDAPException: no such object at com.unboundid.ldap.sdk.LDAPConnection.add(LDAPConnection.java:1959) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:752) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:683) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at org.gluu.site.ldap.OperationsFacade.addEntry(OperationsFacade.java:494) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:94) ~[oxcore-ldap-3.1.1.Final.jar:?] ... 22 more 2018-01-15 20:36:56,313 ERROR [metrics-ldap-reporter-1-thread-1] [com.codahale.metrics.ScheduledReporter$1] (ScheduledReporter.java:119) - RuntimeException thrown from LdapEntryReporter#report. Exception was suppressed. org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to persist entry: ou=@!5502.85EE.2700.DB67!0002!4FD0.9F84,ou=metric,o=@!5502.85EE.2700.DB67!0001!CF6E.1763,o=gluu at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:99) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.AbstractEntryManager.persist(AbstractEntryManager.java:90) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager$Proxy$_$$_WeldClientProxy.persist(Unknown Source) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.xdi.service.metric.MetricService.addBranch(MetricService.java:95) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.addBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.createBranch(MetricService.java:104) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.createBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.prepareBranch(MetricService.java:123) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.prepareBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.add(MetricService.java:136) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldSubclass.add(Unknown Source) ~[classes/:?] at org.xdi.oxauth.service.MetricService$Proxy$_$$_WeldClientProxy.add(Unknown Source) ~[classes/:?] at org.xdi.service.metric.LdapEntryReporter.reportImpl(LdapEntryReporter.java:192) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.service.metric.LdapEntryReporter.report(LdapEntryReporter.java:161) ~[oxcore-service-3.1.1.Final.jar:?] at com.codahale.metrics.ScheduledReporter.report(ScheduledReporter.java:162) ~[metrics-core-3.1.2.jar:3.1.2] at com.codahale.metrics.ScheduledReporter$1.run(ScheduledReporter.java:117) [metrics-core-3.1.2.jar:3.1.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112] Caused by: com.unboundid.ldap.sdk.LDAPException: no such object at com.unboundid.ldap.sdk.LDAPConnection.add(LDAPConnection.java:1959) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:752) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:683) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at org.gluu.site.ldap.OperationsFacade.addEntry(OperationsFacade.java:494) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:94) ~[oxcore-ldap-3.1.1.Final.jar:?] ... 22 more ``` 2. oxtrust.logs ``` 2018-01-15 20:38:13,276 ERROR [metrics-ldap-reporter-1-thread-1] [com.codahale.metrics.ScheduledReporter$1] (ScheduledReporter.java:119) - RuntimeException thrown from LdapEntryReporter#report. Exception was suppressed. org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to persist entry: ou=@!5502.85EE.2700.DB67!0002!4FD0.9F84,ou=metric,o=@!5502.85EE.2700.DB67!0001!CF6E.1763,o=gluu at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:99) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.AbstractEntryManager.persist(AbstractEntryManager.java:90) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager$Proxy$_$$_WeldClientProxy.persist(Unknown Source) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.xdi.service.metric.MetricService.addBranch(MetricService.java:95) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.addBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.createBranch(MetricService.java:104) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.createBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.prepareBranch(MetricService.java:123) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.prepareBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.add(MetricService.java:136) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.add(Unknown Source) ~[classes/:?] at org.xdi.service.metric.LdapEntryReporter.reportImpl(LdapEntryReporter.java:192) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.service.metric.LdapEntryReporter.report(LdapEntryReporter.java:161) ~[oxcore-service-3.1.1.Final.jar:?] at com.codahale.metrics.ScheduledReporter.report(ScheduledReporter.java:162) ~[metrics-core-3.1.2.jar:3.1.2] at com.codahale.metrics.ScheduledReporter$1.run(ScheduledReporter.java:117) [metrics-core-3.1.2.jar:3.1.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112] Caused by: com.unboundid.ldap.sdk.LDAPException: no such object at com.unboundid.ldap.sdk.LDAPConnection.add(LDAPConnection.java:1959) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:752) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:683) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at org.gluu.site.ldap.OperationsFacade.addEntry(OperationsFacade.java:494) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:94) ~[oxcore-ldap-3.1.1.Final.jar:?] ... 21 more 2018-01-15 20:38:13,288 INFO [ForkJoinPool.commonPool-worker-0] [gluu.oxtrust.service.status.ldap.LdapStatusTimer] (LdapStatusTimer.java:97) - connectionProvider statistics: LDAPConnectionPoolStatistics(numAvailableConnections=2, maxAvailableConnections=10, numSuccessfulConnectionAttempts=2, numFailedConnectionAttempts=0, numConnectionsClosedDefunct=0, numConnectionsClosedExpired=0, numConnectionsClosedUnneeded=0, numSuccessfulCheckouts=1496, numFailedCheckouts=0, numReleasedValid=1496) 2018-01-15 20:39:13,286 INFO [ForkJoinPool.commonPool-worker-3] [gluu.oxtrust.service.status.ldap.LdapStatusTimer] (LdapStatusTimer.java:97) - connectionProvider statistics: LDAPConnectionPoolStatistics(numAvailableConnections=1, maxAvailableConnections=10, numSuccessfulConnectionAttempts=2, numFailedConnectionAttempts=0, numConnectionsClosedDefunct=0, numConnectionsClosedExpired=0, numConnectionsClosedUnneeded=0, numSuccessfulCheckouts=1509, numFailedCheckouts=0, numReleasedValid=1508) 2018-01-15 20:39:13,325 ERROR [metrics-ldap-reporter-1-thread-1] [com.codahale.metrics.ScheduledReporter$1] (ScheduledReporter.java:119) - RuntimeException thrown from LdapEntryReporter#report. Exception was suppressed. org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to persist entry: ou=@!5502.85EE.2700.DB67!0002!4FD0.9F84,ou=metric,o=@!5502.85EE.2700.DB67!0001!CF6E.1763,o=gluu at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:99) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.AbstractEntryManager.persist(AbstractEntryManager.java:90) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager$Proxy$_$$_WeldClientProxy.persist(Unknown Source) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.xdi.service.metric.MetricService.addBranch(MetricService.java:95) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.addBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.createBranch(MetricService.java:104) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.createBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.prepareBranch(MetricService.java:123) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.prepareBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.add(MetricService.java:136) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.add(Unknown Source) ~[classes/:?] at org.xdi.service.metric.LdapEntryReporter.reportImpl(LdapEntryReporter.java:192) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.service.metric.LdapEntryReporter.report(LdapEntryReporter.java:161) ~[oxcore-service-3.1.1.Final.jar:?] at com.codahale.metrics.ScheduledReporter.report(ScheduledReporter.java:162) ~[metrics-core-3.1.2.jar:3.1.2] at com.codahale.metrics.ScheduledReporter$1.run(ScheduledReporter.java:117) [metrics-core-3.1.2.jar:3.1.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112] Caused by: com.unboundid.ldap.sdk.LDAPException: no such object at com.unboundid.ldap.sdk.LDAPConnection.add(LDAPConnection.java:1959) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:752) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:683) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at org.gluu.site.ldap.OperationsFacade.addEntry(OperationsFacade.java:494) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:94) ~[oxcore-ldap-3.1.1.Final.jar:?] ... 21 more 2018-01-15 20:40:13,272 ERROR [metrics-ldap-reporter-1-thread-1] [com.codahale.metrics.ScheduledReporter$1] (ScheduledReporter.java:119) - RuntimeException thrown from LdapEntryReporter#report. Exception was suppressed. org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to persist entry: ou=@!5502.85EE.2700.DB67!0002!4FD0.9F84,ou=metric,o=@!5502.85EE.2700.DB67!0001!CF6E.1763,o=gluu at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:99) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.AbstractEntryManager.persist(AbstractEntryManager.java:90) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager$Proxy$_$$_WeldClientProxy.persist(Unknown Source) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.xdi.service.metric.MetricService.addBranch(MetricService.java:95) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.addBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.createBranch(MetricService.java:104) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.createBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.prepareBranch(MetricService.java:123) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.prepareBranch(Unknown Source) ~[classes/:?] at org.xdi.service.metric.MetricService.add(MetricService.java:136) ~[oxcore-service-3.1.1.Final.jar:?] at org.gluu.oxtrust.service.MetricService$Proxy$_$$_WeldSubclass.add(Unknown Source) ~[classes/:?] at org.xdi.service.metric.LdapEntryReporter.reportImpl(LdapEntryReporter.java:192) ~[oxcore-service-3.1.1.Final.jar:?] at org.xdi.service.metric.LdapEntryReporter.report(LdapEntryReporter.java:161) ~[oxcore-service-3.1.1.Final.jar:?] at com.codahale.metrics.ScheduledReporter.report(ScheduledReporter.java:162) ~[metrics-core-3.1.2.jar:3.1.2] at com.codahale.metrics.ScheduledReporter$1.run(ScheduledReporter.java:117) [metrics-core-3.1.2.jar:3.1.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_112] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112] Caused by: com.unboundid.ldap.sdk.LDAPException: no such object at com.unboundid.ldap.sdk.LDAPConnection.add(LDAPConnection.java:1959) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:752) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:683) ~[unboundid-ldapsdk-3.2.0.jar:3.2.0] at org.gluu.site.ldap.OperationsFacade.addEntry(OperationsFacade.java:494) ~[oxcore-ldap-3.1.1.Final.jar:?] at org.gluu.site.ldap.persistence.LdapEntryManager.persist(LdapEntryManager.java:94) ~[oxcore-ldap-3.1.1.Final.jar:?] ... 21 more ```

By Thomas Gasmyr Mougang staff 15 Jan 2018 at 2:07 p.m. CST

Thomas Gasmyr Mougang gravatar
Hi **Luo**, Having install Gluu twice on the same VM may have mess up ldap directory services. The best thing to do now is to used a clean VM. If you have impediments when doing that, let me known. Thanks.

By ches luo user 15 Jan 2018 at 7:32 p.m. CST

ches luo gravatar
Hi Tomas, thanks for your answer. But why Ubuntu crash when I run setup.py for the first time?? I have to run it twice to install it successfully. How to solve this problem then?

By Thomas Gasmyr Mougang staff 16 Jan 2018 at 12:38 a.m. CST

Thomas Gasmyr Mougang gravatar
Hi **Luo**, Yeah, this is what you can do to ensure a proper installation. When you have a fresh install VM, run the command below to update the repositories first. ``` #apt-get update ``` Then follow the documentation to install Gluu ce on ubuntu 16.04. I hope you Ubuntu 16.04 a long time support(LTS) version since it is more stable and have bug fixes. If the VM crash again, please provide the following logs files: 1. **/var/log/kern.log** 2. **/var/log/dmesg** 3. **/var/log/syslog** Please let me know if that works for you. In the mean time, i'm going to do the same thing here to see if i hit the same issue. Thanks.

By ches luo user 16 Jan 2018 at 2:11 a.m. CST

ches luo gravatar
Hi Thomas, problem solved. I install Debian instead of Ubuntu. And I follow exactly the same procedure, everything works fine. Thanks a lot.

By Thomas Gasmyr Mougang staff 16 Jan 2018 at 3:48 a.m. CST

Thomas Gasmyr Mougang gravatar
Okay, cool. I have experience the same issue as you do with Ubuntu 16.04 LTS.