By: Sanjeev Kumar user 31 May 2018 at 2:07 a.m. CDT

7 Responses
Sanjeev Kumar gravatar
Hi Gluu Team, After doing some testing, we are not able to start the gluu server services. We have reinstalled the gluu server 3.1.3 folling the steps given at https://gluu.org/docs/ce/installation-guide/install/ ). We ran the following commands to install the Gluu: 1. # echo "deb https://repo.gluu.org/ubuntu/ xenial main" > /etc/apt/sources.list.d/gluu-repo.list 2. # curl https://repo.gluu.org/ubuntu/gluu-apt.key | apt-key add - 3. # apt-get update 4. # apt-get install gluu-server-3.1.3, it installed successfully. But when we are trying to start the Gluu server with this command "service gluu-server-3.1.3 start", it gives the error mentioned below: Error: Job for gluu-server-3.1.3.service failed because the control process exited with error code. See "systemctl status gluu-server-3.1.3.service" and "journalctl -xe" for details. we have run the below command as an admin user,the command failed: #service gluu-server-3.1.3 start We Run theses two commands and result is pasted below #systemctl status gluu-server-3.1.3.service > gluu-status.txt #journalctl -xe > gluu-startjournal.txt ****************************************************************************** Subject: Unit gluu-server-3.1.3.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit gluu-server-3.1.3.service has begun starting up. May 31 11:00:24 authsso.aiims.edu gluu-server-3.1.3[6812]: Port address(es) :443 May 31 11:00:24 authsso.aiims.edu gluu-server-3.1.3[6812]: :80 already in use, May 31 11:00:24 authsso.aiims.edu gluu-server-3.1.3[6812]: Please stop the service(s) listening on one of :443 May 31 11:00:24 authsso.aiims.edu gluu-server-3.1.3[6812]: :80 ports and execute /etc/init.d/gluu-server-3.1.3 start May 31 11:00:24 authsso.aiims.edu systemd[1]: gluu-server-3.1.3.service: Control process exited, code=exited status=2 May 31 11:00:24 authsso.aiims.edu systemd[1]: Failed to start LSB: This shell script takes care of starting and stopping. -- Subject: Unit gluu-server-3.1.3.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit gluu-server-3.1.3.service has failed. -- -- The result is failed. -- -- The result is failed. May 31 11:00:24 authsso.aiims.edu systemd[1]: gluu-server-3.1.3.service: Unit entered failed state. May 31 11:00:24 authsso.aiims.edu systemd[1]: gluu-server-3.1.3.service: Failed with result 'exit-code'. ************************************************************************************ Please guide who to proceed next. Thanks

By Thomas Gasmyr Mougang staff 31 May 2018 at 3:38 a.m. CDT

Thomas Gasmyr Mougang gravatar
Hello Kumar, As you can see from the log, it seems that there is an exciting service running on port 443(which is the on Gluu server must use). Make sure that port is unused before running the command `service gluu-server-3.1.3 start`. To find out which service is using that port, run the below command: ``` # netstat -tulpn | grep 443 ``` Thanks, Gasmyr.

By Sanjeev Kumar user 31 May 2018 at 5:02 a.m. CDT

Sanjeev Kumar gravatar
This is the output coming after running that command which perhaps says that apache 2 is running on that port. # netstat -tulpn | grep 443 tcp6 0 0 :::443 :::* LISTEN 7913/apache2 Not able to kill that apache service.

By Thomas Gasmyr Mougang staff 31 May 2018 at 5:06 a.m. CDT

Thomas Gasmyr Mougang gravatar
Run these commands to achieve that: ``` #systemctl stop apache2 #systemctl disable apache2 ```

By Sanjeev Kumar user 31 May 2018 at 11:49 p.m. CDT

Sanjeev Kumar gravatar
Installation completed successfully with a message "Gluu Server installation successful! Point your browser to https://authsso@aiims.edu" but when we open it is web browser it shows "This page can’t be displayed". oxauth does not start. Whats went wrong , please guide.

By Mohib Zico Account Admin 01 Jun 2018 at 2:51 a.m. CDT

Mohib Zico gravatar
>> https://authsso@aiims.edu This is your FQDN? With `@` sign?

By Sanjeev Kumar user 01 Jun 2018 at 3:23 a.m. CDT

Sanjeev Kumar gravatar
no, its authsso.aiims.edu.

By Mohib Zico Account Admin 01 Jun 2018 at 3:28 a.m. CDT

Mohib Zico gravatar
Better... Seems like your 443 incoming is not open; please talk to your network admin: ``` ronin@roninx:~$ telnet authsso.aiims.edu 443 Trying 192.168.185.40... ^C ronin@roninx:~$ telnet 192.168.185.40 443 Trying 192.168.185.40... ^C ronin@roninx:~$ ```