ruby on rails - unicorn can't restart because `parse_rackup_file': rackup file (master) not readable -



ruby on rails - unicorn can't restart because `parse_rackup_file': rackup file (master) not readable -

after execute kill -9 pid_of_unicorn command unicorn instance, can never restart it. utilize unicorn master -c config/unicorn.rb in rails app root path , unicorn.rb file unicorn config file in rails's config directory.

/home/wujing/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/unicorn-4.8.3/lib/unicorn/configurator.rb:659:in `parse_rackup_file': rackup file (master) not readable (argumenterror) /home/wujing/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/unicorn-4.8.3/lib/unicorn/configurator.rb:77:in `reload' /home/wujing/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/unicorn-4.8.3/lib/unicorn/configurator.rb:68:in `initialize' /home/wujing/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:100:in `new' /home/wujing/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:100:in `initialize' /home/wujing/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `new' /home/wujing/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>' /home/wujing/.rbenv/versions/2.1.5/bin/unicorn:23:in `load' /home/wujing/.rbenv/versions/2.1.5/bin/unicorn:23:in `<main>'

anybody experienced similar problem?

unicorn master -c config/unicorn.rb

not sure master means in command. can try:

bundle exec unicorn -d -e <environment> -c config/unicorn.rb

ruby-on-rails ruby ruby-on-rails-3 unicorn rackup

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -