By: Meghana Dhakephalkar user 13 Dec 2016 at 5:40 a.m. CST

5 Responses
Meghana Dhakephalkar gravatar
Hi! After installing Gluu server 2.4.4, I am getting blank screen when I access UI. And getting following errors. I am not sure how to fix them. Please suggest. I appreciate your help. Thanks! Output of oxauth.log file: ``` 2016-12-13 10:33:02,511 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to find entry: ou=oxauth,ou=configuration,inum=@!FC8E.B1CF.4EC8.9EDE!000 2!20B9.0A8F,ou=appliances,o=gluu 2016-12-13 10:33:02,511 INFO [org.xdi.oxauth.model.config.ConfigurationFactory] Unable to find configuration in LDAP, try to load configuration from file syste m... 2016-12-13 10:33:02,521 WARN [org.xdi.oxauth.model.config.ConfigurationFactory] /opt/tomcat/conf/oxauth-config.json (No such file or directory) java.io.FileNotFoundException: /opt/tomcat/conf/oxauth-config.json (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at org.codehaus.jackson.JsonFactory.createJsonParser(JsonFactory.java:50 4) at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:181 7) at org.xdi.oxauth.model.config.ConfigurationFactory.loadConfFromFile(Con figurationFactory.java:430) at org.xdi.oxauth.model.config.ConfigurationFactory.reloadConfFromFile(C onfigurationFactory.java:268) at org.xdi.oxauth.model.config.ConfigurationFactory.createFromFile(Confi gurationFactory.java:222) at org.xdi.oxauth.model.config.ConfigurationFactory.createFromLdap(Confi gurationFactory.java:294) at org.xdi.oxauth.model.config.ConfigurationFactory.create(Configuration Factory.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocation Context.java:32) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:56) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackI nterceptor.java:28) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodConte xtInterceptor.java:44) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(Asynchronou sInterceptor.java:52) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java: 107) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(Java BeanInterceptor.java:196) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanIntercept or.java:114) at org.xdi.oxauth.model.config.ConfigurationFactory_$$_javassist_seam_3. create(ConfigurationFactory_$$_javassist_seam_3.java) at org.xdi.oxauth.service.AppInitializer.createApplicationComponents(App Initializer.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocation Context.java:32) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:56) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackI nterceptor.java:28) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterc eptor.java:79) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodConte xtInterceptor.java:44) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(Asynchronou sInterceptor.java:52) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java: 107) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(Java BeanInterceptor.java:196) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanIntercept or.java:114) at org.xdi.oxauth.service.AppInitializer_$$_javassist_seam_1.createAppli cationComponents(AppInitializer_$$_javassist_seam_1.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) at org.jboss.seam.Component.callComponentMethod(Component.java:2313) at org.jboss.seam.Component.callCreateMethod(Component.java:2236) at org.jboss.seam.Component.newInstance(Component.java:2196) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:343) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:317) at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLif ecycle.java:143) at org.jboss.seam.init.Initialization.init(Initialization.java:813) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.j ava:36) at org.apache.catalina.core.StandardContext.listenerStart(StandardContex t.java:5003) at org.apache.catalina.core.StandardContext.startInternal(StandardContex t.java:5517) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:87 7) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja va:677) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfi g.java:1942) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47 1) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:615) at java.lang.Thread.run(Thread.java:745) 2016-12-13 10:33:02,526 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to load configuration from file: /opt/tomcat/conf/oxauth-config.json 2016-12-13 10:33:02,527 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to load configuration from LDAP. Please fix it!!!. ``` ### **SETUP.PY entries:** ``` - hostname: abcd-abcd01p.ptcnet.ptc.com - orgName: PTC - os: centos - city: Blaine - state: MN - countryCode: US - support email: mdhakeph@ptc.com - tomcat max ram: 3072 - Admin Pass: admin - Install oxAuth: True - Install oxTrust: True - Install LDAP: True - Install Apache 2 web server: True - Install Shibboleth SAML IDP: False - Install Asimba SAML Proxy: False - Install CAS: False - Install oxAuth RP: False ``` ### **Entries in /install/community-edition-setup/setup_error.log file :** ``` 09:46:45 12/13/16 Installing Gluu Server 09:48:46 12/13/16 Generating RSA private key, 2048 bit long modulus ...............................+++ ....................................................+++ e is 65537 (0x10001) 09:48:46 12/13/16 writing RSA key 09:48:46 12/13/16 Signature ok subject=/C=US/ST=MN/L=Blaine/O=PTC/CN=abcd-abcd01p.ptcnet.ptc.com/emailAddress= mdhakeph@ptc.com Getting Private key 09:48:47 12/13/16 Certificate was added to keystore 09:48:47 12/13/16 Generating RSA private key, 2048 bit long modulus ................................................................................ ...........................+++ ..+++ e is 65537 (0x10001) 09:48:47 12/13/16 writing RSA key 09:48:47 12/13/16 Signature ok subject=/C=US/ST=MN/L=Blaine/O=PTC/CN=abcd-abcd01p.ptcnet.ptc.com/emailAddress= mdhakeph@ptc.com Getting Private key 09:48:48 12/13/16 Certificate was added to keystore 09:48:48 12/13/16 Generating RSA private key, 2048 bit long modulus ................................................................................ ..........................+++ ........................................................+++ e is 65537 (0x10001) 09:48:48 12/13/16 writing RSA key 09:48:48 12/13/16 Signature ok subject=/C=US/ST=MN/L=Blaine/O=PTC/CN=abcd-abcd01p.ptcnet.ptc.com/emailAddress= mdhakeph@ptc.com Getting Private key 09:48:48 12/13/16 Certificate was added to keystore 09:48:48 12/13/16 Generating RSA private key, 2048 bit long modulus .......+++ .........+++ e is 65537 (0x10001) 09:48:48 12/13/16 writing RSA key 09:48:48 12/13/16 Signature ok subject=/C=US/ST=MN/L=Blaine/O=PTC/CN=abcd-abcd01p.ptcnet.ptc.com/emailAddress= mdhakeph@ptc.com Getting Private key 09:48:49 12/13/16 Certificate was added to keystore 09:48:49 12/13/16 Generating RSA private key, 2048 bit long modulus ...........................................+++ ..........................+++ e is 65537 (0x10001) 09:48:49 12/13/16 writing RSA key 09:48:49 12/13/16 Signature ok subject=/C=US/ST=MN/L=Blaine/O=PTC/CN=abcd-abcd01p.ptcnet.ptc.com/emailAddress= mdhakeph@ptc.com Getting Private key 09:48:49 12/13/16 Certificate was added to keystore 09:48:59 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:00 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:02 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:04 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:05 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:07 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:09 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:11 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:12 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:14 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:16 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:17 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:19 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:21 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:22 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:24 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:26 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:28 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:29 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:31 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:33 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:35 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:36 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:38 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:39 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:41 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:43 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:44 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:46 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:48 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:50 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:51 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:53 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:55 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:56 12/13/16 Unable to connect to the server at "localhost" on port 4444 09:49:58 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:49:59 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:50:00 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:50:02 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:50:03 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:50:05 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:50:06 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:50:07 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:50:09 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:50:10 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:50:12 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:50:13 12/13/16 Connect Error Result Code: 91 (Connect Error) 09:50:17 12/13/16 You have provided options for scheduling this operation as a t ask but options provided for connecting to the server's tasks backend resulted in the following error: 'Connect Error' 09:50:18 12/13/16 Certificate stored in file </etc/certs/opendj.crt> 09:50:18 12/13/16 Certificate was added to keystore 09:50:20 12/13/16 Redirecting to /bin/systemctl stop httpd.service 09:50:20 12/13/16 Redirecting to /bin/systemctl start httpd.service 09:50:20 12/13/16 Note: Forwarding request to 'systemctl enable memcached.servic e'. 09:50:20 12/13/16 Note: Forwarding request to 'systemctl enable tomcat.service'. 09:50:20 12/13/16 Note: Forwarding request to 'systemctl enable httpd.service'. ```

