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

4 Responses
Tejesh Khimani gravatar
Hi Team, Recently, have upgraded Gluu from 3.1.2 to 3.1.6, following this URL https://gluu.org/docs/ce/3.1.6/upgrade/#upgrade-from-31x-to-316 . 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] (BuildVersion.java:82) - Root element :beans 2019-05-15 12:48:56,667 INFO [main] [org.xdi.oxauth.model.util.SecurityProviderUtility] (SecurityProviderUtility.java:24) - Adding Bouncy Castle Provider 2019-05-15 12:48:56,947 INFO [main] [org.gluu.oxtrust.ldap.service.AppInitializer] (AppInitializer.java:301) - 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] (ConfigurationFactory.java:134) - Creating oxTrustConfiguration 2019-05-15 12:48:57,001 INFO [main] [org.gluu.oxtrust.config.ConfigurationFactory] (ConfigurationFactory.java:420) - ########## ldapFileName = /etc/gluu/conf/ox-ldap.properties 2019-05-15 12:48:57,174 ERROR [main] [org.xdi.util.properties.FileConfiguration] (FileConfiguration.java:59) - Failed to load '/etc/gluu/conf/oxtrust-central-ldap.properties' 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(AppInitializer.java:409) at org.gluu.oxtrust.ldap.service.AppInitializer.applicationInitialized(AppInitializer.java:212) 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 org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95)

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(AppInitializer.java:409) 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: https://github.com/GluuFederation/community-edition-setup/tree/master/static/scripts/openldap2opendj_migration - 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