小编xyx*_*yxc的帖子

supervisorctl 总是报错:ERROR (no such file)

我使用 uwsgi?supervisor 和 nginx 部署我的 django 项目。但是我已经在/etc/supervisord.conf 中添加了我的程序,就像上面一样。

[program:JZAssist]
command=-E uwsgi --ini /home/work/xxxx/uwsgi.ini
directory=/home/work/xxxx
startsecs=0
stopwaitsecs=0
autostart=true
autorestart=true
Run Code Online (Sandbox Code Playgroud)

我的 uwsgi.ini 内容是:

[uwsgi] 
socket = :8000 
chdir = /home/work/xxxx 
module = xxxx.wsgi 
master = true 
processes = 4 
vacuum = true 
Run Code Online (Sandbox Code Playgroud)

xxxx 是我的项目名称。

supervisorctl -c /etc/supervisord.conf restart all在cmd中运行。它显示

xxxx: ERROR (no such file)
Run Code Online (Sandbox Code Playgroud)

/tmp/supervisord.log 部分内容:

2017-02-24 23:31:41,433 INFO gave up: JZAssist entered FATAL state,         too many start retries too quickly
2017-02-24 23:52:29,940 WARN Failed to clean up '/tmp/JZAssist-stderr---supervisor-goPZyS.log'
2017-02-24 …
Run Code Online (Sandbox Code Playgroud)

django nginx supervisord django-supervisor

7
推荐指数
1
解决办法
1万
查看次数

标签 统计

django ×1

django-supervisor ×1

nginx ×1

supervisord ×1