From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: Address already in use
Date: Mon, 25 Jun 2012 23:57:48 +0000 [thread overview]
Message-ID: <20120625235748.GA4812@dcvr.yhbt.net> (raw)
In-Reply-To: <A47A2336-6397-437E-9A30-777D1C7BCBC8@gmail.com>
Manuel Palenciano Guerrero <mpalenciano@gmail.com> wrote:
> Hi,
>
> First, thanks Eric, Jérémy and Aaron for replying. I really appreciate it.
>
> Yes Eric, I can see the line... "inherited addr=/tmp/unicorn.app.sock fd=..."
>
> here is the full log
>
> -------------------------------------------------
> I, [2012-06-21T11:40:44.282224 #29212] INFO -- : inherited addr=/tmp/unicorn.sublimma_staging.sock fd=3
> I, [2012-06-21T11:40:44.282480 #29212] INFO -- : Refreshing Gem list
> master process ready
> worker=0 ready
> worker=1 ready
> reaped #<Process::Status: pid=28683,exited(0)> worker=0
> reaped #<Process::Status: pid=28684,exited(0)> worker=1
> master complete
Ugh, lack of formatting caused by Rails mucking with Logger is annoying.
Can you add the following to your unicorn config?
Configurator::DEFAULTS[:logger].formatter = Logger::Formatter.new
(that's from unicorn.bogomips.org/FAQ.html)
> E, [2012-06-21T11:40:46.386486 #29401] ERROR -- : adding listener failed addr=/tmp/unicorn.sublimma_staging.sock (in use)
I'm curious if PID=29401 is a worker of pid 29212. Or you're starting
another master somewhere...
> /var/www/sublimma/staging/shared/bundle/ruby/1.8/gems/unicorn-4.3.0/lib/unicorn/socket_helper.rb:140:in `initialize': Address already in use - /tmp/unicorn.sublimma_staging.sock (Errno::EADDRINUSE)
> -------------------------------------------------
>
> my unicorn.rb: https://gist.github.com/2991110
Did you share the correct config? Your config has:
listen "/tmp/unicorn.app_production.sock"
But your config has: /tmp/unicorn.sublimma_staging.sock
_______________________________________________
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
prev parent reply other threads:[~2012-06-25 23:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-25 13:02 Address already in use Manuel Palenciano Guerrero
2012-06-25 13:41 ` Jérémy Lecour
2012-06-25 13:42 ` Aaron Suggs
2012-06-25 18:10 ` Eric Wong
2012-06-25 21:10 ` Eric Wong
2012-06-25 20:28 ` Eric Wong
2012-06-25 21:03 ` Manuel Palenciano Guerrero
2012-06-25 23:57 ` Eric Wong [this message]
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=20120625235748.GA4812@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--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).