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 <[email protected]> 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: >> >> "http://unix:/Users/user/projects/test/unicorn/tmp/sockets/unicorn.sock:/", >> host: "unicorn.local" >> >> ps -aux shows that the workers are created >> and ls -la show srwxrwxrwx 1 mattmongeau staff 0 Oct 13 12:51 >> unicorn.sock= >> >> 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. > > Brian > _______________________________________________ > mongrel-unicorn mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/mongrel-unicorn > _______________________________________________ mongrel-unicorn mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn
