Unicorn Nginx Issue
halogenandtoast at gmail.com
Tue Oct 13 13:34:21 EDT 2009
Got it working, I had a bad value in my config.
:backlog => 1024
I guess I needed
:backlog => 1024
Thanks for the help.
On Tue, Oct 13, 2009 at 1:27 PM, Matt Mongeau <halogenandtoast at gmail.com> wrote:
> Hi Brian,
> my /etc/hosts file has an entry like this:
> 127.0.0.1 unicorn.local
> some further debugging...
> this works:
> unicorn_rails -E production -l unix:tmp/sockets/unicorn.sock -D
> this does not:
> unicorn_rails -E development -l unix:tmp/sockets/unicorn.sock -D
> On Tue, Oct 13, 2009 at 1:20 PM, Brian Ketelsen <bketelsen at gmail.com> wrote:
>> On Oct 13, 2009, at 12:57 PM, Matt Mongeau wrote:
>>> 2009/10/13 12:34:22 [error] 1007#0: *62 connect() to
>>> unix:/Users/user/projects/test/unicorn/tmp/sockets/unicorn.sock failed
>>> (61: Connection refused) while connecting to upstream, client:
>>> 127.0.0.1, server: unicorn.local, request: "GET / HTTP/1.1", upstream:
>>> host: "unicorn.local"
>>> ps -aux shows that the workers are created
>>> and ls -la show srwxrwxrwx 1 mattmongeau staff 0 Oct 13 12:51
>>> Any suggestions on what I am doing wrong. I running OSX 10.6.1, with
>>> nginx installed from passenger (nginx version: nginx/0.6.37)
>>> Thanks, Matt
>> You must have a host entry in /etc/hosts or in NetInfo for unicorn.local -
>> do you have it set to "localhost" or to 127.0.0.1? I've seen issues in Mac
>> OS where I had to explicitly use 127.0.0.1 instead of localhost, and the
>> error messages looked similar.
>> mongrel-unicorn mailing list
>> mongrel-unicorn at rubyforge.org
More information about the mongrel-unicorn