From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Cc: James Cox <james@imaj.es>, ghazel@gmail.com
Subject: Re: Issue with unicorn not starting via bluepill?
Date: Fri, 19 Mar 2010 01:26:31 -0700 [thread overview]
Message-ID: <20100319082631.GA5672@dcvr.yhbt.net> (raw)
In-Reply-To: <c3938dec1003181412s77c73bbfyc40450c9b8a08d7e@mail.gmail.com>
James Cox <james@imaj.es> wrote:
> trying to start my unicorn via bluepill, and running into this :
>
> Starting unicorn...\n{:unicorn_options=>
> {:config_file=>"/home/configs/unicorn/marketing.rb", :listeners=>[]},
> :daemonize=>true,
> :app=>
> #<Proc:0x000000001042c718@/usr/local/rvm/gems/ree-1.8.7-2010.01/gems/unicorn-0.97.0/bin/unicorn_rails:120>}
> Exception `Errno::EEXIST' at
> /usr/local/rvm/rubies/ree-1.8.7-2010.01/lib/ruby/1.8/fileutils.rb:243
> - File exists - tmp/cache
> Exception `Errno::EEXIST' at
> /usr/local/rvm/rubies/ree-1.8.7-2010.01/lib/ruby/1.8/fileutils.rb:243
> - File exists - tmp/pids
> Exception `Errno::EEXIST' at
> /usr/local/rvm/rubies/ree-1.8.7-2010.01/lib/ruby/1.8/fileutils.rb:243
> - File exists - tmp/sessions
> Exception `Errno::EEXIST' at
> /usr/local/rvm/rubies/ree-1.8.7-2010.01/lib/ruby/1.8/fileutils.rb:243
> - File exists - tmp/sockets
> Exception `EOFError' at
> /usr/local/rvm/gems/ree-1.8.7-2010.01/gems/unicorn-0.97.0/lib/unicorn/launcher.rb:45
> - end of file reached
> master failed to start, check stderr log for details
>
>
> it's a rather complicated setup etc, but essentially i've got bluepill
> instructing a start script which sets the right version of ruby just
> before hand (i.e. the rvm stuff).
>
> I can run it manually by going into the RAILS_ROOT and running it, but
> trying to run via bluepill explodes.
>
> any ideas?
I'm not familiar with Bluepill, it's a process monitor of some
sort. Both you and Greg are using unicorn_rails which did get
some overhauling in Unicorn 0.97.0. Everything seems fine on
my end, but maybe there's a piece of the puzzle I'm overlooking..
I'll dig further.
--
Eric Wong
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying
next prev parent reply other threads:[~2010-03-19 8:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-18 21:12 Issue with unicorn not starting via bluepill? James Cox
2010-03-19 8:26 ` Eric Wong [this message]
2010-03-19 8:57 ` Eric Wong
2010-03-23 18:54 ` Eric Wong
2010-03-24 19:14 ` James Cox
2010-05-26 8:31 ` ghazel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100319082631.GA5672@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=ghazel@gmail.com \
--cc=james@imaj.es \
--cc=mongrel-unicorn@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).