ruby on rails - master failed to start, check stderr log for details -
i'm trying start unicorn , keep getting error constantly.
my unicorn.rb (https://gist.github.com/anonymous/d1f3d9bcdd1a6c4d8435)
command i'm using start unicorn:
/home/app/adsgold/# unicorn_rails master -c config/unicorn.rb -d -e production
commands i've tried:
/home/app/adsgold/# unicorn_rails -c config/unicorn.rb -d -e production
/home/app/adsgold/# unicorn_rails master -c config/unicorn.rb -d -e production -p 3000
/home/app/adsgold/# bundle exec master unicorn -c unicorn.cnf -e production -d
complete error beeing shown: https://gist.github.com/anonymous/828d9677f928fa671762
it looks have rvm , ruby installed system-wide. may cause lots of issues. rvm documentation warns that. try install rvm , ruby user, owns app
directory. in case consistent system.
by way, have directory /home/deploy/apps/shared
on environment? writable app? according unicorn config following things depend on it:
pid "/home/deploy/apps/shared/pids/unicorn.pid" stderr_path "/home/deploy/apps/shared/log/unicorn.stderr.log" stdout_path "/home/deploy/apps/shared/log/unicorn.stdout.log"
if have stuff, content of /home/deploy/apps/shared/log/unicorn.stderr.log
helpful.
Comments
Post a Comment