/usr/bin/env ruby_noexec_wrapper fails with no file or directory

后端 未结 5 1076
遇见更好的自我
遇见更好的自我 2021-01-01 23:39

When I try to start chef-solr as service it\'s failing with the following error

# service chef-solr start
Starting chef-solr: /usr/bin/env: ruby_noexec_wrapp         


        
5条回答
  •  爱一瞬间的悲伤
    2021-01-01 23:50

    Answer not related to chef, but may help in future.

    I had a similar issue, but since I was following a tutorial to setup thin in RVM. I fixed by using wrapper generated by RVM for thin service

    /home/thin/.rvm/bin/bootup_thin
    

    therefore changed line in init script

    DAEMON=/home/thin/.rvm/gems/ree-1.8.7-2012.02/bin/thin
    

    to

    DAEMON=/home/thin/.rvm/bin/bootup_thin
    

    Post on RVM wrappers RVM and thin, root vs. local user

提交回复
热议问题