By: Tim Biegeleisen user 30 Nov 2015 at 10:02 p.m. CST

9 Responses
Tim Biegeleisen gravatar
I recently installed Gluu Server on Ubuntu 14.04 LTS, and I was able to successfully issue the command 'service gluu-server24 start'. I verified via the commmand 'netstat' that the appropriate ports were being listened to by either Tomcat or Java. There is documentation on the Gluu site (http://www.gluu.org/docs/admin-guide/configuration/) which mentions an admin console. However, I cannot seem to figure out what the URL is for this page. I combed the entire Gluu site including the forum and came up empty.

By Michael Schwartz Account Admin 30 Nov 2015 at 10:15 p.m. CST

Michael Schwartz gravatar
The url would just be https://hostname Can you provide more details about your installation? The basics: How much RAM does the server have? CPU units? Does it meet the minimum requirements? Are you sure its 64-bit OS? Assuming you have sufficient resources, did the setup log (look in /install/community-edition-setup) report any errors? Also, any errors in the logs in /opt/opendj/logs or /opt/tomcat/logs ?

By Tim Biegeleisen user 01 Dec 2015 at 3:30 a.m. CST

Tim Biegeleisen gravatar
We are running Ubuntu 14.04 LTS with 2GB RAM and 2 cores on a 64-bit VM from VMWare. The setup logs seem to have an error regarding the Asimba setup, q.v. the relevant portions of the stack traces below. 03:17:19 11/30/15 Error copying ./output/asimba.xml to /opt/dist/tmp_asimba/WEB-INF/conf/asimba.xml 03:17:19 11/30/15 Traceback (most recent call last): File "./setup.py", line 460, in copyFile shutil.copy(inFile, destFolder) File "/usr/lib/python2.7/shutil.py", line 119, in copy copyfile(src, dst) File "/usr/lib/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 2] No such file or directory: '/opt/dist/tmp_asimba/WEB-INF/conf/asimba.xml' 03:17:19 11/30/15 Running: /usr/bin/jar cmf tmp_asimba/META-INF/MANIFEST.MF asimba.war -C /opt/dist/tmp_asimba/ . 03:17:19 11/30/15 java.io.FileNotFoundException: tmp_asimba/META-INF/MANIFEST.MF (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at sun.tools.jar.Main.run(Main.java:172) at sun.tools.jar.Main.main(Main.java:1231) 03:17:19 11/30/15 Copying asimba.war into tomcat webapps folder... 03:17:19 11/30/15 Error copying /opt/dist/asimba.war to /opt/tomcat/webapps 03:17:19 11/30/15 Traceback (most recent call last): File "./setup.py", line 460, in copyFile shutil.copy(inFile, destFolder) File "/usr/lib/python2.7/shutil.py", line 119, in copy copyfile(src, dst) File "/usr/lib/python2.7/shutil.py", line 82, in copyfile with open(src, 'rb') as fsrc: IOError: [Errno 2] No such file or directory: '/opt/dist/asimba.war' **However** When trying to access https://localhost from Firefox, we are prompted with the following error message: An error occurred during a connection to localhost. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) I verified that the Apache2 server is listening on port 443 by typing **netstat -pnlt | grep '443'** What could be wrong with the server configuration that would result in the admin console giving this error and not being visible. We feel that the Asimba error, while certainly being a problem, is not the cause of the admin console not loading.

By William Lowe user 01 Dec 2015 at 9:49 a.m. CST

William Lowe gravatar
Your Gluu Server **will not** start with less than 4GB of RAM. I think that's pretty clear in the documentation, but since you missed it, please tell me how I can make the RAM requirement more prominent.

By Michael Schwartz Account Admin 01 Dec 2015 at 12:57 p.m. CST

Michael Schwartz gravatar
localhost will not work -- you need to use a hostname that points to the eth0 interface (i.e. not lo)

By Tim Biegeleisen user 01 Dec 2015 at 9:22 p.m. CST

Tim Biegeleisen gravatar
Hi Michael, I changed my VMWare settings to use 4GB instead of 2GB. However, the Gluu server did appear to even be starting with only 2GB. I modified the file /opt/gluu-server24/etc/hostname and replaced 'localhost' with '192.168.163.129'. This seemed to make a difference, in that accessing 'https://192.168.163.129' redirected to somewhere else. However, 'localhost' must still be appearing somewhere in the config files, because the redirect goes to here: 'https://localhost/oxauth/authorize?scope=openid+profile+email+user_name&response_type=code+id_token&nonce=nonce&redirect_uri=https%3A%2F%2Flocalhost%2Fidentity%2Fauthentication%2Fauthcode&client_id=%40!063B.8ACD.6C9D.B2C5!0001!072B.B96F!0008!28A0.CD7E' How can I change the hostname on my machine? Is this a general Linux setting problem or something specific to Gluu? I will try a few things on my end first.

By Michael Schwartz Account Admin 01 Dec 2015 at 9:25 p.m. CST

Michael Schwartz gravatar
You have to do a completely new installation... messing up the hostname is a big problem. Also, make sure this hostname is also available on both the server host (i.e. /etc/hosts and /opt/gluu-server/etc/hosts) and on your laptop (if windows, update c:\windows\system32\drivers\etc\hosts)

By Tim Biegeleisen user 01 Dec 2015 at 9:39 p.m. CST

Tim Biegeleisen gravatar
Can you direct me to a section of the online Gluu documentation which either describes how to configure the hostname, or which suggests some external resource which can do this?

By Michael Schwartz Account Admin 01 Dec 2015 at 9:43 p.m. CST

Michael Schwartz gravatar
Sorry, we don't have any basic unix or networking info. You can google this. You don't even need to use DNS... you can just use your hosts files.