By Aliaksandr Samuseu staff 13 Dec 2016 at 9:41 a.m. CST

Aliaksandr Samuseu gravatar
Hi, Meghana. > Failed to find entry: ou=oxauth,ou=configuration,inum=@!FC8E.B1CF.4EC8.9EDE!000 2!20B9.0A8F,ou=appliances,o=gluu ...most likely means that Gluu's internal LDAP directory where it stores configuration didn't start, or can't be connected for other reason. And this from setup_error.log: >Unable to connect to the server at "localhost" on port 4444 ...seems like it wasn't even started during installation too. Please try a clean re-install, but first make sure that ports 4444 and 1636 are not taken by other application, and that SElinux is disabled there.

By Aliaksandr Samuseu staff 13 Dec 2016 at 9:44 a.m. CST

Aliaksandr Samuseu gravatar
+Please also check firewall rules, so that nothing would block ports Gluu needs (actually, it shouldn't block any connections to localhost/127.0.0.1 by default)

By Meghana Dhakephalkar user 14 Dec 2016 at 5:50 a.m. CST

Meghana Dhakephalkar gravatar
Thanks for the response! I will reinstall Gluu server and get back to you!

By Ewan Sadie user 25 Jan 2017 at 8:32 a.m. CST

Ewan Sadie gravatar
Was this resolved? I have the exact same issue.

By Aliaksandr Samuseu staff 25 Jan 2017 at 9:57 a.m. CST

Aliaksandr Samuseu gravatar
Hi, Ewan. What do you mean by saying it's the same? You also see signs of oxauth failing to load configuration from LDAP in logs?