By: Kishore Basa user 23 Jun 2016 at 4:21 p.m. CDT

12 Responses
Kishore Basa gravatar
Hello Team, Was able to install and Configure GLUU server on CENTOS 6.5. But when i try to login to console i do not see a authentication screen but a blank page. got into the /opt/tomcat/logs/oxauth.log , there is an error 2016-06-23 20:49:25,521 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to load configuration from file: /opt/tomcat/conf/oxauth-config.json 2016-06-23 20:49:25,521 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to load configuration from LDAP. Please fix it!!!. Here is the error log file http://pastebin.com/Ldsnkx5q Checked the opendj logs and no errors found ... Restarted the gluu service and its still the same. Could you please help me with this ...!!! Kishore

By Mohib Zico staff 23 Jun 2016 at 4:38 p.m. CDT

Mohib Zico gravatar
Kishore, How much memory you provided in VM? Also... are you using Gluu Server 2.4.3?

By Michael Schwartz Account Admin 23 Jun 2016 at 4:41 p.m. CDT

Michael Schwartz gravatar
``` 2016-06-23 20:49:24,938 ERROR [org.gluu.site.ldap.LDAPConnectionProvider] Failed to create connection pool with properties: . . . refused')LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to establish a connection to server localhost/127.0.0.1:1636: java.net.ConnectException: Connection refused') caused by java.net.ConnectException: Connection refused') . . . 2016-06-23 20:49:25,521 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to load configuration from file: /opt/tomcat/conf/oxauth-config.json 2016-06-23 20:49:25,521 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to load configuration from LDAP. Please fix it!!!. ```

By Michael Schwartz Account Admin 23 Jun 2016 at 4:45 p.m. CDT

Michael Schwartz gravatar
Maybe you should include how you answered the questions when you ran `setup.py`

By Michael Schwartz Account Admin 23 Jun 2016 at 9:14 p.m. CDT

Michael Schwartz gravatar
Is the LDAP server running? ``` # netstat - antlp | grep 1636 ```

By Kishore Basa user 24 Jun 2016 at 10:50 a.m. CDT

Kishore Basa gravatar
Hello Mike Here is the script os centos tomcat max ram 4000 Install oxAuth True Install oxTrust True Install LDAP True Install Apache 2 web server True Install Shibboleth 2 SAML IDP True Install Asimba SAML Proxy False Install CAS False Install oxAuth RP True @ Aliaksandr I restarted tomcat service , but still no luck. Just to let you know this is an AWS instance and the GLUU version is 2.4.3. I used the private ip address during the setup and a dedicated hostname. GLUU.[root@gluu bin]# netstat -antlp | grep 1636 tcp 0 0 :::1636 :::* LISTEN 17308/java tcp 0 0 ::ffff:127.0.0.1:1636 ::ffff:127.0.0.1:52675 ESTABLISHED 17308/java tcp 0 0 ::ffff:127.0.0.1:52675 ::ffff:127.0.0.1:1636 ESTABLISHED 17624/java

By Mohib Zico staff 24 Jun 2016 at 11:03 a.m. CDT

Mohib Zico gravatar
>> I used the private ip address during the setup That is a big question mark! You don't need to provide any IP address manually; Gluu's setup.py is smart enough to get the correct IP address for installation. My suggestion would be: Get a clean VM and if it's Amazon AWS, just hit enter w/e IP setup script provide.

By Kishore Basa user 24 Jun 2016 at 11:05 a.m. CDT

Kishore Basa gravatar
It pickek up the IP and Hostname automatically when running the script.

By Mohib Zico staff 24 Jun 2016 at 11:23 a.m. CDT

Mohib Zico gravatar
Okay... let's get a clean VM and give a spin again; let's see how it goes...

By Kishore Basa user 27 Jun 2016 at 3 p.m. CDT

Kishore Basa gravatar
Hello Mohib, Tried the setup on a new VM , Installation went up smooth this time with no errors. But ran into another Issue with the LDAP Authentication. I added an AD server in the Cache Refresh , perfectly done - all users sync to GLUU LDAP from AD. If i add the same AD server under Manage Authentication section ..it throws an error LDAP connection failed. Logs from [wrapper.log](http://pastebin.com/MjAjXd0S) and [oxtrust.log](http://pastebin.com/CafHEFhH). Now the worst part is i cannot switch back to the default authentication mode. I ran this ldap search command following the instructions /opt/opendj/bin/ldapsearch -h hostname -p 1389 -D "cn=directory manager" -j ~/.pw -b "ou=appliances,o=gluu" -s one "objectclass=*" oxAuthenticationMode An error occurred while parsing the command-line arguments: The provided value "/root/.pw" for argument -j is not acceptable: The file /root/.pw specified for argument bindPasswordFile does not exist Then browsed to the LDAP Properties file and grabbed the ldap bind password. I got into the Console , changed the LDAP authentication settings to GLUU LDAP (default settings ) and used the password from this file , but it still doesn't connect. cat /opt/apache-tomcat-7.0.65/conf/ox-ldap.properties Not sure if i'm missing something here , please suggest..

By Mohib Zico staff 27 Jun 2016 at 3:33 p.m. CDT

Mohib Zico gravatar
Please open a new ticket for this new problem by closing this current one ( blank page ) as it is resolved; it will be helpful to track problem.

By Michael Schwartz Account Admin 27 Jun 2016 at 3:57 p.m. CDT

Michael Schwartz gravatar
I think you did not create the file ~/.pw with your `cn=directory manager` password in it.

By Kishore Basa user 28 Jun 2016 at 2:19 p.m. CDT

Kishore Basa gravatar
Closing this case as the issue is resolved, opened a new case #2918 for the LDAP issue. Thanks for the assistance Kbasa