Django Celery beat crashes on start

假装没事ソ 提交于 2019-12-07 03:30:52

问题


I have recently configured a new server with RabbitMQ and Celery. When I try to start Celerybeat on the machine it starts for a few seconds and stops. I have given right permissions to the log files and changed the owners to the Application user. I have also checked the celerybeat.log file and NO errors are registered.

I tried to start it this way in the project folder:

./manage.py celerybeat

And I got this error:

[2010-12-01 09:59:46,127: INFO/MainProcess] process shutting down

Could someone please point me in the right direction here.


回答1:


First thing to do in my opinion and launch it for show you all the output in console and by using the base command celeryd. Try

python manage.py celeryd -B -l DEBUG

I know that a recent update of celery have problem with log files if you launch it with an old version of python (less than 2.6).



来源:https://stackoverflow.com/questions/4323300/django-celery-beat-crashes-on-start

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!