Open ondratu opened 4 years ago
error is from version 2.0.16 version 2.0.15 works
Hi, does using http-socket instead of http fixes the issue ?
No
** Starting uWSGI 2.0.18-debian (64bit) on [Thu Mar 5 21:06:41 2020] ***
compiled with version: 9.2.1 20200224 on 28 February 2020 14:19:58
os: Linux-5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13)
nodename: dell
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 12
current working directory: /etc/uwsgi-emperor
writing pidfile to /srv/example_net/var/run/uwsgi.pid
detected binary path: /usr/bin/uwsgi-core
uWSGI running as root, you can use --uid/--gid/--chroot options
chroot() to /srv/example_net
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
your processes number limit is 62687
your memory page size is 4096 bytes
detected max file descriptor number: 1024
building mime-types dictionary from file /etc/mime.types...567 entry found
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 127.0.0.1:31001 fd 3
uWSGI running as root, you can use --uid/--gid/--chroot options
chroot() to /srv/example_net
chroot(): No such file or directory [core/utils.c line 592]
Hey @ondratu , I've pushed a fix on top of 2.0.18. If you want to give it a shot:
$ pip --no-cache install git+https://github.com/awelzel/uwsgi.git@do-not-chroot-multiple-times-2.0
You can find a description in #2132 .
@rdeioris - thoughts if that is good enough?
thx @awelzel, it works ! :-) :+1:
I am also facing same issue. Which version fixes this?
As i write here http://lists.unbit.it/pipermail/uwsgi/2020-February/009028.html, i try to use chroot on my Debian Buster. I do some another example on another machine with the same problem. Here is another log when i use only chroot (no uid or gid).
Problem is in master process, when i disable it by
master=false
, uwsgi starts.and the log after start