By: Patrick Lademan user 15 Jan 2015 at 11:38 p.m. CST

5 Responses
Patrick Lademan gravatar
Traceback (most recent call last): Running on Mac Book Pro OSX. Installing into vagrant CentOS 6.5 box. Deploy Gluu (Community Edition) in a Vagrant box + VagrantBoxName=vm1 + VagrantBoxParentPath=/Users/plademan/gluu + DeployGluuScript=deploy_gluu.sh + GluuIpAddress=192.168.33.100 + GluuDomainName=gluu.localhost.com + SupportEmail=plademan@syntegritynet.com + echo Vagrant Box Name: vm1 Vagrant Box Name: vm1 + VagrantPath=/Users/plademan/gluu/vm1 + mkdir /Users/plademan/gluu/vm1 mkdir: /Users/plademan/gluu/vm1: File exists + cd /Users/plademan/gluu/vm1 + pwd /Users/plademan/gluu/vm1 + vagrant ssh Deploy Gluu + sudo su Shutting down Gluu Server... Retrieving http://repo.gluu.org/GLUU/centos/latest/base/x86_64/Packages/Gluu-Server-Repo-1.9-0.el6.x86_64.rpm Preparing... ################################################## package Gluu-Server-Repo-1.9-0.el6.x86_64 is already installed Loaded plugins: fastestmirror, versionlock Loading mirror speeds from cached hostfile * base: mirrors.lga7.us.voxel.net * epel: mirror.steadfast.net * extras: mirror.us.leaseweb.net * updates: mirrors.lga7.us.voxel.net Setting up Install Process Package gluu-server-1.9-0.el6.x86_64 already installed and latest version Nothing to do Starting Gluu server, please wait... Traceback (most recent call last): File "/opt/gluu/bin/encode.py", line 8, in <module> f = open(saltFn) IOError: [Errno 2] No such file or directory: '%(tomcatHome)s/conf/salt' Traceback (most recent call last): File "/opt/gluu/bin/encode.py", line 8, in <module> f = open(saltFn) IOError: [Errno 2] No such file or directory: '%(tomcatHome)s/conf/salt'

By Mohib Zico Account Admin 16 Jan 2015 at 5:07 a.m. CST

Mohib Zico gravatar
Hi Patrick, This Vagrantbox seems interesting.. what's that actually? I mean what's the advantage of using Vagrantbox instead of Virtualbox / VMWare / Cloud? > > Setting up Install Process > > Package gluu-server-1.9-0.el6.x86_64 already installed and latest version > > Nothing to do > > Starting Gluu server, please wait... Seems like Gluu Server is already installed... > > IOError: [Errno 2] No such file or directory: '%(tomcatHome)s/conf/salt' Can you please try one thing? * Create a file named "salt" inside of /opt/tomcat/conf/ * Let's provide something like encodeSalt: 123456789012345678901234567890 in this salt file. * chown tomcat:tomcat salt

By Patrick Lademan user 16 Jan 2015 at 9:47 a.m. CST

Patrick Lademan gravatar
I tried to create the salt file but did not have permissions. I looked in the directory and found that the salt file already exists: /home/gluu-server/opt/apache-tomcat-7.0.55/conf [root@gluu conf]# more salt encodeSalt = 123456789012345678901234 [root@gluu conf]# The salt file can be viewed from chroot [root@gluu opt]# chroot /home/gluu-server more /opt/tomcat/conf/salt encodeSalt = 123456789012345678901234 Vagrant is a VM that allows us to run CentOS on any server or in this case our Mac Book Pro laptops. It also allows us to script the deployment of CentOS and Gluu.

By Mohib Zico Account Admin 16 Jan 2015 at 9:50 a.m. CST

Mohib Zico gravatar
>> encodeSalt = 123456789012345678901234 Can you please try to modify it something like "encodeSalt: 123456789012345678901234567890"? >> Vagrant is a VM that allows us to run CentOS on any server or in this case our Mac Book Pro laptops. It also allows us to script the deployment of CentOS and Gluu. May be someone from our side can also try this who has Mac.

By Michael Schwartz Account Admin 16 Jan 2015 at 1:10 p.m. CST

Michael Schwartz gravatar
Patrick, We're in the middle of testing the new 2.0 release. I think it might pay to wait until next week, and we'll give you early access.

By Patrick Lademan user 16 Jan 2015 at 1:42 p.m. CST

Patrick Lademan gravatar
Thanks!