By: Tejesh Khimani user 15 May 2019 at 2:32 a.m. CDT

5 Responses
Tejesh Khimani gravatar
Hi Team, Recently, have upgraded Gluu from 3.1.2 to 3.1.6, following this URL . But after restarting Gluu server, getting Service Unavailable error while accessing Gluu from browser. Request you to solve this issue. Note: I'm able to connect ldap from cli. **cmd:** ldapsearch -p 1636 -Z -X -D 'cn=directory manager,o=gluu' -w 'password' -b o=gluu ou=people 1.1 **output:** dn: ou=people,o=@!8AB6.5ECA.52BE.BE55!0001!A473.7279,o=gluu Here is th Jetty log file: ------------------------------- May 15, 2019 12:48:35 PM org.richfaces.webapp.ResourceServletContainerInitializer registerServlet INFO: Auto-registered servlet ResourceServlet with mapping '/org.richfaces.resources/*' 2019-05-15 12:48:56,302 INFO [main] [org.gluu.oxtrust.util.BuildVersion] ( - Root element :beans 2019-05-15 12:48:56,667 INFO [main] [org.xdi.oxauth.model.util.SecurityProviderUtility] ( - Adding Bouncy Castle Provider 2019-05-15 12:48:56,947 INFO [main] [org.gluu.oxtrust.ldap.service.AppInitializer] ( - Build date 2019-03-26 12:59. Code revision f0c676fdc3f0315af205e862a32e5dbdba44441a on ${git.commit.time}. Build 509 2019-05-15 12:48:57,000 INFO [main] [org.gluu.oxtrust.config.ConfigurationFactory] ( - Creating oxTrustConfiguration 2019-05-15 12:48:57,001 INFO [main] [org.gluu.oxtrust.config.ConfigurationFactory] ( - ########## ldapFileName = /etc/gluu/conf/ 2019-05-15 12:48:57,174 ERROR [main] [] ( - Failed to load '/etc/gluu/conf/' configuration file from config folder 2019-05-15 12:48:58.337:WARN:oeja.ServletContainerInitializersStarter:main: org.xdi.exception.ConfigurationException: Failed to create LDAP connection pool! at org.gluu.oxtrust.ldap.service.AppInitializer.createConnectionProvider( at org.gluu.oxtrust.ldap.service.AppInitializer.applicationInitialized( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(

By Mohib Zico staff 15 May 2019 at 9:01 a.m. CDT

Mohib Zico gravatar
Hello, >> Failed to create LDAP connection pool! at org.gluu.oxtrust.ldap.service.AppInitializer.createConnectionProvider( Problem is in ldap. Can you please try to restart services in below manner? - opendj - oxauth - identity

By Tejesh Khimani user 15 May 2019 at 1:13 p.m. CDT

Tejesh Khimani gravatar
Hi, I'm not using OpenDJ instead i'm using OpenLDAP. i tried restarting in below order: solserver oxauth identity but still it shows the same error "Service Unavailable" Thanks

By Mohib Zico staff 15 May 2019 at 1:28 p.m. CDT

Mohib Zico gravatar
We are not supporting OpenLDAP migration in 3.1.5 onwards... You need to: - Use script to migrate your 3.1.2 OpenLDAP to 3.1.2 OpenDJ: - Perform 3.1.6 upgrade in that 3.1.2 OpenDJ server.

By Tejesh Khimani user 16 May 2019 at 1:42 a.m. CDT

Tejesh Khimani gravatar
Hi Zico, I have already upgraded from 3.1.2 to 3.1.6 with OpenLDAP & now i can't rollback to migrate. Or still can i run script to migrate OpenLDAP to OpenDJ? Can you help to fix this issue? Thanks

By Graham Private user 09 Sep 2019 at 7:21 a.m. CDT

Graham Private gravatar
FYI, I had a similar issue where everything was dead. I had already restarted Apache, Jetty instances etc manually, as well as the whole Gluu instance via Ubuntu upstart: ``` service gluu-server-3.1.4 restart ``` Only the manual OpenDJ restart suggested by Mohib resolved my LDAP connectivity issues. Not sure if it's worth including an OpenDJ restart in the Service scripts? Thanks