Console Output
Started by timer
Building on master in workspace /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-6h17bUMcpaiR/agent.28914
SSH_AGENT_PID=28917
[ssh-agent] Started.
$ ssh-add /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_8258903828712355016.key
Identity added: /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_8258903828712355016.key (/home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_8258903828712355016.key)
[ssh-agent] Using credentials michal (GG test droplet restart)
$ ssh-add /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_4949004372663203115.key
Identity added: /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_4949004372663203115.key (/home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_4949004372663203115.key)
[ssh-agent] Using credentials root (Jenkins test node)
[workspace] $ /bin/sh -xe /opt/tomcat/temp/jenkins3772708252715087598.sh
+ ssh -o StrictHostKeyChecking=no -p 22222 michal@build.gluu.org
Pseudo-terminal will not be allocated because stdin is not a terminal.
Enter the name of distro:Selecting snapshot for trusty
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 38 0 0 100 38 0 184 --:--:-- --:--:-- --:--:-- 184
100 771 100 733 100 38 1343 69 --:--:-- --:--:-- --:--:-- 1342
{"action":{"id":539979644,"status":"in-progress","type":"restore","started_at":"2018-10-12T04:27:01Z","completed_at":null,"resource_id":89419874,"resource_type":"droplet","region":{"name":"New York 3","slug":"nyc3","sizes":["512mb","1gb","2gb","4gb","8gb","16gb","c-16","32gb","48gb","64gb","s-1vcpu-3gb","c-2","c-4","c-8","m-1vcpu-8gb","m-16gb","m-32gb","m-64gb","m-128gb","m-224gb","s-3vcpu-1gb","s-1vcpu-2gb","s-2vcpu-2gb","s-2vcpu-4gb","s-4vcpu-8gb","s-6vcpu-16gb","s-8vcpu-32gb","s-12vcpu-48gb","s-16vcpu-64gb","s-20vcpu-96gb","s-1vcpu-1gb","s-24vcpu-128gb","s-32vcpu-192gb","c-32"],"features":["private_networking","backups","ipv6","metadata","install_agent","storage","image_transfer"],"available":true},"region_slug":"nyc3"}}+ sleep 100
+ ssh -o StrictHostKeyChecking=no -p 22 root@104.131.18.41
Pseudo-terminal will not be allocated because stdin is not a terminal.
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-144-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Fri Oct 12 04:27:18 UTC 2018
System load: 0.0 Memory usage: 5% Processes: 54
Usage of /: 3.3% of 24.47GB Swap usage: 0% Users logged in: 0
Graph this data and manage this system at:
https://landscape.canonical.com/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
0 packages can be updated.
0 updates are security updates.
stdin: is not a tty
-bash: line 1: yum: command not found
--2018-10-12 04:28:42-- https://raw.githubusercontent.com/GluuFederation/gluu-gateway/master/tests/scripts/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.20.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.20.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8172 (8.0K) [text/plain]
Saving to: ‘install.sh’
0K ....... 100% 12.0M=0.001s
2018-10-12 04:28:42 (12.0 MB/s) - ‘install.sh’ saved [8172/8172]
Setting up swapspace version 1, size = 4194300 KiB
no label, UUID=a244e163-9d3c-4f90-9252-00693886b98a
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgl1-mesa-dri
libgl1-mesa-glx libglapi-mesa libice6 libllvm3.4 libpciaccess0 libpixman-1-0
libsm6 libtxc-dxtn-s2tc0 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0
libxcb-glx0 libxcb-present0 libxcb-sync1 libxdamage1 libxfixes3 libxfont1
libxkbfile1 libxmu6 libxpm4 libxshmfence1 libxt6 libxxf86vm1 x11-common
x11-xkb-utils xfonts-base xfonts-encodings xfonts-utils xserver-common
Suggested packages:
libglide3 xfs xserver
The following NEW packages will be installed:
libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgl1-mesa-dri
libgl1-mesa-glx libglapi-mesa libice6 libllvm3.4 libpciaccess0 libpixman-1-0
libsm6 libtxc-dxtn-s2tc0 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0
libxcb-glx0 libxcb-present0 libxcb-sync1 libxdamage1 libxfixes3 libxfont1
libxkbfile1 libxmu6 libxpm4 libxshmfence1 libxt6 libxxf86vm1 x11-common
x11-xkb-utils xfonts-base xfonts-encodings xfonts-utils xserver-common xvfb
0 upgraded, 36 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.5 MB of archives.
After this operation, 79.7 MB of additional disk space will be used.
Get:1 http://mirrors.digitalocean.com/ubuntu/ trusty/main libpciaccess0 amd64 0.13.2-1 [20.4 kB]
Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libdrm-intel1 amd64 2.4.67-1ubuntu0.14.04.2 [55.3 kB]
Get:3 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libdrm-nouveau2 amd64 2.4.67-1ubuntu0.14.04.2 [16.0 kB]
Get:4 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libdrm-radeon1 amd64 2.4.67-1ubuntu0.14.04.2 [21.2 kB]
Get:5 http://mirrors.digitalocean.com/ubuntu/ trusty/main libfontenc1 amd64 1:1.1.2-1 [15.6 kB]
Get:6 http://mirrors.digitalocean.com/ubuntu/ trusty/main libllvm3.4 amd64 1:3.4-1ubuntu3 [6,540 kB]
Get:7 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libgl1-mesa-dri amd64 10.1.3-0ubuntu0.6 [4,823 kB]
Get:8 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libglapi-mesa amd64 10.1.3-0ubuntu0.6 [21.0 kB]
Get:9 http://mirrors.digitalocean.com/ubuntu/ trusty/main libx11-xcb1 amd64 2:1.6.2-1ubuntu2 [9,426 B]
Get:10 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxcb-dri2-0 amd64 1.10-2ubuntu1 [6,710 B]
Get:11 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxcb-dri3-0 amd64 1.10-2ubuntu1 [5,118 B]
Get:12 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxcb-glx0 amd64 1.10-2ubuntu1 [20.0 kB]
Get:13 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxcb-present0 amd64 1.10-2ubuntu1 [5,254 B]
Get:14 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxcb-sync1 amd64 1.10-2ubuntu1 [8,090 B]
Get:15 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxdamage1 amd64 1:1.1.4-1ubuntu1 [7,612 B]
Get:16 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libxfixes3 amd64 1:5.0.1-1ubuntu1.1 [10.4 kB]
Get:17 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxshmfence1 amd64 1.1-2 [4,644 B]
Get:18 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxxf86vm1 amd64 1:1.1.3-1 [11.7 kB]
Get:19 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libgl1-mesa-glx amd64 10.1.3-0ubuntu0.6 [113 kB]
Get:20 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main x11-common all 1:7.7+1ubuntu8.1 [49.5 kB]
Get:21 http://mirrors.digitalocean.com/ubuntu/ trusty/main libice6 amd64 2:1.0.8-2 [47.0 kB]
Get:22 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libpixman-1-0 amd64 0.30.2-2ubuntu1.1 [225 kB]
Get:23 http://mirrors.digitalocean.com/ubuntu/ trusty/main libsm6 amd64 2:1.2.1-2 [18.1 kB]
Get:24 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxt6 amd64 1:1.1.4-1 [185 kB]
Get:25 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxmu6 amd64 2:1.1.1-1 [53.8 kB]
Get:26 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libxpm4 amd64 1:3.5.10-1ubuntu0.1 [33.2 kB]
Get:27 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxaw7 amd64 2:1.0.12-1 [168 kB]
Get:28 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libxfont1 amd64 1:1.4.7-1ubuntu0.4 [95.1 kB]
Get:29 http://mirrors.digitalocean.com/ubuntu/ trusty/main libxkbfile1 amd64 1:1.0.8-1 [74.2 kB]
Get:30 http://mirrors.digitalocean.com/ubuntu/ trusty/main libtxc-dxtn-s2tc0 amd64 0~git20131104-1.1 [51.8 kB]
Get:31 http://mirrors.digitalocean.com/ubuntu/ trusty/main x11-xkb-utils amd64 7.7+1 [156 kB]
Get:32 http://mirrors.digitalocean.com/ubuntu/ trusty/main xfonts-encodings all 1:1.0.4-1ubuntu1 [583 kB]
Get:33 http://mirrors.digitalocean.com/ubuntu/ trusty/main xfonts-utils amd64 1:7.7+1 [73.9 kB]
Get:34 http://mirrors.digitalocean.com/ubuntu/ trusty/main xfonts-base all 1:1.0.3 [6,180 kB]
Get:35 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main xserver-common all 2:1.15.1-0ubuntu2.11 [28.7 kB]
Get:36 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main xvfb amd64 2:1.15.1-0ubuntu2.11 [748 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 20.5 MB in 2s (7,748 kB/s)
Selecting previously unselected package libpciaccess0:amd64.
(Reading database ... 51620 files and directories currently installed.)
Preparing to unpack .../libpciaccess0_0.13.2-1_amd64.deb ...
Unpacking libpciaccess0:amd64 (0.13.2-1) ...
Selecting previously unselected package libdrm-intel1:amd64.
Preparing to unpack .../libdrm-intel1_2.4.67-1ubuntu0.14.04.2_amd64.deb ...
Unpacking libdrm-intel1:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Selecting previously unselected package libdrm-nouveau2:amd64.
Preparing to unpack .../libdrm-nouveau2_2.4.67-1ubuntu0.14.04.2_amd64.deb ...
Unpacking libdrm-nouveau2:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Selecting previously unselected package libdrm-radeon1:amd64.
Preparing to unpack .../libdrm-radeon1_2.4.67-1ubuntu0.14.04.2_amd64.deb ...
Unpacking libdrm-radeon1:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Selecting previously unselected package libfontenc1:amd64.
Preparing to unpack .../libfontenc1_1%3a1.1.2-1_amd64.deb ...
Unpacking libfontenc1:amd64 (1:1.1.2-1) ...
Selecting previously unselected package libllvm3.4:amd64.
Preparing to unpack .../libllvm3.4_1%3a3.4-1ubuntu3_amd64.deb ...
Unpacking libllvm3.4:amd64 (1:3.4-1ubuntu3) ...
Selecting previously unselected package libgl1-mesa-dri:amd64.
Preparing to unpack .../libgl1-mesa-dri_10.1.3-0ubuntu0.6_amd64.deb ...
Unpacking libgl1-mesa-dri:amd64 (10.1.3-0ubuntu0.6) ...
Selecting previously unselected package libglapi-mesa:amd64.
Preparing to unpack .../libglapi-mesa_10.1.3-0ubuntu0.6_amd64.deb ...
Unpacking libglapi-mesa:amd64 (10.1.3-0ubuntu0.6) ...
Selecting previously unselected package libx11-xcb1:amd64.
Preparing to unpack .../libx11-xcb1_2%3a1.6.2-1ubuntu2_amd64.deb ...
Unpacking libx11-xcb1:amd64 (2:1.6.2-1ubuntu2) ...
Selecting previously unselected package libxcb-dri2-0:amd64.
Preparing to unpack .../libxcb-dri2-0_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-dri2-0:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxcb-dri3-0:amd64.
Preparing to unpack .../libxcb-dri3-0_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-dri3-0:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxcb-glx0:amd64.
Preparing to unpack .../libxcb-glx0_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-glx0:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxcb-present0:amd64.
Preparing to unpack .../libxcb-present0_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-present0:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxcb-sync1:amd64.
Preparing to unpack .../libxcb-sync1_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-sync1:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxdamage1:amd64.
Preparing to unpack .../libxdamage1_1%3a1.1.4-1ubuntu1_amd64.deb ...
Unpacking libxdamage1:amd64 (1:1.1.4-1ubuntu1) ...
Selecting previously unselected package libxfixes3:amd64.
Preparing to unpack .../libxfixes3_1%3a5.0.1-1ubuntu1.1_amd64.deb ...
Unpacking libxfixes3:amd64 (1:5.0.1-1ubuntu1.1) ...
Selecting previously unselected package libxshmfence1:amd64.
Preparing to unpack .../libxshmfence1_1.1-2_amd64.deb ...
Unpacking libxshmfence1:amd64 (1.1-2) ...
Selecting previously unselected package libxxf86vm1:amd64.
Preparing to unpack .../libxxf86vm1_1%3a1.1.3-1_amd64.deb ...
Unpacking libxxf86vm1:amd64 (1:1.1.3-1) ...
Selecting previously unselected package libgl1-mesa-glx:amd64.
Preparing to unpack .../libgl1-mesa-glx_10.1.3-0ubuntu0.6_amd64.deb ...
Unpacking libgl1-mesa-glx:amd64 (10.1.3-0ubuntu0.6) ...
Selecting previously unselected package x11-common.
Preparing to unpack .../x11-common_1%3a7.7+1ubuntu8.1_all.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Unpacking x11-common (1:7.7+1ubuntu8.1) ...
Selecting previously unselected package libice6:amd64.
Preparing to unpack .../libice6_2%3a1.0.8-2_amd64.deb ...
Unpacking libice6:amd64 (2:1.0.8-2) ...
Selecting previously unselected package libpixman-1-0:amd64.
Preparing to unpack .../libpixman-1-0_0.30.2-2ubuntu1.1_amd64.deb ...
Unpacking libpixman-1-0:amd64 (0.30.2-2ubuntu1.1) ...
Selecting previously unselected package libsm6:amd64.
Preparing to unpack .../libsm6_2%3a1.2.1-2_amd64.deb ...
Unpacking libsm6:amd64 (2:1.2.1-2) ...
Selecting previously unselected package libxt6:amd64.
Preparing to unpack .../libxt6_1%3a1.1.4-1_amd64.deb ...
Unpacking libxt6:amd64 (1:1.1.4-1) ...
Selecting previously unselected package libxmu6:amd64.
Preparing to unpack .../libxmu6_2%3a1.1.1-1_amd64.deb ...
Unpacking libxmu6:amd64 (2:1.1.1-1) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../libxpm4_1%3a3.5.10-1ubuntu0.1_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.10-1ubuntu0.1) ...
Selecting previously unselected package libxaw7:amd64.
Preparing to unpack .../libxaw7_2%3a1.0.12-1_amd64.deb ...
Unpacking libxaw7:amd64 (2:1.0.12-1) ...
Selecting previously unselected package libxfont1:amd64.
Preparing to unpack .../libxfont1_1%3a1.4.7-1ubuntu0.4_amd64.deb ...
Unpacking libxfont1:amd64 (1:1.4.7-1ubuntu0.4) ...
Selecting previously unselected package libxkbfile1:amd64.
Preparing to unpack .../libxkbfile1_1%3a1.0.8-1_amd64.deb ...
Unpacking libxkbfile1:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libtxc-dxtn-s2tc0:amd64.
Preparing to unpack .../libtxc-dxtn-s2tc0_0~git20131104-1.1_amd64.deb ...
Unpacking libtxc-dxtn-s2tc0:amd64 (0~git20131104-1.1) ...
Selecting previously unselected package x11-xkb-utils.
Preparing to unpack .../x11-xkb-utils_7.7+1_amd64.deb ...
Unpacking x11-xkb-utils (7.7+1) ...
Selecting previously unselected package xfonts-encodings.
Preparing to unpack .../xfonts-encodings_1%3a1.0.4-1ubuntu1_all.deb ...
Unpacking xfonts-encodings (1:1.0.4-1ubuntu1) ...
Selecting previously unselected package xfonts-utils.
Preparing to unpack .../xfonts-utils_1%3a7.7+1_amd64.deb ...
Unpacking xfonts-utils (1:7.7+1) ...
Selecting previously unselected package xfonts-base.
Preparing to unpack .../xfonts-base_1%3a1.0.3_all.deb ...
Unpacking xfonts-base (1:1.0.3) ...
Selecting previously unselected package xserver-common.
Preparing to unpack .../xserver-common_2%3a1.15.1-0ubuntu2.11_all.deb ...
Unpacking xserver-common (2:1.15.1-0ubuntu2.11) ...
Selecting previously unselected package xvfb.
Preparing to unpack .../xvfb_2%3a1.15.1-0ubuntu2.11_amd64.deb ...
Unpacking xvfb (2:1.15.1-0ubuntu2.11) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libpciaccess0:amd64 (0.13.2-1) ...
Setting up libdrm-intel1:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Setting up libdrm-nouveau2:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Setting up libdrm-radeon1:amd64 (2.4.67-1ubuntu0.14.04.2) ...
Setting up libfontenc1:amd64 (1:1.1.2-1) ...
Setting up libllvm3.4:amd64 (1:3.4-1ubuntu3) ...
Setting up libgl1-mesa-dri:amd64 (10.1.3-0ubuntu0.6) ...
Setting up libglapi-mesa:amd64 (10.1.3-0ubuntu0.6) ...
Setting up libx11-xcb1:amd64 (2:1.6.2-1ubuntu2) ...
Setting up libxcb-dri2-0:amd64 (1.10-2ubuntu1) ...
Setting up libxcb-dri3-0:amd64 (1.10-2ubuntu1) ...
Setting up libxcb-glx0:amd64 (1.10-2ubuntu1) ...
Setting up libxcb-present0:amd64 (1.10-2ubuntu1) ...
Setting up libxcb-sync1:amd64 (1.10-2ubuntu1) ...
Setting up libxdamage1:amd64 (1:1.1.4-1ubuntu1) ...
Setting up libxfixes3:amd64 (1:5.0.1-1ubuntu1.1) ...
Setting up libxshmfence1:amd64 (1.1-2) ...
Setting up libxxf86vm1:amd64 (1:1.1.3-1) ...
Setting up libgl1-mesa-glx:amd64 (10.1.3-0ubuntu0.6) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
Setting up x11-common (1:7.7+1ubuntu8.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
* Setting up X socket directories...
...done.
Setting up libpixman-1-0:amd64 (0.30.2-2ubuntu1.1) ...
Setting up libxpm4:amd64 (1:3.5.10-1ubuntu0.1) ...
Setting up libxfont1:amd64 (1:1.4.7-1ubuntu0.4) ...
Setting up libxkbfile1:amd64 (1:1.0.8-1) ...
Setting up libtxc-dxtn-s2tc0:amd64 (0~git20131104-1.1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0 to provide /usr/lib/x86_64-linux-gnu/libtxc_dxtn.so (libtxc-dxtn-x86_64-linux-gnu) in auto mode
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libice6:amd64 (2:1.0.8-2) ...
Setting up libsm6:amd64 (2:1.2.1-2) ...
Setting up libxt6:amd64 (1:1.1.4-1) ...
Setting up libxmu6:amd64 (2:1.1.1-1) ...
Setting up libxaw7:amd64 (2:1.0.12-1) ...
Setting up x11-xkb-utils (7.7+1) ...
Setting up xfonts-encodings (1:1.0.4-1ubuntu1) ...
Setting up xfonts-utils (1:7.7+1) ...
Setting up xfonts-base (1:1.0.3) ...
Setting up xserver-common (2:1.15.1-0ubuntu2.11) ...
Setting up xvfb (2:1.15.1-0ubuntu2.11) ...
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3112 100 3112 0 0 150k 0 --:--:-- --:--:-- --:--:-- 151k
OK
OK
## Installing the NodeSource Node.js 8.x LTS Carbon repo...
## Populating apt-get cache...
+ apt-get update
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:2 http://security.ubuntu.com trusty-security/main Sources [165 kB]
Get:3 http://security.ubuntu.com trusty-security/universe Sources [84.2 kB]
Get:4 http://security.ubuntu.com trusty-security/main amd64 Packages [777 kB]
Ign http://mirrors.digitalocean.com trusty InRelease
Get:5 http://security.ubuntu.com trusty-security/universe amd64 Packages [262 kB]
Get:6 http://mirrors.digitalocean.com trusty-updates InRelease [65.9 kB]
Get:7 http://security.ubuntu.com trusty-security/main Translation-en [418 kB]
Get:8 http://apt.postgresql.org trusty-pgdg InRelease [61.4 kB]
Get:9 http://security.ubuntu.com trusty-security/universe Translation-en [141 kB]
Hit http://mirrors.digitalocean.com trusty-backports InRelease
Hit http://mirrors.digitalocean.com trusty Release.gpg
Ign https://repo.gluu.org trusty-devel InRelease
Get:10 http://mirrors.digitalocean.com trusty-updates/main Sources [424 kB]
Ign https://repo.gluu.org trusty-devel/main Translation-en_US
Ign https://repo.gluu.org trusty-devel/main Translation-en
Get:11 http://mirrors.digitalocean.com trusty-updates/restricted Sources [6,322 B]
Get:12 http://mirrors.digitalocean.com trusty-updates/universe Sources [213 kB]
Get:13 http://apt.postgresql.org trusty-pgdg/main amd64 Packages [109 kB]
Get:14 http://mirrors.digitalocean.com trusty-updates/multiverse Sources [7,443 B]
Get:15 http://mirrors.digitalocean.com trusty-updates/main amd64 Packages [1,112 kB]
Get:16 http://mirrors.digitalocean.com trusty-updates/restricted amd64 Packages [17.2 kB]
Get:17 http://mirrors.digitalocean.com trusty-updates/universe amd64 Packages [492 kB]
Get:18 http://mirrors.digitalocean.com trusty-updates/multiverse amd64 Packages [14.6 kB]
Get:19 http://mirrors.digitalocean.com trusty-updates/main Translation-en [552 kB]
Get:20 http://mirrors.digitalocean.com trusty-updates/multiverse Translation-en [7,616 B]
Get:21 http://mirrors.digitalocean.com trusty-updates/restricted Translation-en [4,021 B]
Get:22 http://mirrors.digitalocean.com trusty-updates/universe Translation-en [262 kB]
Get:23 http://mirrors.digitalocean.com trusty-backports/main Sources [9,709 B]
Get:24 http://mirrors.digitalocean.com trusty-backports/restricted Sources [28 B]
Get:25 http://mirrors.digitalocean.com trusty-backports/universe Sources [35.4 kB]
Get:26 http://mirrors.digitalocean.com trusty-backports/multiverse Sources [1,896 B]
Hit http://mirrors.digitalocean.com trusty-backports/main amd64 Packages
Ign http://apt.postgresql.org trusty-pgdg/main Translation-en_US
Hit http://mirrors.digitalocean.com trusty-backports/restricted amd64 Packages
Ign http://apt.postgresql.org trusty-pgdg/main Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/universe amd64 Packages
Hit http://mirrors.digitalocean.com trusty-backports/multiverse amd64 Packages
Hit http://mirrors.digitalocean.com trusty-backports/main Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/multiverse Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/restricted Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/universe Translation-en
Hit http://mirrors.digitalocean.com trusty Release
Get:27 http://mirrors.digitalocean.com trusty/main Sources [1,064 kB]
Get:28 http://mirrors.digitalocean.com trusty/restricted Sources [5,433 B]
Get:29 http://mirrors.digitalocean.com trusty/universe Sources [6,399 kB]
Get:30 http://mirrors.digitalocean.com trusty/multiverse Sources [174 kB]
Hit http://mirrors.digitalocean.com trusty/main amd64 Packages
Hit http://mirrors.digitalocean.com trusty/restricted amd64 Packages
Hit http://mirrors.digitalocean.com trusty/universe amd64 Packages
Hit http://mirrors.digitalocean.com trusty/multiverse amd64 Packages
Hit http://mirrors.digitalocean.com trusty/main Translation-en
Hit http://mirrors.digitalocean.com trusty/multiverse Translation-en
Hit http://mirrors.digitalocean.com trusty/restricted Translation-en
Hit http://mirrors.digitalocean.com trusty/universe Translation-en
Ign http://mirrors.digitalocean.com trusty/main Translation-en_US
Ign http://mirrors.digitalocean.com trusty/multiverse Translation-en_US
Ign http://mirrors.digitalocean.com trusty/restricted Translation-en_US
Ign http://mirrors.digitalocean.com trusty/universe Translation-en_US
Fetched 13.0 MB in 6s (2,068 kB/s)
Reading package lists...
## Confirming "trusty" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_8.x/dists/trusty/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
## Creating apt sources list file for the NodeSource Node.js 8.x LTS Carbon repo...
+ echo 'deb https://deb.nodesource.com/node_8.x trusty main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_8.x trusty main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit http://apt.postgresql.org trusty-pgdg InRelease
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://apt.postgresql.org trusty-pgdg/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Ign http://apt.postgresql.org trusty-pgdg/main Translation-en_US
Ign http://apt.postgresql.org trusty-pgdg/main Translation-en
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://mirrors.digitalocean.com trusty InRelease
Hit http://mirrors.digitalocean.com trusty-updates InRelease
Hit http://mirrors.digitalocean.com trusty-backports InRelease
Hit http://mirrors.digitalocean.com trusty Release.gpg
Hit http://mirrors.digitalocean.com trusty-updates/main Sources
Get:1 https://deb.nodesource.com trusty InRelease
Get:2 https://deb.nodesource.com trusty/main Sources
Hit http://mirrors.digitalocean.com trusty-updates/restricted Sources
Get:3 https://deb.nodesource.com trusty/main amd64 Packages
Ign https://repo.gluu.org trusty-devel InRelease
Hit https://repo.gluu.org trusty-devel Release.gpg
Hit https://repo.gluu.org trusty-devel Release
Get:4 https://deb.nodesource.com trusty/main Translation-en_US
Hit https://repo.gluu.org trusty-devel/main amd64 Packages
Ign https://repo.gluu.org trusty-devel/main Translation-en_US
Ign https://repo.gluu.org trusty-devel/main Translation-en
Hit http://mirrors.digitalocean.com trusty-updates/universe Sources
Ign https://deb.nodesource.com trusty/main Translation-en_US
Ign https://deb.nodesource.com trusty/main Translation-en
Hit http://mirrors.digitalocean.com trusty-updates/multiverse Sources
Hit http://mirrors.digitalocean.com trusty-updates/main amd64 Packages
Hit http://mirrors.digitalocean.com trusty-updates/restricted amd64 Packages
Hit http://mirrors.digitalocean.com trusty-updates/universe amd64 Packages
Hit http://mirrors.digitalocean.com trusty-updates/multiverse amd64 Packages
Hit http://mirrors.digitalocean.com trusty-updates/main Translation-en
Hit http://mirrors.digitalocean.com trusty-updates/multiverse Translation-en
Hit http://mirrors.digitalocean.com trusty-updates/restricted Translation-en
Hit http://mirrors.digitalocean.com trusty-updates/universe Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/main Sources
Hit http://mirrors.digitalocean.com trusty-backports/restricted Sources
Hit http://mirrors.digitalocean.com trusty-backports/universe Sources
Hit http://mirrors.digitalocean.com trusty-backports/multiverse Sources
Hit http://mirrors.digitalocean.com trusty-backports/main amd64 Packages
Hit http://mirrors.digitalocean.com trusty-backports/restricted amd64 Packages
Hit http://mirrors.digitalocean.com trusty-backports/universe amd64 Packages
Hit http://mirrors.digitalocean.com trusty-backports/multiverse amd64 Packages
Hit http://mirrors.digitalocean.com trusty-backports/main Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/multiverse Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/restricted Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/universe Translation-en
Hit http://mirrors.digitalocean.com trusty Release
Hit http://mirrors.digitalocean.com trusty/main Sources
Hit http://mirrors.digitalocean.com trusty/restricted Sources
Hit http://mirrors.digitalocean.com trusty/universe Sources
Hit http://mirrors.digitalocean.com trusty/multiverse Sources
Hit http://mirrors.digitalocean.com trusty/main amd64 Packages
Hit http://mirrors.digitalocean.com trusty/restricted amd64 Packages
Hit http://mirrors.digitalocean.com trusty/universe amd64 Packages
Hit http://mirrors.digitalocean.com trusty/multiverse amd64 Packages
Hit http://mirrors.digitalocean.com trusty/main Translation-en
Hit http://mirrors.digitalocean.com trusty/multiverse Translation-en
Hit http://mirrors.digitalocean.com trusty/restricted Translation-en
Hit http://mirrors.digitalocean.com trusty/universe Translation-en
Ign http://mirrors.digitalocean.com trusty/main Translation-en_US
Ign http://mirrors.digitalocean.com trusty/multiverse Translation-en_US
Ign http://mirrors.digitalocean.com trusty/restricted Translation-en_US
Ign http://mirrors.digitalocean.com trusty/universe Translation-en_US
Fetched 6,411 B in 4s (1,503 B/s)
Reading package lists...
## Run `sudo apt-get install -y nodejs` to install Node.js 8.x LTS Carbon and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://apt.postgresql.org trusty-pgdg InRelease
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://mirrors.digitalocean.com trusty InRelease
Hit http://mirrors.digitalocean.com trusty-updates InRelease
Hit http://apt.postgresql.org trusty-pgdg/main amd64 Packages
Hit http://mirrors.digitalocean.com trusty-backports InRelease
Hit http://mirrors.digitalocean.com trusty Release.gpg
Hit https://deb.nodesource.com trusty InRelease
Hit https://deb.nodesource.com trusty/main Sources
Hit https://deb.nodesource.com trusty/main amd64 Packages
Hit http://mirrors.digitalocean.com trusty-updates/main Sources
Get:1 https://deb.nodesource.com trusty/main Translation-en_US
Ign https://deb.nodesource.com trusty/main Translation-en_US
Ign https://deb.nodesource.com trusty/main Translation-en
Ign https://repo.gluu.org trusty-devel InRelease
Hit https://repo.gluu.org trusty-devel Release.gpg
Hit https://repo.gluu.org trusty-devel Release
Hit http://mirrors.digitalocean.com trusty-updates/restricted Sources
Hit https://repo.gluu.org trusty-devel/main amd64 Packages
Ign https://repo.gluu.org trusty-devel/main Translation-en_US
Ign https://repo.gluu.org trusty-devel/main Translation-en
Hit http://mirrors.digitalocean.com trusty-updates/universe Sources
Hit http://mirrors.digitalocean.com trusty-updates/multiverse Sources
Ign http://apt.postgresql.org trusty-pgdg/main Translation-en_US
Hit http://mirrors.digitalocean.com trusty-updates/main amd64 Packages
Ign http://apt.postgresql.org trusty-pgdg/main Translation-en
Hit http://mirrors.digitalocean.com trusty-updates/restricted amd64 Packages
Hit http://mirrors.digitalocean.com trusty-updates/universe amd64 Packages
Hit http://mirrors.digitalocean.com trusty-updates/multiverse amd64 Packages
Hit http://mirrors.digitalocean.com trusty-updates/main Translation-en
Hit http://mirrors.digitalocean.com trusty-updates/multiverse Translation-en
Hit http://mirrors.digitalocean.com trusty-updates/restricted Translation-en
Hit http://mirrors.digitalocean.com trusty-updates/universe Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/main Sources
Hit http://mirrors.digitalocean.com trusty-backports/restricted Sources
Hit http://mirrors.digitalocean.com trusty-backports/universe Sources
Hit http://mirrors.digitalocean.com trusty-backports/multiverse Sources
Hit http://mirrors.digitalocean.com trusty-backports/main amd64 Packages
Hit http://mirrors.digitalocean.com trusty-backports/restricted amd64 Packages
Hit http://mirrors.digitalocean.com trusty-backports/universe amd64 Packages
Hit http://mirrors.digitalocean.com trusty-backports/multiverse amd64 Packages
Hit http://mirrors.digitalocean.com trusty-backports/main Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/multiverse Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/restricted Translation-en
Hit http://mirrors.digitalocean.com trusty-backports/universe Translation-en
Hit http://mirrors.digitalocean.com trusty Release
Hit http://mirrors.digitalocean.com trusty/main Sources
Hit http://mirrors.digitalocean.com trusty/restricted Sources
Hit http://mirrors.digitalocean.com trusty/universe Sources
Hit http://mirrors.digitalocean.com trusty/multiverse Sources
Hit http://mirrors.digitalocean.com trusty/main amd64 Packages
Hit http://mirrors.digitalocean.com trusty/restricted amd64 Packages
Hit http://mirrors.digitalocean.com trusty/universe amd64 Packages
Hit http://mirrors.digitalocean.com trusty/multiverse amd64 Packages
Hit http://mirrors.digitalocean.com trusty/main Translation-en
Hit http://mirrors.digitalocean.com trusty/multiverse Translation-en
Hit http://mirrors.digitalocean.com trusty/restricted Translation-en
Hit http://mirrors.digitalocean.com trusty/universe Translation-en
Ign http://mirrors.digitalocean.com trusty/main Translation-en_US
Ign http://mirrors.digitalocean.com trusty/multiverse Translation-en_US
Ign http://mirrors.digitalocean.com trusty/restricted Translation-en_US
Ign http://mirrors.digitalocean.com trusty/universe Translation-en_US
Reading package lists...
WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
git git-man kong-community-edition liberror-perl libpq5 libsensors4
libxslt1.1 lua-cjson nodejs oxd-server-3.1.4 pgdg-keyring postgresql
postgresql-10 postgresql-client-10 postgresql-client-common
postgresql-common ssl-cert sysstat unzip
Suggested packages:
git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-bzr git-cvs git-mediawiki git-svn lm-sensors
postgresql-doc locales-all postgresql-doc-10 libjson-perl openssl-blacklist
isag zip
The following NEW packages will be installed:
git git-man gluu-gateway kong-community-edition liberror-perl libpq5
libsensors4 libxslt1.1 lua-cjson nodejs oxd-server-3.1.4 pgdg-keyring
postgresql postgresql-10 postgresql-client-10 postgresql-client-common
postgresql-common ssl-cert sysstat unzip
0 upgraded, 20 newly installed, 0 to remove and 90 not upgraded.
Need to get 243 MB of archives.
After this operation, 382 MB of additional disk space will be used.
Get:1 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main libpq5 amd64 10.5-1.pgdg14.04+1 [164 kB]
Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty/main libsensors4 amd64 1:3.3.4-2ubuntu1 [27.2 kB]
Get:3 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libxslt1.1 amd64 1.1.28-2ubuntu0.1 [145 kB]
Get:4 http://mirrors.digitalocean.com/ubuntu/ trusty/universe lua-cjson amd64 2.1.0+dfsg-2 [29.0 kB]
Get:5 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main pgdg-keyring all 2018.1 [10.6 kB]
Get:6 http://mirrors.digitalocean.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:7 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main postgresql-client-common all 192.pgdg14.04+1 [82.5 kB]
Get:8 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.9 [701 kB]
Get:9 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main postgresql-client-10 amd64 10.5-1.pgdg14.04+1 [1,347 kB]
Get:10 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.9 [2,333 kB]
Get:11 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main postgresql-common all 192.pgdg14.04+1 [222 kB]
Get:12 http://mirrors.digitalocean.com/ubuntu/ trusty/main ssl-cert all 1.0.33 [16.6 kB]
Get:13 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main unzip amd64 6.0-9ubuntu1.5 [157 kB]
Get:14 http://mirrors.digitalocean.com/ubuntu/ trusty/main sysstat amd64 10.2.0-1 [283 kB]
Get:15 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main postgresql-10 amd64 10.5-1.pgdg14.04+1 [4,910 kB]
Get:16 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main postgresql all 10+192.pgdg14.04+1 [58.7 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 243 MB in 10s (24.2 MB/s)
Selecting previously unselected package libpq5:amd64.
(Reading database ... 52386 files and directories currently installed.)
Preparing to unpack .../libpq5_10.5-1.pgdg14.04+1_amd64.deb ...
[s[0;0f[42m[30mProgress: [ 0%][49m[39m [u[s[0;0f[42m[30mProgress: [ 1%][49m[39m [uUnpacking libpq5:amd64 (10.5-1.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 2%][49m[39m [u[s[0;0f[42m[30mProgress: [ 3%][49m[39m [uSelecting previously unselected package libsensors4:amd64.
Preparing to unpack .../libsensors4_1%3a3.3.4-2ubuntu1_amd64.deb ...
[s[0;0f[42m[30mProgress: [ 4%][49m[39m [uUnpacking libsensors4:amd64 (1:3.3.4-2ubuntu1) ...
[s[0;0f[42m[30mProgress: [ 5%][49m[39m [u[s[0;0f[42m[30mProgress: [ 6%][49m[39m [uSelecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../libxslt1.1_1.1.28-2ubuntu0.1_amd64.deb ...
[s[0;0f[42m[30mProgress: [ 7%][49m[39m [uUnpacking libxslt1.1:amd64 (1.1.28-2ubuntu0.1) ...
[s[0;0f[42m[30mProgress: [ 8%][49m[39m [u[s[0;0f[42m[30mProgress: [ 9%][49m[39m [uSelecting previously unselected package lua-cjson:amd64.
Preparing to unpack .../lua-cjson_2.1.0+dfsg-2_amd64.deb ...
[s[0;0f[42m[30mProgress: [ 10%][49m[39m [uUnpacking lua-cjson:amd64 (2.1.0+dfsg-2) ...
[s[0;0f[42m[30mProgress: [ 11%][49m[39m [u[s[0;0f[42m[30mProgress: [ 12%][49m[39m [uSelecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
[s[0;0f[42m[30mProgress: [ 13%][49m[39m [uUnpacking liberror-perl (0.17-1.1) ...
[s[0;0f[42m[30mProgress: [ 14%][49m[39m [u[s[0;0f[42m[30mProgress: [ 15%][49m[39m [uSelecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.9_all.deb ...
[s[0;0f[42m[30mProgress: [ 16%][49m[39m [uUnpacking git-man (1:1.9.1-1ubuntu0.9) ...
[s[0;0f[42m[30mProgress: [ 17%][49m[39m [u[s[0;0f[42m[30mProgress: [ 18%][49m[39m [uSelecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.9_amd64.deb ...
[s[0;0f[42m[30mProgress: [ 19%][49m[39m [uUnpacking git (1:1.9.1-1ubuntu0.9) ...
[s[0;0f[42m[30mProgress: [ 20%][49m[39m [u[s[0;0f[42m[30mProgress: [ 21%][49m[39m [uSelecting previously unselected package pgdg-keyring.
Preparing to unpack .../pgdg-keyring_2018.1_all.deb ...
[s[0;0f[42m[30mProgress: [ 22%][49m[39m [uUnpacking pgdg-keyring (2018.1) ...
[s[0;0f[42m[30mProgress: [ 23%][49m[39m [u[s[0;0f[42m[30mProgress: [ 24%][49m[39m [uSelecting previously unselected package postgresql-client-common.
Preparing to unpack .../postgresql-client-common_192.pgdg14.04+1_all.deb ...
[s[0;0f[42m[30mProgress: [ 25%][49m[39m [uUnpacking postgresql-client-common (192.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 26%][49m[39m [u[s[0;0f[42m[30mProgress: [ 27%][49m[39m [uSelecting previously unselected package postgresql-client-10.
Preparing to unpack .../postgresql-client-10_10.5-1.pgdg14.04+1_amd64.deb ...
[s[0;0f[42m[30mProgress: [ 28%][49m[39m [uUnpacking postgresql-client-10 (10.5-1.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 29%][49m[39m [u[s[0;0f[42m[30mProgress: [ 30%][49m[39m [uSelecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-cert_1.0.33_all.deb ...
[s[0;0f[42m[30mProgress: [ 31%][49m[39m [uUnpacking ssl-cert (1.0.33) ...
[s[0;0f[42m[30mProgress: [ 32%][49m[39m [u[s[0;0f[42m[30mProgress: [ 33%][49m[39m [uSelecting previously unselected package postgresql-common.
Preparing to unpack .../postgresql-common_192.pgdg14.04+1_all.deb ...
[s[0;0f[42m[30mProgress: [ 34%][49m[39m [uAdding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
Unpacking postgresql-common (192.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 35%][49m[39m [u[s[0;0f[42m[30mProgress: [ 36%][49m[39m [uSelecting previously unselected package postgresql-10.
Preparing to unpack .../postgresql-10_10.5-1.pgdg14.04+1_amd64.deb ...
[s[0;0f[42m[30mProgress: [ 37%][49m[39m [uUnpacking postgresql-10 (10.5-1.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 38%][49m[39m [u[s[0;0f[42m[30mProgress: [ 39%][49m[39m [uSelecting previously unselected package postgresql.
Preparing to unpack .../postgresql_10+192.pgdg14.04+1_all.deb ...
[s[0;0f[42m[30mProgress: [ 40%][49m[39m [uUnpacking postgresql (10+192.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 41%][49m[39m [u[s[0;0f[42m[30mProgress: [ 42%][49m[39m [uSelecting previously unselected package oxd-server-3.1.4.
Preparing to unpack .../oxd-server-3.1.4_1-40~trusty+Ub14.04_all.deb ...
[s[0;0f[42m[30mProgress: [ 43%][49m[39m [uUnpacking oxd-server-3.1.4 (1-40~trusty+Ub14.04) ...
[s[0;0f[42m[30mProgress: [ 44%][49m[39m [u[s[0;0f[42m[30mProgress: [ 45%][49m[39m [uSelecting previously unselected package nodejs.
Preparing to unpack .../nodejs_8.12.0-1nodesource1_amd64.deb ...
[s[0;0f[42m[30mProgress: [ 46%][49m[39m [uUnpacking nodejs (8.12.0-1nodesource1) ...
[s[0;0f[42m[30mProgress: [ 47%][49m[39m [u[s[0;0f[42m[30mProgress: [ 48%][49m[39m [uSelecting previously unselected package unzip.
Preparing to unpack .../unzip_6.0-9ubuntu1.5_amd64.deb ...
[s[0;0f[42m[30mProgress: [ 49%][49m[39m [uUnpacking unzip (6.0-9ubuntu1.5) ...
[s[0;0f[42m[30mProgress: [ 50%][49m[39m [u[s[0;0f[42m[30mProgress: [ 51%][49m[39m [uSelecting previously unselected package kong-community-edition.
Preparing to unpack .../kong-community-edition_0.11.0_all.deb ...
[s[0;0f[42m[30mProgress: [ 52%][49m[39m [uUnpacking kong-community-edition (0.11.0) ...
[s[0;0f[42m[30mProgress: [ 54%][49m[39m [uSelecting previously unselected package gluu-gateway.
Preparing to unpack .../gluu-gateway_3.1.4-172~trusty+Ub14.04_amd64.deb ...
[s[0;0f[42m[30mProgress: [ 55%][49m[39m [uUnpacking gluu-gateway (3.1.4-172~trusty+Ub14.04) ...
[s[0;0f[42m[30mProgress: [ 56%][49m[39m [u[s[0;0f[42m[30mProgress: [ 57%][49m[39m [uSelecting previously unselected package sysstat.
Preparing to unpack .../sysstat_10.2.0-1_amd64.deb ...
[s[0;0f[42m[30mProgress: [ 58%][49m[39m [uUnpacking sysstat (10.2.0-1) ...
[s[0;0f[42m[30mProgress: [ 60%][49m[39m [uProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Setting up libpq5:amd64 (10.5-1.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 61%][49m[39m [u[s[0;0f[42m[30mProgress: [ 62%][49m[39m [uSetting up libsensors4:amd64 (1:3.3.4-2ubuntu1) ...
[s[0;0f[42m[30mProgress: [ 63%][49m[39m [u[s[0;0f[42m[30mProgress: [ 64%][49m[39m [uSetting up libxslt1.1:amd64 (1.1.28-2ubuntu0.1) ...
[s[0;0f[42m[30mProgress: [ 65%][49m[39m [u[s[0;0f[42m[30mProgress: [ 66%][49m[39m [uSetting up lua-cjson:amd64 (2.1.0+dfsg-2) ...
[s[0;0f[42m[30mProgress: [ 67%][49m[39m [u[s[0;0f[42m[30mProgress: [ 68%][49m[39m [uSetting up liberror-perl (0.17-1.1) ...
[s[0;0f[42m[30mProgress: [ 69%][49m[39m [u[s[0;0f[42m[30mProgress: [ 70%][49m[39m [uSetting up git-man (1:1.9.1-1ubuntu0.9) ...
[s[0;0f[42m[30mProgress: [ 71%][49m[39m [u[s[0;0f[42m[30mProgress: [ 72%][49m[39m [uSetting up git (1:1.9.1-1ubuntu0.9) ...
[s[0;0f[42m[30mProgress: [ 73%][49m[39m [u[s[0;0f[42m[30mProgress: [ 74%][49m[39m [uSetting up pgdg-keyring (2018.1) ...
[s[0;0f[42m[30mProgress: [ 75%][49m[39m [uRemoving apt.postgresql.org key from trusted.gpg: OK
[s[0;0f[42m[30mProgress: [ 76%][49m[39m [uSetting up postgresql-client-common (192.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 77%][49m[39m [u[s[0;0f[42m[30mProgress: [ 78%][49m[39m [uSetting up postgresql-client-10 (10.5-1.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 79%][49m[39m [uupdate-alternatives: using /usr/share/postgresql/10/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
[s[0;0f[42m[30mProgress: [ 80%][49m[39m [uSetting up ssl-cert (1.0.33) ...
[s[0;0f[42m[30mProgress: [ 81%][49m[39m [udebconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
[s[0;0f[42m[30mProgress: [ 82%][49m[39m [uSetting up postgresql-common (192.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 83%][49m[39m [udebconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Adding user postgres to group ssl-cert
Creating config file /etc/postgresql-common/createcluster.conf with new version
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
* No PostgreSQL clusters exist; see "man pg_createcluster"
Setting up oxd-server-3.1.4 (1-40~trusty+Ub14.04) ...
[s[0;0f[42m[30mProgress: [ 84%][49m[39m [uSetting up nodejs (8.12.0-1nodesource1) ...
[s[0;0f[42m[30mProgress: [ 85%][49m[39m [u[s[0;0f[42m[30mProgress: [ 86%][49m[39m [uSetting up unzip (6.0-9ubuntu1.5) ...
[s[0;0f[42m[30mProgress: [ 87%][49m[39m [u[s[0;0f[42m[30mProgress: [ 88%][49m[39m [uSetting up kong-community-edition (0.11.0) ...
[s[0;0f[42m[30mProgress: [ 89%][49m[39m [u[s[0;0f[42m[30mProgress: [ 90%][49m[39m [uSetting up sysstat (10.2.0-1) ...
[s[0;0f[42m[30mProgress: [ 91%][49m[39m [udebconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Creating config file /etc/default/sysstat with new version
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
Processing triggers for ureadahead (0.100.0-16) ...
[s[0;0f[42m[30mProgress: [ 92%][49m[39m [u[s[0;0f[42m[30mProgress: [ 93%][49m[39m [u[s[0;0f[42m[30mProgress: [ 94%][49m[39m [uSetting up postgresql-10 (10.5-1.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 95%][49m[39m [udebconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Creating new PostgreSQL cluster 10/main ...
/usr/lib/postgresql/10/bin/initdb -D /var/lib/postgresql/10/main --auth-local peer --auth-host md5
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/10/main ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
Success. You can now start the database server using:
/usr/lib/postgresql/10/bin/pg_ctl -D /var/lib/postgresql/10/main -l logfile start
Ver Cluster Port Status Owner Data directory Log file
10 main 5432 down postgres /var/lib/postgresql/10/main /var/log/postgresql/postgresql-10-main.log
update-alternatives: using /usr/share/postgresql/10/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
* Starting PostgreSQL 10 database server
...done.
[s[0;0f[42m[30mProgress: [ 96%][49m[39m [uSetting up postgresql (10+192.pgdg14.04+1) ...
[s[0;0f[42m[30mProgress: [ 97%][49m[39m [u[s[0;0f[42m[30mProgress: [ 98%][49m[39m [uSetting up gluu-gateway (3.1.4-172~trusty+Ub14.04) ...
[s[0;0f[42m[30mProgress: [ 99%][49m[39m [u Adding system startup for /etc/init.d/kong ...
/etc/rc0.d/K20kong -> ../init.d/kong
/etc/rc1.d/K20kong -> ../init.d/kong
/etc/rc6.d/K20kong -> ../init.d/kong
/etc/rc2.d/S20kong -> ../init.d/kong
/etc/rc3.d/S20kong -> ../init.d/kong
/etc/rc4.d/S20kong -> ../init.d/kong
/etc/rc5.d/S20kong -> ../init.d/kong
Adding system startup for /etc/init.d/konga ...
/etc/rc0.d/K20konga -> ../init.d/konga
/etc/rc1.d/K20konga -> ../init.d/konga
/etc/rc6.d/K20konga -> ../init.d/konga
/etc/rc2.d/S20konga -> ../init.d/konga
/etc/rc3.d/S20konga -> ../init.d/konga
/etc/rc4.d/S20konga -> ../init.d/konga
/etc/rc5.d/S20konga -> ../init.d/konga
konga is not running ...
kong is not running ...
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
Processing triggers for ureadahead (0.100.0-16) ...
[s[0;0f[42m[30mProgress: [100%][49m[39m [uALTER ROLE
CREATE DATABASE
CREATE DATABASE
SET
SET
SET
SET
SET
set_config
------------
(1 row)
SET
SET
SET
CREATE EXTENSION
COMMENT
SET
SET
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
COPY 0
DELETE 0
COPY 3
DELETE 0
COPY 1
COPY 0
COPY 0
DELETE 0
COPY 1
COPY 0
setval
--------
1
(1 row)
setval
--------
3
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
DO
DO
DO
DO
DO
DO
DO
DO
DO
DO
DO
DO
----------------------- -----------------------
hostname dev1.gluu.org
orgName Test
city Test
state Test
country TS
Configure oxd-server True
oxd https url https://localhost:8443
OP hostname https://ce-dev6.gluu.org
License Id b9d9140e-0732-4a96-b4be-215597377a10
Public key 47SbaB5bmXBXpKWgtMGNot9CIN++xJITnqlOsCRsQA4swMFwPeSIBIyPqSPB0qBGBCvI9ER0FTYqH9z6XnRJ1txNdzc0voY/SDGw+OQe0emC3HgXax0+lR4JsYkuQ3C+cnfqyunHQgnwDVcx4fS0MvxWewu03q9ppc1UlImNe7nesm3tzP0dsvVkEMeAWyEbrsu58JzUmFDGDzl0sVKjtBs+czf1ETWd48q5a3IDq5DNSbT4E4Hr3dmLz72nEPBr9Bsoqik4wWiGl8YMa9w4BZiKZQjoIfvboxSwhJRy1kKCEzi/kJqLX6EZ/cCUw8fgn/Xu2Kaov8CI7dtOSi3DqKWQbcDdRpoZJTas+6uyux4tMzZPnblfYnlPaDJRBt9WOgL4SWBdoukw9/QXubXSEA==
Public password 3Rczv1eJ0sDnFOGLLEkX
License password a7rkv7VCFOum40eFtfbL
Generate client creds True
Configuring postgres...
Installing konga node packages...
Creating konga oxd client used to call oxd-https endpoints...
Gluu Gateway configuration successful!!! https://localhost:1338
--------------------------------/var/log/konga.log-----------------------------------------
No DB Adapter defined. Using localDB...
Hook:api_health_checks:process() called
Hook:health_checks:process() called
Hook:user_events_hook:process() called
Kongnode had models, so no seed needed
Emailtransport had models, so no seed needed
.-..-.
Sails <| .-..-.
v0.12.14 |\
/|.\
/ || \
,' |' \
.-'.-==|/_--'
`--'-------'
__---___--___---___--___---___--___
____---___--___---___--___---___--___-__
Server lifted in `/opt/gluu-gateway/konga`
To see your app, visit https://0.0.0.0:1338
To shut down Sails, press <CTRL> + C at any time.
-------------------------------------------------------
:: Fri Oct 12 2018 04:31:06 GMT+0000 (UTC)
Environment : production
Host : 0.0.0.0
Port : 1338
-------------------------------------------------------
--------------------------------/var/log/oxd-server/oxd-server.log----------------------------------------
2018-10-12 04:29:54,361 INFO [org.xdi.oxd.server.ServerLauncher] Starting...
2018-10-12 04:29:54,373 INFO [org.xdi.oxd.server.ServerLauncher] commit: 396a371fd0f4fdab30ddbc0b878958ef4a3597c4, branch: origin/version_3.1.4, build time:06.10.2018 @ 12:43:42 EDT
2018-10-12 04:29:56,239 TRACE [org.xdi.oxd.server.service.ConfigurationService] Try to load configuration from system property: oxd.server.config, value: /etc/oxd/oxd-server/oxd-conf.json
2018-10-12 04:29:57,154 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration loaded successfully from system property: oxd.server.config.
2018-10-12 04:29:57,156 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration: Configuration{port=8099, timeOutInSeconds=0, registerClientAppType='web', registerClientResponesType='code', localhostOnly=true, useClientAuthenticationForPat=true, trustAllCerts=true, keyStorePath='', keyStorePassword='', cryptProviderKeyStorePath='', cryptProviderKeyStorePassword='', cryptProviderDnName='', supportGoogleLogout=true, stateExpirationInMinutes=5, nonceExpirationInMinutes=5, publicOpKeyCacheExpirationInMinutes=60, protectCommandsWithAccessToken=false, uma2AuthRegisterClaimsGatheringEndpointAsRedirectUriOfClient=true, migrationSourceFolderPath='', storage='h2', storageConfiguration={"dbFileLocation":"/opt/oxd-server/data/oxd_db"}}
2018-10-12 04:29:57,156 TRACE [org.xdi.oxd.server.service.ConfigurationService] Trying to read oxd-default-site-config.json, path: /etc/oxd/oxd-server/oxd-default-site-config.json
2018-10-12 04:29:57,727 INFO [org.xdi.oxd.server.service.ConfigurationService] Default RP configuration loaded successfully: Rp{oxdId='null', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='oxauth/.well-known/openid-configuration', idToken='null', accessToken='null', authorizationRedirectUri='null', postLogoutRedirectUri='null', applicationType='null', redirectUris=null, frontChannelLogoutUri=null, claimsRedirectUri=null, responseTypes=[code], clientId='null', clientRegistrationAccessToken='null', clientRegistrationClientUri='null', clientIdIssuedAt=null, clientSecretExpiresAt=null, clientName='null', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, profile, email], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=null, contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-12 04:29:58,515 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Schema created successfully.
2018-10-12 04:29:58,642 INFO [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Loaded 0 RPs.
2018-10-12 04:29:58,642 DEBUG [org.xdi.oxd.server.service.MigrationService] Migration source folder is not specified.
2018-10-12 04:29:58,642 DEBUG [org.xdi.oxd.server.service.MigrationService] Skip migration because migration source folder is not specified or otherwise invalid.
2018-10-12 04:29:58,656 INFO [org.xdi.oxd.server.service.SocketService] Server socket is bound to port: 8099, with timeout: 0 seconds. Start listening for notifications.
2018-10-12 04:30:06,226 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling...
2018-10-12 04:30:06,313 TRACE [org.xdi.oxd.server.Processor] Command: {"command":"setup_client","params":{"scope":["openid","uma_protection"],"contacts":null,"op_host":"https://ce-dev6.gluu.org","op_discovery_path":null,"authorization_redirect_uri":"https://dev1.gluu.org:1338","post_logout_redirect_uri":"https://dev1.gluu.org:1338","protection_access_token":null,"redirect_uris":null,"response_types":null,"claims_redirect_uri":null,"client_id":null,"":null,"client_registration_access_token":null,"client_registration_client_uri":null,"client_name":"konga_client","client_jwks_uri":null,"client_token_endpoint_auth_method":null,"client_token_endpoint_auth_signing_alg":null,"client_request_uris":null,"client_frontchannel_logout_uris":null,"client_sector_identifier_uri":null,"ui_locales":null,"claims_locales":null,"acr_values":null,"grant_types":["authorization_code"],"trusted_client":false,"oxd_rp_programming_language":null,"setup_client_name":"konga_setup_client"}}
2018-10-12 04:30:06,487 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Skip auto registration of claims interaction endpoint as redirect_uri because OP host for different uri's is different which will not pass AS redirect_uri's validation (same host must be present).
2018-10-12 04:30:06,487 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating RP ...
2018-10-12 04:30:06,511 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client.
2018-10-12 04:30:07,840 TRACE [org.xdi.oxd.server.service.DiscoveryService] Discovery response: {
"issuer": "https://ce-dev6.gluu.org",
"authorization_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/authorize",
"token_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/token",
"userinfo_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/userinfo",
"clientinfo_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/clientinfo",
"check_session_iframe": "https://ce-dev6.gluu.org/oxauth/opiframe",
"end_session_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/end_session",
"jwks_uri": "https://ce-dev6.gluu.org/oxauth/restv1/jwks",
"registration_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/register",
"id_generation_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/id",
"introspection_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/introspection",
"scopes_supported": [
"address",
"owner",
"manage",
"profile",
"mobile_phone",
"phone",
"clientinfo",
"permission",
"email",
"casa",
"user_name",
"name",
"openid",
"admin"
],
"response_types_supported": [
"code id_token",
"code",
"code token id_token",
"token",
"code token",
"token id_token",
"id_token"
],
"grant_types_supported": [
"urn:ietf:params:oauth:grant-type:uma-ticket",
"client_credentials",
"authorization_code",
"password",
"refresh_token",
"implicit"
],
"acr_values_supported": [
"super_gluu",
"auth_ldap_server"
],
"auth_level_mapping": {
"-1": ["auth_ldap_server"],
"15": ["super_gluu"]
},
"subject_types_supported": [
"public",
"pairwise"
],
"userinfo_signing_alg_values_supported": [
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512"
],
"userinfo_encryption_alg_values_supported": [
"RSA1_5",
"RSA-OAEP",
"A128KW",
"A256KW"
],
"userinfo_encryption_enc_values_supported": [
"RSA1_5",
"RSA-OAEP",
"A128KW",
"A256KW"
],
"id_token_signing_alg_values_supported": [
"none",
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512"
],
"id_token_encryption_alg_values_supported": [
"RSA1_5",
"RSA-OAEP",
"A128KW",
"A256KW"
],
"id_token_encryption_enc_values_supported": [
"A128CBC+HS256",
"A256CBC+HS512",
"A128GCM",
"A256GCM"
],
"request_object_signing_alg_values_supported": [
"none",
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512"
],
"request_object_encryption_alg_values_supported": [
"RSA1_5",
"RSA-OAEP",
"A128KW",
"A256KW"
],
"request_object_encryption_enc_values_supported": [
"A128CBC+HS256",
"A256CBC+HS512",
"A128GCM",
"A256GCM"
],
"token_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post",
"client_secret_jwt",
"private_key_jwt"
],
"token_endpoint_auth_signing_alg_values_supported": [
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512"
],
"display_values_supported": [
"page",
"popup"
],
"claim_types_supported": ["normal"],
"claims_supported": [
"birthdate",
"country",
"name",
"email",
"email_verified",
"given_name",
"gender",
"inum",
"family_name",
"updated_at",
"locale",
"middle_name",
"nickname",
"phone_number_verified",
"picture",
"preferred_username",
"profile",
"zoneinfo",
"website"
],
"service_documentation": "http://gluu.org/docs",
"claims_locales_supported": ["en"],
"ui_locales_supported": [
"en",
"es"
],
"scope_to_claims_mapping": [
{"address": [
"formatted",
"postal_code",
"street_address",
"locality",
"country",
"region"
]},
{"owner": []},
{"manage": []},
{"profile": [
"name",
"family_name",
"given_name",
"middle_name",
"nickname",
"preferred_username",
"profile",
"picture",
"website",
"gender",
"birthdate",
"zoneinfo",
"locale",
"updated_at"
]},
{"mobile_phone": ["phone_mobile_number"]},
{"phone": [
"phone_number_verified",
"phone_number"
]},
{"clientinfo": [
"name",
"inum"
]},
{"permission": ["role"]},
{"email": [
"email_verified",
"email"
]},
{"casa": ["email"]},
{"user_name": ["user_name"]},
{"name": []},
{"openid": []},
{"uma_protection": []},
{"admin": []}
],
"claims_parameter_supported": true,
"request_parameter_supported": true,
"request_uri_parameter_supported": true,
"require_request_uri_registration": false,
"op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy",
"op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos",
"frontchannel_logout_supported": true,
"frontchannel_logout_session_supported": true
}
2018-10-12 04:30:07,854 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client.
2018-10-12 04:30:08,223 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Registered client for site - client_id: @!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C20E.D4F7.83C8.A666, claims: {post_logout_redirect_uris=["https:\/\/dev1.gluu.org:1338"], grant_types=["client_credentials","authorization_code","refresh_token"], subject_type=pairwise, application_type=web, default_acr_values=[""], redirect_uris=["https:\/\/dev1.gluu.org:1338"], token_endpoint_auth_method=client_secret_basic, frontchannel_logout_session_required=false, scope=profile clientinfo permission casa user_name openid uma_protection, require_auth_time=false, client_name=konga_setup_client, response_types=["code"], id_token_signed_response_alg=RS256}, registration_client_uri:https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C20E.D4F7.83C8.A666
2018-10-12 04:30:08,315 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP created successfully. RP : Rp{oxdId='5e2ff621-e778-47ac-a91e-4cfa49d34626', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C20E.D4F7.83C8.A666', clientRegistrationAccessToken='d3a75c86-7113-4784-ab46-30db466495c7', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C20E.D4F7.83C8.A666', clientIdIssuedAt=Fri Oct 12 04:29:03 UTC 2018, clientSecretExpiresAt=Sat Oct 13 04:29:03 UTC 2018, clientName='konga_setup_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-12 04:30:08,316 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] RP created: Rp{oxdId='5e2ff621-e778-47ac-a91e-4cfa49d34626', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C20E.D4F7.83C8.A666', clientRegistrationAccessToken='d3a75c86-7113-4784-ab46-30db466495c7', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C20E.D4F7.83C8.A666', clientIdIssuedAt=Fri Oct 12 04:29:03 UTC 2018, clientSecretExpiresAt=Sat Oct 13 04:29:03 UTC 2018, clientName='konga_setup_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-12 04:30:08,321 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Skip auto registration of claims interaction endpoint as redirect_uri because OP host for different uri's is different which will not pass AS redirect_uri's validation (same host must be present).
2018-10-12 04:30:08,321 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating RP ...
2018-10-12 04:30:08,321 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client.
2018-10-12 04:30:08,650 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Registered client for site - client_id: @!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C935.B42F.D969.73A8, claims: {post_logout_redirect_uris=["https:\/\/dev1.gluu.org:1338"], grant_types=["client_credentials","authorization_code","refresh_token"], subject_type=pairwise, application_type=web, default_acr_values=[""], redirect_uris=["https:\/\/dev1.gluu.org:1338"], token_endpoint_auth_method=client_secret_basic, frontchannel_logout_session_required=false, scope=profile clientinfo permission casa user_name openid uma_protection, require_auth_time=false, client_name=konga_client, response_types=["code"], id_token_signed_response_alg=RS256}, registration_client_uri:https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C935.B42F.D969.73A8
2018-10-12 04:30:08,658 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP created successfully. RP : Rp{oxdId='8d1c779c-d0e3-4ebd-9dca-3540019c5662', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C935.B42F.D969.73A8', clientRegistrationAccessToken='db99b680-711d-46ee-8bd4-57467427dce0', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C935.B42F.D969.73A8', clientIdIssuedAt=Fri Oct 12 04:29:03 UTC 2018, clientSecretExpiresAt=Sat Oct 13 04:29:03 UTC 2018, clientName='konga_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-12 04:30:08,658 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] RP created: Rp{oxdId='8d1c779c-d0e3-4ebd-9dca-3540019c5662', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C935.B42F.D969.73A8', clientRegistrationAccessToken='db99b680-711d-46ee-8bd4-57467427dce0', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C935.B42F.D969.73A8', clientIdIssuedAt=Fri Oct 12 04:29:03 UTC 2018, clientSecretExpiresAt=Sat Oct 13 04:29:03 UTC 2018, clientName='konga_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-12 04:30:08,666 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP updated successfully. RP : Rp{oxdId='5e2ff621-e778-47ac-a91e-4cfa49d34626', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C20E.D4F7.83C8.A666', clientRegistrationAccessToken='d3a75c86-7113-4784-ab46-30db466495c7', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C20E.D4F7.83C8.A666', clientIdIssuedAt=Fri Oct 12 04:29:03 UTC 2018, clientSecretExpiresAt=Sat Oct 13 04:29:03 UTC 2018, clientName='konga_setup_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='true', setupOxdId='null', setupClientId='null', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-12 04:30:08,668 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP updated successfully. RP : Rp{oxdId='8d1c779c-d0e3-4ebd-9dca-3540019c5662', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C935.B42F.D969.73A8', clientRegistrationAccessToken='db99b680-711d-46ee-8bd4-57467427dce0', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C935.B42F.D969.73A8', clientIdIssuedAt=Fri Oct 12 04:29:03 UTC 2018, clientSecretExpiresAt=Sat Oct 13 04:29:03 UTC 2018, clientName='konga_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='5e2ff621-e778-47ac-a91e-4cfa49d34626', setupClientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C20E.D4F7.83C8.A666', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-12 04:30:08,695 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"ok","data":{"oxd_id":"8d1c779c-d0e3-4ebd-9dca-3540019c5662","client_id_of_oxd_id":"@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C935.B42F.D969.73A8","op_host":"https://ce-dev6.gluu.org","setup_client_oxd_id":"5e2ff621-e778-47ac-a91e-4cfa49d34626","client_id":"@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C20E.D4F7.83C8.A666","client_secret":"d444edb3-e7bc-49ed-a436-71bba58a24cf","client_registration_access_token":"d3a75c86-7113-4784-ab46-30db466495c7","client_registration_client_uri":"https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!C20E.D4F7.83C8.A666","client_id_issued_at":1539318543,"client_secret_expires_at":1539404943}}
2018-10-12 04:30:08,704 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling...
2018-10-12 04:30:16,255 INFO [org.xdi.oxd.server.ServerLauncher] Starting...
2018-10-12 04:30:16,263 INFO [org.xdi.oxd.server.ServerLauncher] commit: 396a371fd0f4fdab30ddbc0b878958ef4a3597c4, branch: origin/version_3.1.4, build time:06.10.2018 @ 12:43:42 EDT
2018-10-12 04:30:16,790 TRACE [org.xdi.oxd.server.service.ConfigurationService] Try to load configuration from system property: oxd.server.config, value: /etc/oxd/oxd-server/oxd-conf.json
2018-10-12 04:30:17,072 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration loaded successfully from system property: oxd.server.config.
2018-10-12 04:30:17,076 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration: Configuration{port=8099, timeOutInSeconds=0, registerClientAppType='web', registerClientResponesType='code', localhostOnly=true, useClientAuthenticationForPat=true, trustAllCerts=true, keyStorePath='', keyStorePassword='', cryptProviderKeyStorePath='', cryptProviderKeyStorePassword='', cryptProviderDnName='', supportGoogleLogout=true, stateExpirationInMinutes=5, nonceExpirationInMinutes=5, publicOpKeyCacheExpirationInMinutes=60, protectCommandsWithAccessToken=false, uma2AuthRegisterClaimsGatheringEndpointAsRedirectUriOfClient=true, migrationSourceFolderPath='', storage='h2', storageConfiguration={"dbFileLocation":"/opt/oxd-server/data/oxd_db"}}
2018-10-12 04:30:17,076 TRACE [org.xdi.oxd.server.service.ConfigurationService] Trying to read oxd-default-site-config.json, path: /etc/oxd/oxd-server/oxd-default-site-config.json
2018-10-12 04:30:17,237 INFO [org.xdi.oxd.server.service.ConfigurationService] Default RP configuration loaded successfully: Rp{oxdId='null', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='oxauth/.well-known/openid-configuration', idToken='null', accessToken='null', authorizationRedirectUri='null', postLogoutRedirectUri='null', applicationType='null', redirectUris=null, frontChannelLogoutUri=null, claimsRedirectUri=null, responseTypes=[code], clientId='null', clientRegistrationAccessToken='null', clientRegistrationClientUri='null', clientIdIssuedAt=null, clientSecretExpiresAt=null, clientName='null', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, profile, email], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=null, contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-12 04:30:17,530 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Schema created successfully.
2018-10-12 04:30:17,560 INFO [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Loaded 2 RPs.
2018-10-12 04:30:17,561 DEBUG [org.xdi.oxd.server.service.MigrationService] Migration source folder is not specified.
2018-10-12 04:30:17,561 DEBUG [org.xdi.oxd.server.service.MigrationService] Skip migration because migration source folder is not specified or otherwise invalid.
2018-10-12 04:30:17,565 INFO [org.xdi.oxd.server.service.SocketService] Server socket is bound to port: 8099, with timeout: 0 seconds. Start listening for notifications.
----------------------/opt/gluu-gateway/setup/gluu-gateway-setup_error.log-----------------------------------
04:29:48 10/12/18 Generating RSA private key, 2048 bit long modulus
...............+++
......+++
e is 65537 (0x10001)
04:29:48 10/12/18 writing RSA key
04:29:48 10/12/18 Signature ok
subject=/C=TS/ST=Test/L=Test/O=Test/CN=dev1.gluu.org/emailAddress=admin@test.com
Getting Private key
04:30:09 10/12/18 Error: no such prefix: /usr/local/kong
Run with --v (verbose) or --vv (debug) for more details
04:30:09 10/12/18 2018/10/12 04:30:09 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
04:30:43 10/12/18 2018/10/12 04:30:14 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
----------------------/opt/gluu-gateway/setup/gluu-gateway-setup.log-----------------------------------
04:29:48 10/12/18 Running: /bin/mkdir -p ./certs
04:29:48 10/12/18 Running: /bin/mkdir -p ./output
04:29:48 10/12/18 OS Type: ubuntu OS Version: 14
04:29:48 10/12/18 Generating Certificate for gluu-gateway
04:29:48 10/12/18 Running: /usr/bin/openssl genrsa -des3 -out ./certs/gluu-gateway.key.orig -passout pass:72WYP8u6BGm8 2048
04:29:48 10/12/18 Generating RSA private key, 2048 bit long modulus
...............+++
......+++
e is 65537 (0x10001)
04:29:48 10/12/18 Running: /usr/bin/openssl rsa -in ./certs/gluu-gateway.key.orig -passin pass:72WYP8u6BGm8 -out ./certs/gluu-gateway.key
04:29:48 10/12/18 writing RSA key
04:29:48 10/12/18 Running: /usr/bin/openssl req -new -key ./certs/gluu-gateway.key -out ./certs/gluu-gateway.csr -subj /C=TS/ST=Test/L=Test/O=Test/CN=dev1.gluu.org/emailAddress=admin@test.com
04:29:48 10/12/18 Running: /usr/bin/openssl x509 -req -days 365 -in ./certs/gluu-gateway.csr -signkey ./certs/gluu-gateway.key -out ./certs/gluu-gateway.crt
04:29:48 10/12/18 Signature ok
subject=/C=TS/ST=Test/L=Test/O=Test/CN=dev1.gluu.org/emailAddress=admin@test.com
Getting Private key
04:29:48 10/12/18 Running: /bin/chown root:root ./certs/gluu-gateway.key.orig
04:29:48 10/12/18 Running: /bin/chmod 700 ./certs/gluu-gateway.key.orig
04:29:48 10/12/18 Running: /bin/chown root:root ./certs/gluu-gateway.key
04:29:48 10/12/18 Running: /bin/chmod 700 ./certs/gluu-gateway.key
04:29:48 10/12/18 Installing server JRE 1.8 162...
04:29:48 10/12/18 Extracting server-jre-8u162-linux-x64.tar.gz into /opt/
04:29:48 10/12/18 Running: tar -xzf /opt/gluu-gateway/dist/app/server-jre-8u162-linux-x64.tar.gz -C /opt/ --no-xattrs --no-same-owner --no-same-permissions
04:29:50 10/12/18 Running: /bin/ln -sf /opt/jdk1.8.0_162 /opt/jre
04:29:50 10/12/18 Running: /bin/chmod -R 755 /opt/jdk1.8.0_162/bin/
04:29:50 10/12/18 Configuring postgres...
04:29:50 10/12/18 Running: /etc/init.d/postgresql start
04:29:50 10/12/18 * Starting PostgreSQL 10 database server
...done.
04:29:51 10/12/18 Rendering template /etc/oxd/oxd-server/oxd-conf.json
04:29:51 10/12/18 Rendering template /etc/oxd/oxd-server/oxd-default-site-config.json
04:29:51 10/12/18 Running: service oxd-server-3.1.4 start
04:29:51 10/12/18 Starting oxd-server:
Checking logs for possible errors:
PID: [5423]
OK Fri Oct 12 04:29:51 UTC 2018
04:29:51 10/12/18 Running: service oxd-https-extension start
04:29:54 10/12/18 Starting oxd-https-extension:
PID: [5464]
OK Fri Oct 12 04:29:54 UTC 2018
04:29:54 10/12/18 Installing konga node packages...
04:29:54 10/12/18 Running: /bin/mkdir -p /opt/gluu-gateway/konga/node_modules
04:29:54 10/12/18 Extracting gg_node_modules.tar.gz into /opt/gluu-gateway/konga/node_modules
04:29:54 10/12/18 Running: tar --strip 1 -xzf /opt/gluu-gateway/dist/gg_node_modules.tar.gz -C /opt/gluu-gateway/konga/node_modules --no-xattrs --no-same-owner --no-same-permissions
04:30:04 10/12/18 Running: /bin/mkdir -p /opt/gluu-gateway/konga/assets/bower_components
04:30:04 10/12/18 Extracting gg_bower_components.tar.gz into /opt/gluu-gateway/konga/assets/bower_components
04:30:04 10/12/18 Running: tar --strip 1 -xzf /opt/gluu-gateway/dist/gg_bower_components.tar.gz -C /opt/gluu-gateway/konga/assets/bower_components --no-xattrs --no-same-owner --no-same-permissions
04:30:05 10/12/18 Creating konga oxd client used to call oxd-https endpoints...
04:30:08 10/12/18 Running: /bin/touch local.js
04:30:08 10/12/18 Run: /bin/touch local.js with result code: 0
04:30:08 10/12/18 Rendering template /opt/gluu-gateway/konga/config/local.js
04:30:08 10/12/18 Rendering template /etc/kong/kong.conf
04:30:08 10/12/18 Installing luarocks packages...
04:30:08 10/12/18 Running: /bin/cp /opt/gluu-gateway/third-party/json-lua/JSON.lua /usr/local/share/lua/5.1
04:30:08 10/12/18 Running: /bin/cp /opt/gluu-gateway/third-party/oxd-web-lua/oxdweb.lua /usr/local/share/lua/5.1
04:30:08 10/12/18 Running: /bin/mkdir -p /usr/local/share/lua/5.1/rucciva
04:30:08 10/12/18 Running: /bin/cp /opt/gluu-gateway/third-party/json-logic-lua/logic.lua /usr/local/share/lua/5.1/rucciva/json_logic.lua
04:30:08 10/12/18 Running: /bin/mv /opt/gluu-gateway/plugins/gluu-oauth2-client-auth /usr/local/share/lua/5.1/kong/plugins
04:30:08 10/12/18 Running: /bin/mv /opt/gluu-gateway/plugins/gluu-oauth2-rs /usr/local/share/lua/5.1/kong/plugins
04:30:08 10/12/18 Running: kong migrations up
04:30:09 10/12/18 migrating core for database kong
core migrated up to: 2015-01-12-175310_skeleton
core migrated up to: 2015-01-12-175310_init_schema
core migrated up to: 2015-11-23-817313_nodes
core migrated up to: 2016-02-29-142793_ttls
core migrated up to: 2016-09-05-212515_retries
core migrated up to: 2016-09-16-141423_upstreams
core migrated up to: 2016-12-14-172100_move_ssl_certs_to_core
core migrated up to: 2016-11-11-151900_new_apis_router_1
core migrated up to: 2016-11-11-151900_new_apis_router_2
core migrated up to: 2016-11-11-151900_new_apis_router_3
core migrated up to: 2016-01-25-103600_unique_custom_id
core migrated up to: 2017-01-24-132600_upstream_timeouts
core migrated up to: 2017-01-24-132600_upstream_timeouts_2
core migrated up to: 2017-03-27-132300_anonymous
core migrated up to: 2017-04-18-153000_unique_plugins_id
core migrated up to: 2017-04-18-153000_unique_plugins_id_2
core migrated up to: 2017-05-19-180200_cluster_events
core migrated up to: 2017-05-19-173100_remove_nodes_table
core migrated up to: 2017-06-16-283123_ttl_indexes
migrating response-transformer for database kong
response-transformer migrated up to: 2016-05-04-160000_resp_trans_schema_changes
migrating ip-restriction for database kong
ip-restriction migrated up to: 2016-05-24-remove-cache
migrating statsd for database kong
statsd migrated up to: 2017-06-09-160000_statsd_schema_changes
migrating jwt for database kong
jwt migrated up to: 2015-06-09-jwt-auth
jwt migrated up to: 2016-03-07-jwt-alg
jwt migrated up to: 2017-05-22-jwt_secret_not_unique
migrating cors for database kong
cors migrated up to: 2017-03-14_multiple_orgins
migrating basic-auth for database kong
basic-auth migrated up to: 2015-08-03-132400_init_basicauth
basic-auth migrated up to: 2017-01-25-180400_unique_username
migrating key-auth for database kong
key-auth migrated up to: 2015-07-31-172400_init_keyauth
migrating rate-limiting for database kong
rate-limiting migrated up to: 2015-08-03-132400_init_ratelimiting
rate-limiting migrated up to: 2016-07-25-471385_ratelimiting_policies
migrating hmac-auth for database kong
hmac-auth migrated up to: 2015-09-16-132400_init_hmacauth
hmac-auth migrated up to: 2017-06-21-132400_init_hmacauth
migrating gluu-oauth2-client-auth for database kong
gluu-oauth2-client-auth migrated up to: 2017-01-22558_init_gluu_oauth2_client_auth_credentials
migrating datadog for database kong
datadog migrated up to: 2017-06-09-160000_datadog_schema_changes
migrating acl for database kong
acl migrated up to: 2015-08-25-841841_init_acl
migrating galileo for database kong
galileo migrated up to: 2016-04-15_galileo-import-mashape-analytics
migrating response-ratelimiting for database kong
response-ratelimiting migrated up to: 2015-08-03-132400_init_response_ratelimiting
response-ratelimiting migrated up to: 2016-08-04-321512_response-rate-limiting_policies
migrating request-transformer for database kong
request-transformer migrated up to: 2016-05-04-160000_req_trans_schema_changes
migrating oauth2 for database kong
oauth2 migrated up to: 2015-08-03-132400_init_oauth2
oauth2 migrated up to: 2016-07-15-oauth2_code_credential_id
oauth2 migrated up to: 2016-12-22-283949_serialize_redirect_uri
oauth2 migrated up to: 2016-09-19-oauth2_api_id
oauth2 migrated up to: 2016-12-15-set_global_credentials
oauth2 migrated up to: 2017-04-24-oauth2_client_secret_not_unique
46 migrations ran
04:30:09 10/12/18 Running: kong stop
04:30:09 10/12/18 Error: no such prefix: /usr/local/kong
Run with --v (verbose) or --vv (debug) for more details
04:30:09 10/12/18 Running: kong start
04:30:09 10/12/18 prefix directory /usr/local/kong not found, trying to create it
Kong started
04:30:09 10/12/18 2018/10/12 04:30:09 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
04:30:09 10/12/18 Starting gluu-gateway...
04:30:09 10/12/18 Running: service oxd-server-3.1.4 stop
04:30:10 10/12/18 Stopping oxd-server: OK
04:30:10 10/12/18 Running: service oxd-https-extension stop
04:30:11 10/12/18 Stopping oxd-https-extension: OK
04:30:11 10/12/18 Running: service gluu-gateway stop
04:30:12 10/12/18 * Stopping PostgreSQL 10 database server
...done.
Stopping kong ...
Kong stopped
oxd-server is not running ...
oxd-https-extension is not running ...
konga is not running ...
04:30:12 10/12/18 Running: service gluu-gateway start
04:30:43 10/12/18 * Starting PostgreSQL 10 database server
...done.
Starting kong ...
Kong started
PID: [5760]
Starting oxd-server:
Checking logs for possible errors:
PID: [5790]
OK Fri Oct 12 04:30:35 UTC 2018
Starting oxd-https-extension:
PID: [5845]
OK Fri Oct 12 04:30:38 UTC 2018
Starting konga ...
PID: [5872]
04:30:43 10/12/18 2018/10/12 04:30:14 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
04:30:43 10/12/18 Running: /usr/sbin/update-rc.d gluu-gateway defaults
04:30:43 10/12/18 Adding system startup for /etc/init.d/gluu-gateway ...
/etc/rc0.d/K20gluu-gateway -> ../init.d/gluu-gateway
/etc/rc1.d/K20gluu-gateway -> ../init.d/gluu-gateway
/etc/rc6.d/K20gluu-gateway -> ../init.d/gluu-gateway
/etc/rc2.d/S20gluu-gateway -> ../init.d/gluu-gateway
/etc/rc3.d/S20gluu-gateway -> ../init.d/gluu-gateway
/etc/rc4.d/S20gluu-gateway -> ../init.d/gluu-gateway
/etc/rc5.d/S20gluu-gateway -> ../init.d/gluu-gateway
----------------------netstat -tulpn----------------------------------
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1042/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 5712/postgres
tcp 0 0 0.0.0.0:1338 0.0.0.0:* LISTEN 5872/node
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 5760/kong -c nginx.
tcp 0 0 127.0.0.1:8445 0.0.0.0:* LISTEN 5760/kong -c nginx.
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 5760/kong -c nginx.
tcp 0 0 127.0.0.1:8001 0.0.0.0:* LISTEN 5760/kong -c nginx.
tcp6 0 0 :::22 :::* LISTEN 1042/sshd
tcp6 0 0 :::8443 :::* LISTEN 5845/java
tcp6 0 0 :::8444 :::* LISTEN 5845/java
tcp6 0 0 127.0.0.1:8099 :::* LISTEN 5790/java
----------------------services----------------------------------
kong is running ...
PID: [5760]
konga is running ...
PID: [5872]
oxd-server: unrecognized service
oxd server running pid=5845
OXD_HOME = /opt/oxd-https-extension
OXD_BASE = /opt/oxd-https-extension
OXD_CONF =
OXD_PID_FILE = /var/run/oxd-https-extension.pid
OXD_START =
OXD_LOGS = /var/log/oxd-server
OXD_STATE = /opt/oxd-https-extension/oxd-https-extension.state
CLASSPATH =
JAVA = /opt/jre/bin/java
JAVA_OPTIONS = -server -Xms256m -Xmx512m -XX:MaxMetaspaceSize=256m -XX:+DisableExplicitGC -jar /opt/oxd-https-extension/lib/oxd-https-extension-jar-with-dependencies.jar server /opt/oxd-https-extension/lib/oxd-https.yml
OXD_ARGS = oxd-https-extension.state=/opt/oxd-https-extension/oxd-https-extension.state
RUN_CMD = /opt/jre/bin/java -server -Xms256m -Xmx512m -XX:MaxMetaspaceSize=256m -XX:+DisableExplicitGC -jar /opt/oxd-https-extension/lib/oxd-https-extension-jar-with-dependencies.jar server /opt/oxd-https-extension/lib/oxd-https.yml
Konga is running
Kong is running
Oxd-server is running
Oxd-https-extension is running
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 28917 killed;
[ssh-agent] Stopped.
Finished: SUCCESS