在我为我的独角兽实例执行kill -9 pid_of_unicorn
命令后,我永远无法重新启动它。我unicorn master -c config/unicorn.rb
在 rails 应用程序根路径和 unicorn.rb 文件中使用,这是我在 rails 配置目录中的独角兽配置文件。
/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)
from /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'
from /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'
from /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'
from /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'
from /home/wujing/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `new'
from /home/wujing/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
from /home/wujing/.rbenv/versions/2.1.5/bin/unicorn:23:in `load'
from /home/wujing/.rbenv/versions/2.1.5/bin/unicorn:23:in `<main>'
有人遇到过类似的问题吗?