I did "chmod 0777 /tmp/webpy.sock" and I still got this error: 2009/06/05 01:46:09 [error] 2295#0: *108 connect() to unix:/tmp/ webpy.sock failed (111: Connection refused) while connecting to upstream, client: 192.168.1.125, server: webpy.nginx, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/tmp/webpy.sock:", host: "isamu: 8003"
I run the following: #!/bin/sh /home/frank/bin/spawn-fcgi -d /home/frank/var/webpy \ -f /home/frank/var/webpy/main.py -a 127.0.0.1 -p 9002 \ -P /tmp/webpy.sock And it says: "spawn-fcgi: child spawned successfully: PID: 2291", but when I look at my processes with "ps -u" I don't see that process. Could that be the problem? On Jun 4, 11:26 pm, Alice Zoë Bevan–McGregor <[email protected]> wrote: > Check the permissions on the /tmp/wepy.sock file; default permissions > are very tight. Nginx will need write access to the socket. > > — Alice. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
