How do I get nginx/uwsgi to open the .sock file?
nginx fails with permission denied.
Note: I can start the server manually with
uwsgi -s /run/uwsgi/fixdsite.sock
as the proper user and then the sock appears. But nginx is supposed to be doing that via the uwsgi module and not me.
session:
*** Starting uWSGI 2.0.17.1 (64bit) on [Sat Sep 22 15:44:18 2018] ***
compiled with version: 5.4.0 20160609 on 21 September 2018 09:17:43
os: Linux-4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018
nodename: dell
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /var/www/fixdsite.com/html/fixdsite
detected binary path: /usr/local/bin/uwsgi
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 30468
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to UNIX address /run/uwsgi/fixdsite.sock fd 3
Python version: 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x139d270
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 72920 bytes (71 KB) for 1 cores
*** Operational MODE: single process ***
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 8484, cores: 1)
I am getting 'permission denied' when I try and connect to my url.
My config is new and vhost.
log error:
uwsgi-site.ini:
passwd file:
directory permissions:
My sites-available file:
How do I get nginx/uwsgi to open the .sock file? nginx fails with permission denied.
Note: I can start the server manually with
as the proper user and then the sock appears. But nginx is supposed to be doing that via the uwsgi module and not me.
session: