By: Jonas Mockus user 07 May 2019 at 1:13 a.m. CDT

10 Responses
Jonas Mockus gravatar
Hi, I am installing GLUU 3.1.6 on Ubuntu 16.04 via Cluster manager and root user is used. Install has started without issues on first node and I have left it overnight on this stage and found same in the morning: Running setup.py - Be patient this process will take a while ... chroot /opt/gluu-server-3.1.6 /bin/bash -c "cd /install/community-edition-setup/ && ./setup.py -n -v " Installing Gluu Server... Detected OS : ubuntu Detected init: systemd Detected Apache: 2.4 Installing Gluu Server... For more info see: /install/community-edition-setup/setup.log /install/community-edition-setup/setup_error.log ** All clear text passwords contained in /install/community-edition-setup/setup.properties.last. State or Province: While checking the logs: Setup.log: 14:40:35 05/06/19 Removed /install/community-edition-setup/setup.log 14:40:35 05/06/19 Removed /install/community-edition-setup/setup_error.log 14:40:35 05/06/19 Installing Gluu Server 14:40:35 05/06/19 /install/community-edition-setup/setup.properties Properties found! 14:40:35 05/06/19 Loading Properties /install/community-edition-setup/setup.properties 14:40:35 05/06/19 Checking properties setup_error.log: 14:40:35 05/06/19 Installing Gluu Server ----- As it looks it stuck on checking properties, is this normal? It does not look like it has crashed and I do see setup.properties file: root@localhost:/opt/gluu-server-3.1.6/install/community-edition-setup# ls ldif.py openldap_migration Properties.py README.md schema setup.log setup.properties.sample static tests LICENSE output Properties.pyc requirements.txt setup_error.log setup.properties setup.py templates Tried to perform install on other cluster node and the outcome is same.

By Mohib Zico Account Admin 07 May 2019 at 3:42 a.m. CDT

Mohib Zico gravatar
Are you facing installation issue in Node1? Is it brand new VM? Was there any other Gluu-Server there in this VM before running Cluster-Manager to install Gluu Server? Installation should never take more than 20-30 mins ( but, it definitely depends on your network though ).

By Jonas Mockus user 07 May 2019 at 3:56 a.m. CDT

Jonas Mockus gravatar
Hello, I am facing same issue with both VMs and yes they are brand new VMs and never had GLUU installed. Everything is being built in Azure so network should be not an issue. I have rebuilt environment to retry, but as mentioned logs do not indicate anything. Thanks!

By Jonas Mockus user 07 May 2019 at 7:11 a.m. CDT

Jonas Mockus gravatar
I have tried to install 3.1.5 instead if 3.1.6 which is running currently running the instal process.

By Jonas Mockus user 07 May 2019 at 8:23 a.m. CDT

Jonas Mockus gravatar
when running install for 3.1.4 and 3.1.5 getting errors on second node when installing gluu thru Cluster manager sed: can't read /opt/opendj/config/java.properties: No such file or directory /bin/bash: /opt/opendj/bin/dsjavaproperties: No such file or directory /bin/bash: /opt/opendj/bin/dsconfig: No such file or directory /bin/bash: /opt/opendj/bin/dsconfig: No such file or directory /bin/bash: /etc/init.d/opendj: No such file or directory /bin/bash: /etc/init.d/opendj: No such file or directory cp: cannot stat '/opt/gluu-server-3.1.4/etc/certs': No such file or directory This is always like that with secondary node.

By Mohib Zico Account Admin 07 May 2019 at 8:52 a.m. CDT

Mohib Zico gravatar
Yes, use latest one.. 3.1.6. I am going to test installation in Azure and get back to you if I found anything.

By Jonas Mockus user 07 May 2019 at 9:16 a.m. CDT

Jonas Mockus gravatar
Thanks! I will try to rebuild to 3.1.6 tomorrow. Just spotted I am using Standard B1ms (1 vcpus, 2 GB memory) VMs and configured 3072MB of memory, will change that to 1024MB. But still it fails with node2.

By Mohib Zico Account Admin 07 May 2019 at 9:26 a.m. CDT

Mohib Zico gravatar
>> (1 vcpus, 2 GB memory) VMs and configured 3072MB of memory Don't you feel it's little different? Allocating 3072MB in 2GB VM? I will go with 8GB Gluu Servers VM, 2 GB others ( ClusterMgr, Nginx and Redis VM ).

By Jonas Mockus user 07 May 2019 at 9:28 a.m. CDT

Jonas Mockus gravatar
Hi, This is not production system it is only for PoC, but I will try with bigger VMs. Thanks!

By Mohib Zico Account Admin 07 May 2019 at 4:10 p.m. CDT

Mohib Zico gravatar
Just tried in Azure + Ubuntu 16 + Gluu Server 3.1.6. I didn't have any issue installing second node.

By Jonas Mockus user 08 May 2019 at 9:27 a.m. CDT

Jonas Mockus gravatar
Hi, Choosing bigger VMs helped. I have installed and enabled LDAP replication. Although secondary server status is being shown as down, but replication status is configured. I am trying to achieve here Active/Active setup if that is possible. ``` Replication Status: Suffix DN : Server : Entries : Replication enabled : DS ID : RS ID : RS Port (1) : M.C. (2) : A.O.M.C. (3) : Security (4) ----------:---------------:---------:---------------------:-------:-------:-------------:----------:--------------:------------- o=gluu : 10.0.1.4:4444 : 172 : true : 15778 : 1587 : 8989 : 0 : : true o=gluu : 10.1.1.5:4444 : 172 : true : 6607 : 15128 : 8989 : 0 : : true o=metric : 10.0.1.4:4444 : 5 : : : : : : : o=metric : 10.1.1.5:4444 : 7 : : : : : : : o=site : 10.0.1.4:4444 : 2 : true : 15715 : 1587 : 8989 : 0 : : true o=site : 10.1.1.5:4444 : 2 : true : 21515 : 15128 : 8989 : 0 : : true ``` Just to note that File system replication has been enabled without issues, but LDAP, oauth and identify services on secondary node may be stopped or not running.