【发布时间】:2020-07-22 16:00:03
【问题描述】:
我正在尝试使用 uwsgi 在 linux 上运行烧瓶。我的网络服务器是 nginx。 但它不起作用。
我正在使用 Vmware for linux。我的 HostPC 是 Window。
我在 guestPC(linux) 和 hostPC 之间共享文件。
linux上的shared_folder路径是/mnt/hgfs/shared_folder/web
我在 /venv/web 上创建了目录并将这个目录链接到 /mnt/hfs/shared_folder/web 并在 /venv/web 上制作了 uwsgi.ini 文件
猫 uwsgi.ini:
[uwsgi]
module=run:app
master=true
processes=5
socket=web.sock
chmord-socket=660
vacuum=true
die-on-term=true
logto=%n.log
日志文件是:
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
bind(): No such file or directory [core/socket.c line 230]
但是当我将 ini 文件移动到 /venv/ 时,该目录不是与 window 共享的目录。 我用这个命令行运行它:uwsgi uwsgi.ini。它有效。
我在linux上制作了这个ini文件,格式是ASCII。
我做错了什么??
【问题讨论】: