Настройка uwsgi /nginx/ на django на centos

Мне нужна вторая пара глаз, я хочу настроить свой файл theta.ini, но uwsgi получает ошибку из-за непонятного отказа в разрешении в журнале

# this my theta ini file located at /etc/uwsgi/vassals/theta.ini
    [uwsgi]
    http=:8000
    socket=/opt/uwsgi/sock/theta.sock
    chdir=/home/tbricks/theta
    pythonpath=/home/tbricks/theta/django_project
    
    home=/home/tbricks/env
    virtualenv=/home/tbricks/env
    module = django_project.wsgi
    uid = uwsgi
    chmod-socket = 664
    chown-socket = uwsgi

ниже результат запуска wsgi из журнала первая проблема моя virtualenv не выбирается, я не понимаю почему вторая ошибка разрешения ошибка, которая имеет смысл, независимо от того, является ли владелец env root или uwsgi, я получаю эту ошибку, я использую django 3.0.8 и uwsgi 2.0.14, python 3.6.8

.
*** Starting uWSGI 2.0.20 (64bit) on [Thu May 12 14:47:51 2022] ***
compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-44) on 11 May 2022 19:17:58
os: Linux-3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022
nodename: django-server
machine: x86_64
clock source: unix
detected number of CPU cores: 1
current working directory: /
detected binary path: /home/tbricks/env/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 993
setuid() to 996
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 3873
your memory page size is 4096 bytes
detected max file descriptor number: 1024
*** starting uWSGI Emperor ***
execvp(): Permission denied [core/emperor.c line 1484]
[emperor] binary path: /home/tbricks/env/bin/uwsgi
[emperor] is the uwsgi binary in your system PATH ?
Thu May 12 14:47:51 2022 - [emperor] curse the uwsgi instance theta.ini (pid: 8570)
Thu May 12 14:47:51 2022 - [emperor] removed uwsgi instance theta.ini
Вернуться на верх