By: Vijay Ram user 24 May 2017 at 1:35 p.m. CDT

10 Responses
Vijay Ram gravatar
I just did a fresh install of Gluu server on Ubuntu 14.04. I have followed all the installation steps correctly. At the end of installation (ie setup.py) when i tried to access console https://gluutesting.vj.com/identity/ i got below error on the web browser. I'm suspecting Jetty server is not UP because i don't see a java process for Jetty. Not sure how to troubleshoot this further. Please help !! Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.4.7 (Ubuntu) Server at gluutesting.vj.com Port 443

By Vijay Ram user 24 May 2017 at 1:46 p.m. CDT

Vijay Ram gravatar
Few things I tried based on information i found on this support site GLUU.root@localhost:/opt/gluu# **_service apache2 restart_** * Restarting web server apache2 [ OK ] GLUU.root@localhost:/opt/gluu# **_service oxauth restart_** Stopping Jetty: start-stop-daemon: warning: failed to kill 3517: No such process 1 pids were not killed No process in pidfile '/var/run/oxauth.pid' found running; none killed. OK Starting Jetty: . . . FAILED Wed May 24 18:43:52 UTC 2017 GLUU.root@localhost:/opt/gluu# **_service oxtrust restart_** oxtrust: unrecognized service GLUU.root@localhost:/opt/gluu#

By Aliaksandr Samuseu staff 24 May 2017 at 1:54 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Vijay. Please make sure machine which you used for installation conforms to [our requirements](https://gluu.org/docs/ce/installation-guide/) Please check the [logs page](https://gluu.org/docs/ce/operation/logs/#core-logs), and start gathering any clues from setup.py, oxAuth and oxTrust logs, like error messages, related warnings and such. Share your findings with us. We need you to provide full list of settings you chose when you were running `setup.py` script Please also provide output of next commands (in the container): 1. `# hostname` 2. `# cat /etc/hosts` 3. `# cat /etc/resolv.conf` 4. `# netstat -nlpt` 5. `# ps -aux | grep -i java` 6. `# ps -aux | grep -i solserver` 7. `# ifconfig` Next are run outside of the container on Gluu host: 1. `# dpkg -l|grep -i gluu-server` 2. `# cat /etc/*release` 3. `# free -m` 4. `# df -H` 5. `# iptables -L -n -v`

By Vijay Ram user 24 May 2017 at 1:59 p.m. CDT

Vijay Ram gravatar
**_Note: I will be responding to your questions in multiple posts. _** Below is response to setup.py related question: ``` GLUU.root@localhost:/install/community-edition-setup# ./setup.py Installing Gluu Server... Detected OS : ubuntu Detected init: init Detected Apache: 2.4 Installing Gluu Server... For more info see: ./setup.log ./setup_error.log ** All clear text passwords contained in ./setup.properties.last. Enter IP Address [10.128.0.2] : Enter hostname [localhost] : gluutesting.vj.com Enter your city or locality : Durham Enter your state or province two letter code : NC Enter two letter Country Code : US Enter Organization Name : VJ Enter email address for support at your organization : a.vijayram@gmail.com Enter maximum RAM for applications in MB [3072] : Optional: enter password for oxTrust and LDAP superuser [XXXXXXXXXXXX] : Install oxAuth OAuth2 Authorization Server? [Yes] : Install oxTrust Admin UI? [Yes] : Install LDAP Server? [Yes] : Install Apache HTTPD Server [Yes] : Install Shibboleth SAML IDP? [No] : Yes Install Asimba SAML Proxy? [No] : Install oxAuth RP? [No] : Install Passport? [No] : Yes Install JCE 1.8? [Yes] : You must accept the Oracle Binary Code License Agreement for the Java SE Platform Products to download this software. Accept License Agreement? [Yes] : hostname gluutesting.vj.com orgName VJ os ubuntu city Durham state NC countryCode US support email a.vijayram@gmail.com Applications max ram 3072 Admin Pass XXXXXXXXXXXX Install oxAuth True Install oxTrust True Install LDAP True Install JCE 1.8 True Install Apache 2 web server True Install Shibboleth SAML IDP True Install Asimba SAML Proxy False Install CAS False Install oxAuth RP False Install Passport True Proceed with these values [Y|n] Y Downloading JCE 1.8 zip file... Gluu Server installation successful! Point your browser to https://gluutesting.vj.com ```

By Aliaksandr Samuseu staff 24 May 2017 at 1:59 p.m. CDT

Aliaksandr Samuseu gravatar
Just a quick note: oxTrust's service is called `identity`. So you need command like this: `# service identity restart`

By Aliaksandr Samuseu staff 26 May 2017 at 4:45 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Vijay. Any updates?

By Vijay Ram user 26 May 2017 at 9:57 a.m. CDT

Vijay Ram gravatar
I have tried "service identity restart" and got below error. GLUU.root@gluutesting:~# service identity restart Stopping Jetty: start-stop-daemon: warning: failed to kill 3824: No such process 1 pids were not killed No process in pidfile '/var/run/identity.pid' found running; none killed. OK Starting Jetty: . . . . . . . . . FAILED Fri May 26 14:56:32 UTC 2017 My VM is not 4GB and 2 CPU. Do you think that will prevent from starting Jetty Server? I'm using Google Cloud VM. Thanks Vijay

By Vijay Ram user 26 May 2017 at 9:57 a.m. CDT

Vijay Ram gravatar
Which log file should i check for Jetty server errors ? Thanks Vijay

By Aliaksandr Samuseu staff 26 May 2017 at 11:43 a.m. CDT

Aliaksandr Samuseu gravatar
Just for your information, this message: >Starting Jetty: . . . . . . . . . FAILED Fri May 26 14:56:32 UTC 201 ..is not always points to a real issue. I've seen "FAILED" result sometimes when service just took too much time to start. What usually means your machine is not quite suited to host Gluu. >My VM is not 4GB and 2 CPU. Do you think that will prevent from starting Jetty Server? I'm using Google Cloud VM. Do you mean it has less than 4GB RAM? This is a minimal requirement and we can't guarantee anything if you can't meet it. Having at least 2 CPU cores is also required. Please make sure your machine meets those. We can't help you until it is. >Which log file should i check for Jetty server errors ? Please check logs doc page I provided in previous posts. You need to check oxAuth and oxTrust logs first of all, if you can't even access admin web UI.

By Vijay Ram user 27 May 2017 at 8:55 a.m. CDT

Vijay Ram gravatar
Update: After increasing memory,CPU and diskspace as per requirement, Gluu installation is successful now. Thank you very much for pointing me in the right direction. Thanks Vijay

By Aliaksandr Samuseu staff 27 May 2017 at 11:05 a.m. CDT

Aliaksandr Samuseu gravatar
Thanks for confirmation, Vijay, I'm glad it helped. Closing the ticket now.