By: Mohanish Sontakke user 21 Feb 2020 at 8:24 a.m. CST

4 Responses
Mohanish Sontakke gravatar
Hello, I have followed up the installation doc and went through all the steps to install the Gluu server 3.0.1 on our Linode. The installation went succesful. But, when I point that gluu server url in the browser its loads 'HTTP ERROR: 503 Service unavailable'. https://www.screencast.com/t/7ytkPZDU71ZF I am using the Windows PC. Please let me know what I am missing there. Also, which IP should I enter in the C:\Windows\System32\drivers\etc\hosts file? https://www.screencast.com/t/nEYu9DjuMluQ One more query I would like mention here is that after some period of time gluu server gets logged out. I want to increase that time period or it should be open till i manually stop it, then what steps I need to follow up? Thanks

By Aliaksandr Samuseu staff 21 Feb 2020 at 8:30 a.m. CST

Aliaksandr Samuseu gravatar
Hi, Mohanish. 3.0.1 is **very** old version that had a lot of issues on release, you certainly shoulnd't use it these days. Current version for Xenial is 4.0, that's the one you need. Please follow [this doc](https://gluu.org/docs/ce/4.0/installation-guide/install-ubuntu/) to install it.

By Mohanish Sontakke user 21 Feb 2020 at 8:59 a.m. CST

Mohanish Sontakke gravatar
Ok thanks Aliaksandr for the help :) I have few more queries below.. 1) I am using the Windows PC. Which IP should I enter in the C:\Windows\System32\drivers\etc\hosts file in order to work the gluu admin URL in the browser? https://www.screencast.com/t/nEYu9DjuMluQ 2) After some period of time gluu server gets logged out. I want to increase that time period or it should be open till i manually stop it, then what steps I need to follow up? Thanks

By Aliaksandr Samuseu staff 21 Feb 2020 at 1:08 p.m. CST

Aliaksandr Samuseu gravatar
1. You need to put ip address of the machine where you installed your Gluu Server in there, mapped to the hostname you provided when you were in interactive phase of running `setup.py` script during installation 2. I suppose you mean you are getting logged out from its own web UI? To increase its session duration, next steps are needed: - Stop "identity" service - Create temp dir and step inside it: `# mkdir editing_oxtrust_war; cd editing_oxtrust_war` - Unpack `web.xml` file from current archive: `# jar -xf /opt/gluu/jetty/identity/webapps/identity.war WEB-INF/web.xml` - Edit the file in place, at `WEB-INF/web.xml` path (with `vim` or `nano`); find `session-config` element in it and change its default value of "30" to desired time (in minutes) - Pack the edited file back into the archive: `# jar -uf /opt/gluu/jetty/identity/webapps/identity.war WEB-INF/web.xml` - Start the service again - Remove the temp dir: `# cd ..; rm -rf editing_oxtrust_war` Hope that answers it.

By Mohanish Sontakke user 25 Feb 2020 at 9:18 a.m. CST

Mohanish Sontakke gravatar
Hello, I went through the 4.0 version and now its showing following errors. Could you please suggest what is missing there? https://www.screencast.com/t/EHglnnip ------------------------------------------------- root@localhost:~# apt-get install gluu-server Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: gluu-server 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B/728 MB of archives. After this operation, 1,293 MB of additional disk space will be used. Selecting previously unselected package gluu-server. (Reading database ... 102673 files and directories currently installed.) Preparing to unpack .../gluu-server_4.0~xenial_amd64.deb ... Unpacking gluu-server (4.0~xenial) ... Setting up gluu-server (4.0~xenial) ... Starting gluu-server ... [....] Starting gluu-server (via systemctl): gluu-server.serviceJob for gluu-ser ver.service failed because the control process exited with error code. See "systemctl status gluu-server.service" and "journalctl -xe" for details. failed! dpkg: error processing package gluu-server (--configure): installed gluu-server package post-installation script subprocess returned erro r exit status 1 Processing triggers for systemd (237-3ubuntu10.39) ... Processing triggers for ureadahead (0.100.0-21) ... Errors were encountered while processing: gluu-server E: Sub-process /usr/bin/dpkg returned an error code (1)