1
我嘗試通過nginx &獨角獸啓動應用程序。 我成功啓動服務器3次再見類似的代碼。 但我通常會看到:獨角獸大師未能啓動
[[email protected] yaqoot]# unicorn_rails -c config/unicorn.rb -D
/usr/local/rvm/gems/ruby-2.1.0/gems/unicorn-5.1.0/lib/unicorn/configurator.rb:88:in `block in reload': directory for stderr_path=/var/www/yaqoot/log/unicorn/log not writable (ArgumentError)
from /usr/local/rvm/gems/ruby-2.1.0/gems/unicorn-5.1.0/lib/unicorn/configurator.rb:84:in `each'
from /usr/local/rvm/gems/ruby-2.1.0/gems/unicorn-5.1.0/lib/unicorn/configurator.rb:84:in `reload'
from /usr/local/rvm/gems/ruby-2.1.0/gems/unicorn-5.1.0/lib/unicorn/configurator.rb:65:in `initialize'
from /usr/local/rvm/gems/ruby-2.1.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:76:in `new'
from /usr/local/rvm/gems/ruby-2.1.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:76:in `initialize'
from /usr/local/rvm/gems/ruby-2.1.0/gems/unicorn-5.1.0/bin/unicorn_rails:209:in `new'
from /usr/local/rvm/gems/ruby-2.1.0/gems/unicorn-5.1.0/bin/unicorn_rails:209:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.1.0/bin/unicorn_rails:23:in `load'
from /usr/local/rvm/gems/ruby-2.1.0/bin/unicorn_rails:23:in `<main>'
from /usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>'
master failed to start, check stderr log for details
我該如何解決這個問題?