Welcome! Log In Create A New Profile

Advanced

Re: uwsgi problems

Steven Williams
October 09, 2014 04:54PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/09/2014 12:49 PM, Greg Barker wrote:
> Option #2 should work, here's what I have for my uwsgi site.
> Double check your permissions on the directory the uwsgi.sock lives
> in.
>
> My nginx conf: location / { uwsgi_pass
> unix:///var/www/my_app/my_virtualenv/run/uwsgi.sock; include
> uwsgi_params; }

Changed my configuration to use the unix:/// notation. Still no change
as I am getting a 50x type error.

>
> Directory permissions: $ ls -la /var/www/my_app/my_virtualenv/run/
> total 12 drwxr-xr-x 2 www-data www-data 4096 Sep 29 13:03 .
> drwxr-xr-x 7 www-data www-data 4096 Jul 22 23:05 .. srwxr-xr-x 1
> www-data www-data 0 Sep 29 13:03 uwsgi.sock

The permission bits match (755), but they are root. On my system
(Fedora 20 on my laptop; CentOS 7 on my VPS) I do not have a www-data
user or group.

> My vassal contains: [uwsgi] socket =
> /var/www/my_app/my_virtualenv/run/uwsgi.sock uid = www-data gid =
> www-data

I don't have a vassal setup, but that doesn't make a huge difference
for just testing does it?

Is there a good, current thorough guide that I can follow?


Steven Williams
My PGP Key: http://pgp.mit.edu/pks/lookup?op=get&search=0xCACA6C74669A54FA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUNvWVAAoJEMrKbHRmmlT6rgkP/3oFcVvKss3Aaf9Vv9BkOxmL
U3t6TZ72MNpWZhDHz85iOSKrElr7ehiXwIpgEC+Id+2+cJzHPIoBsakw94vcqUeK
pVhI8yJ7rqLVryXLYo5rFnXyQl4AvOP6HlRUPPbtGuF81BaAGYi5kuUQdddLzK7T
558wycBN7ZhO5+/UTKqHEohlp+cc9StTkxzy5tcI5/2mJjYkxcusPua1dTW3hJjg
rypT7S0QBA9pwahdVHdSofySnwNG53fvE4gmwlkDpxJzS04gNw4LHsKeP4v9dU3X
5Qiibmtfd2GKw8C4JpPfJXsqObJHyc6sIRP2bHZ102QekwidgeXE7LpZTn9jHl4b
PYN22at8PPBNSWmPnxiEMIvPvAWDeoS1390ADUGFQ4nDK9iM/DTWaQ1u+T59XooB
oXYuzCSqgKmDN5aRYfLQRpEXORb/ur6LCQfCLlthuSZJnPt1jeUtz9zJghos88i2
vXyJo2DKswYEV9gwoeeStntZ/NfKib990lUS5R47e5yE9y2JXk1jPi8VeZ2omWVl
SMKNQF/6w30625OQEXLxylG8Yjxzkox/Cz33+ywL179UZghmNY5X4vHrH22DpjVA
FIFjDlkC5KfuhMf7jvFhummL9u9DVFaWXZTpDTvb/POrFdJJH2p1eDcNgzfV0mqK
i30xy/3rHRgGZpT/1sWL
=afHF
-----END PGP SIGNATURE-----

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

uwsgi problems

Steven Williams October 09, 2014 08:48AM

Re: uwsgi problems

fletchowns October 09, 2014 01:52PM

Re: uwsgi problems

Steven Williams October 09, 2014 04:54PM

Re: uwsgi problems

fletchowns October 09, 2014 05:54PM

Re: uwsgi problems

roberto October 10, 2014 01:20AM

Re: uwsgi problems

Steven Williams October 12, 2014 01:54PM

Re: uwsgi problems

Valentin V. Bartenev October 10, 2014 11:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 122
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready