I just finished a new 2.0 install on Ubuntu 12.04, using Jeremy's
script. I couldn't get the curl lines to work, so replaced them with
wget. This seemed to work fine for the install. However, I am getting
the Nginx 502 gateway error .
a.sock failed (13: Permission denied) while connecting to upstream,
client: ::ffff:10.10.1.15, server: relay-3.lctn.org, request: "GET /
HTTP/1.1", upstream: "uwsgi://unix:///var/run/baruwa/baruwa.sock:",
host: "relay-3.domain.com"
^C
I dug around and found one of my old post with the same error, but don't
recall how I resolved it. (Nginx is running as www-data). For testing
purposes, setting perms to 777 on /var/run/baruwa eliminates the
permision denied error, but produces the following:
"upstream prematurely closed connection while reading response header
from upstream"
Also, a reboot changes the perms back to what I have here:
root@relay-3:~# ls -l /var/run/baruwa
total 4
srw-rw---- 1 baruwa baruwa 0 Aug 28 13:57 baruwa.sock
-rw-r--r-- 1 root root 5 Aug 28 13:57 celeryd.pid
Any ideas?
--
Raymond Norton
LCTN
952.955.7766
_______________________________________________
http://pledgie.com/campaigns/12056