Skip to content

Instantly share code, notes, and snippets.

@craigboman
Created October 3, 2017 13:38
Show Gist options
  • Save craigboman/a980579af5433fe553f0f1e442b528c5 to your computer and use it in GitHub Desktop.
Save craigboman/a980579af5433fe553f0f1e442b528c5 to your computer and use it in GitHub Desktop.
root@ruby-rails-1gb-nyc3-01:/home/search_app# bundle exec solr_wrapper
Starting Solr 7.0.0 on port 8983 ... solr-7.0.0.zip: |===========================================================================| 100% (Time: 00:00:02 )
solr-7.0.0.zip.md5: |=======================================================================| 100% (Time: 00:00:00 )
/usr/local/rvm/gems/ruby-2.4.0/gems/solr_wrapper-1.1.0/lib/solr_wrapper/instance.rb:322:in `exec': Failed to execute solr start: WARNING: Starting Solr as the root user is a security risk and not considered best practice. Exiting. (RuntimeError)
Please consult the Reference Guide. To override this check, start with argument '-force'
. Further information may be available in /tmp/solr-7.0.0/logs
from /usr/local/rvm/gems/ruby-2.4.0/gems/solr_wrapper-1.1.0/lib/solr_wrapper/instance.rb:75:in `start'
from /usr/local/rvm/gems/ruby-2.4.0/gems/solr_wrapper-1.1.0/lib/solr_wrapper/instance.rb:64:in `wrap'
from /usr/local/rvm/gems/ruby-2.4.0/gems/solr_wrapper-1.1.0/exe/solr_wrapper:113:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.4.0/bin/solr_wrapper:22:in `load'
from /usr/local/rvm/gems/ruby-2.4.0/bin/solr_wrapper:22:in `<main>'
from /usr/local/rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment