Does CASA need to be run as root or with other special privileges?
are there any dangers running it as root?
While installing the CASA gem as a "standard daemon" (UID 103) I get the following error:
Fetching: casa-0.1.5.dev.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/local/rvm/gems/ruby-2.1.0 directory.
"gem install casa --pre" must be run as root and then "casa engine setup" can be run as unprivileged user.
Add mysql2 gem in the "Requires" section if using MySQL it is stated farther down but only after completing the step that needs it.
mysql2 gem requires mysql-devel to be installed on the system
Need to probably break up the parts for "Installing CASA gem" and "Configuring and running CASA"
Installing the gem requires privileges to write into the local gem repository
Configuring and running CASA only requires privileges to write the CASA config file (as far as I can tell). True??
How do I know if this was successful?
I ran casa engine start and got:
W, [2014-07-15 16:10:58#23234] WARN -- Initialize - Index: Could not initialize Elasticsearch - advanced search functions will not be available
I, [2014-07-15 16:10:58#23234] INFO -- Module - Publisher: Loaded casa/engine/module/publisher/configure
I, [2014-07-15 16:10:58#23234] INFO -- Module - Receiver: Loaded casa/engine/module/receiver/configure
I, [2014-07-15 16:10:58#23234] INFO -- Module - Local: Loaded casa/engine/module/local/configure
I, [2014-07-15 16:10:58#23234] INFO -- Module - Publisher: Loaded casa/engine/module/publisher/routes
I, [2014-07-15 16:10:58#23234] INFO -- Module - Local: Loaded casa/engine/module/local/routes
I, [2014-07-15 16:10:58#23234] INFO -- Module - Admin/engine: Loaded casa/engine/module/admin/engine/routes
I, [2014-07-15 16:10:58#23234] INFO -- Module - Receiver: Loaded casa/engine/module/receiver/start
I, [2014-07-15 16:10:58#23234] INFO -- Module - Local: Loaded casa/engine/module/local/start
casa engine start
and got:Looks like elastic search isn't working.