hi;)
im trying nginx out for the first time here but im getting an error 500
plus:
2008/07/29 06:10:08 [error] 23982#0: *5 connect() to 127.0.0.1:5000
failed (61: Connection refused) while connecting to upstream, client:
80.202.207.23, server: mysite.com, request: “GET /HTTP/1.1”, upstream:
“http://127.0.0.1:5000/”, host: “80.252.2.3”, referrer:
“http://80.252.2.3/”
please go to http://pastie.org/242754 for my nginx.conf and
http://pastie.org/242931 for my pf.conf
anybody see anything wrong? thanks
Make sure you’ve started your mongrel cluster… that’s bitten me
before when I was getting started
On Tue, Jul 29, 2008 at 05:00:13AM +0200, Redd V. wrote:
anybody see anything wrong? thanks
Probably you have blocked connections via lo0 (127.0.0.1).
However, I do not know pf well and do not know what does
set skip on { lo0 }
mean.
it seems to be running
ps aux | grep www
www 24232 0.0 0.2 3460 2012 ?? SJ 6:34AM 0:00.97 nginx:
worker process (nginx)
www 24233 0.0 0.2 3460 2012 ?? SJ 6:34AM 0:00.93 nginx:
worker process (nginx)
www 24234 0.0 0.2 3460 2012 ?? SJ 6:34AM 0:01.18 nginx:
worker process (nginx)
www 24235 0.0 0.2 3460 2012 ?? SJ 6:34AM 0:01.26 nginx:
worker process (nginx)
www 24236 0.0 0.2 3460 2080 ?? IJ 6:34AM 0:00.00 nginx:
worker process (nginx)
thanks!
wait, do i have to gem install mongrel_cluster or something?
On Tue, Jul 29, 2008 at 11:51:43AM +0200, Redd V. wrote:
worker process (nginx)
www 24236 0.0 0.2 3460 2080 ?? IJ 6:34AM 0:00.00 nginx:
worker process (nginx)
I see nginx processes only. Where are the mongrels ?
sorry, i went into the same trap as jeff emminger
i’ll configure my mongrel cluster now…
skip makes pf not listen to that interface, so i think that part is
free…
i’m sorry i forgot to mention that nginx is running, although i’m
getting the error 500 page…
thank you!