By: Russ Uligan user 12 Aug 2016 at 5:36 a.m. CDT

5 Responses
Russ Uligan gravatar
Hi, I have installed Gluu server 2.4.4 but I get blank screen when accessing GUI. ``` What has been done: 1. Stop and start tomcat 2. Stop and start apache2 3. Stop and Start gluu server (outside the chroot) 4. Saw some errors below. I am not sure to fix. Please advise and thanks. Type: AWS EC2 O/S: Ubuntu 14.04 CPU: 4 Memory: 16 GB Disk space: 50GB SETUP.PY entries (Note that I just pressed 'ENTER' on the IP address as it detected the private one) hostname ec2-54-210-126-99.compute-1.amazonaws.com orgName ITG os ubuntu city Manila state PH countryCode PH support email itg-infra@voyagerinnovation.com tomcat max ram 3072 Admin Pass P@$$w0rd1234 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 cat /opt/tomcat/logs/oxauth.log . . [12/Aug/2016:10:14:25 +0000] BIND REQ conn=51 op=0 msgID=1 version=3 type=SIMPLE dn="cn=directory manager" [12/Aug/2016:10:14:25 +0000] BIND RES conn=51 op=0 msgID=1 result=49 authFailureReason="The password provided by the user did not match any password(s) stored in the user's entry" authDN="cn=directory manager" etime=0 [12/Aug/2016:10:14:25 +0000] UNBIND REQ conn=51 op=1 msgID=2 [12/Aug/2016:10:14:25 +0000] DISCONNECT conn=51 reason="Client Unbind" GLUU.root@localhost:/install/community-edition-setup# netstat - antlp | grep 1636 tcp6 0 0 localhost:1636 localhost:33297 ESTABLISHED tcp6 0 0 localhost:33297 localhost:1636 ESTABLISHED GLUU.root@localhost:/install/community-edition-setup# cat /opt/tomcat/logs/oxauth.log . . 2016-08-12 10:14:17,890 INFO [org.xdi.oxauth.model.config.ConfigurationFactory] Loading configuration from LDAP... 2016-08-12 10:14:18,013 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to find entry: ou=oxauth,ou=configuration,inum=@!0042.6839.0DBD.36C2!0002!6334.1E5E,ou=appliances,o=gluu 2016-08-12 10:14:18,013 INFO [org.xdi.oxauth.model.config.ConfigurationFactory] Unable to find configuration in LDAP, try to load configuration from file system... 2016-08-12 10:14:18,018 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) . . 2016-08-12 10:14:18,020 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to load configuration from file: /opt/tomcat/conf/oxauth-config.json 2016-08-12 10:14:18,020 ERROR [org.xdi.oxauth.model.config.ConfigurationFactory] Failed to load configuration from LDAP. Please fix it!!!. ```

By Michael Schwartz Account Admin 12 Aug 2016 at 7:25 a.m. CDT

Michael Schwartz gravatar
Something bad happened during ldap installation. A few suggestions: 1. Uninstall the package and run setup again. 2. Use a shorter hostname--use the hosts file on the Ubuntu host and your laptop. Make it something like idp-dev.voyagerinnovation.com 3. This didn't cause the crash, but just a suggestion: you have 16GB of RAM, so give tomcat more memory: 8GB? 4. The $ in the password might be messing you up. $ means use a variable in shell, and I'm wondering if maybe it messed up `setup.py` 5. If it doesn't work, post the log file `/install/community-edition-setup/setup_error.log`

By Aliaksandr Samuseu staff 12 Aug 2016 at 8:17 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Russ. In addition to what Michael suggested, please try this simple test. After you've started you Gluu service, wait for 10 minutes and in case you'll still be getting blank page instead of login screen, try to move into the container and run `# service tomcat restart` there. Again, wait for another 10 minutes, and check whether you'll get login page now. Let us know the result. In addition, please see other related tickets: [one](https://support.gluu.org/installation/error-starting-gluu-on-amazon-linux-ami-2880), [two](https://support.gluu.org/installation/reg-aws-ec2-2801)

By Aliaksandr Samuseu staff 12 Aug 2016 at 8:22 a.m. CDT

Aliaksandr Samuseu gravatar
Also, please check [this note](https://www.gluu.org/docs/deployment/#amazon-aws) on AWS vms.

By Russ Uligan user 14 Aug 2016 at 10:56 p.m. CDT

Russ Uligan gravatar
Hi Aleksandr/Michael, Thanks for the response. I can access the console now. What I did was to reinstall the gluu server on the same box, shortened the hostname and set a more basic password. Also, for memory allocation on Tomcat's heap, it seems that the file '/opt/tomcat/conf/gluuTomcatWrapper.conf' appears only after the setup.py file is finished? So if one would want to edit the limits, he would have to stop the gluu service, tomcat and apache daemons. Is that right? Thanks for the help. :) br, Russ

By Aliaksandr Samuseu staff 15 Aug 2016 at 5:01 a.m. CDT

Aliaksandr Samuseu gravatar
>So if one would want to edit the limits, he would have to stop the gluu service, tomcat and apache daemons. Is that right? That's correct, but the only service you need to restart is tomcat. You need to move into container, change allocations in this file, then restart tomcat with `# service tomcat restart` command.