我在amazon aws服务器上运行supervisor/celery。尝试部署新的应用程序版本最终会失败,因为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-slowtasksceleryd-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没有提到芹菜。你知道如何开始解决这个问题吗?
https://stackoverflow.com/questions/47560743
复制相似问题