【发布时间】:2018-05-13 15:09:57
【问题描述】:
我在亚马逊 AWS 服务器上运行主管/芹菜。尝试部署新的应用程序版本最终会失败,因为 celery 进程没有启动。我查看了 supervisord.conf 文件,以确保包含这些程序,它们是。在 supervisord.conf 文件的末尾,我包含以下内容:
[include]
files=celeryd.conf
files=flower.conf
我尝试用
重新启动芹菜sudo /usr/local/bin/supervisorctl -c /opt/python/etc/supervisord.conf restart celeryd-default celeryd-slowtasks
celeryd-defualt 和 celeryd-slowtaks 是 celeryd.conf 中列出的程序的名称。我收到以下错误:
celeryd-default: ERROR (no such process)
celeryd-slowtasks: ERROR (no such process)
celeryd-default: ERROR (no such process)
celeryd-slowtasks: ERROR (no such process)
如果我跑步
sudo /usr/local/bin/supervisorctl -c /opt/python/etc/supervisord.conf restart all
我明白了
flower: stopped
httpd: stopped
httpd: started
flower: started
没有提到芹菜。知道如何开始解决这个问题吗?
【问题讨论】:
标签: amazon-web-services amazon-ec2 celery supervisord celeryd