[Koha-bugs] [Bug 9316] Add Nginx install options with plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 2 19:32:42 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9316

--- Comment #10 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
(In reply to comment #9)
> I too had a go with the 502 errors from nginx.  What I was seeing was a
> permissions error for the user for the plack script. You are probably seeing
> the same issue.  If you run a tail -f /var/log/nginx/error.log (or where
> ever your log dir is) you should probably see something similar.  I assumed
> it was just my setup.  I resolved the issue by starting plack as the sudo
> user.  Zebra runs as the koha user but I am thinking it may be a requirement
> to run plack as root.

I am running Plack as my regular user without any problems. My permissions are:
jcamins at kohadev:~/kohaclone$ ls -lR ~/koha-dev/var/run
/home/jcamins/koha-dev/var/run:
total 8
-rw-rw-r-- 1 jcamins jcamins     5 Jan  1 22:00 plack.pid
srwxrwxr-x 1 jcamins www-data    0 Jan  1 22:00 plack.sock
drwxr-xr-x 2 jcamins www-data 4096 Dec 28 14:31 zebradb

/home/jcamins/koha-dev/var/run/zebradb:
total 4
srw-rw-rw- 1 jcamins jcamins   0 Dec 28 14:31 authoritysocket
srw-rw-rw- 1 jcamins jcamins   0 Dec 28 14:31 bibliosocket
-rw-r--r-- 1 jcamins www-data 26 Oct  8 16:11 README

I think the important bit is the group of the plack.sock file.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list