Django Celery在开始时击败了崩溃 [英] Django Celery beat crashes on start

查看:104
本文介绍了Django Celery在开始时击败了崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我已经配置了一个新的RabbitMQ和Celery服务器。当我尝试在机器上启动Celerybeat时,它会启动几秒钟并停止。我已经对日志文件提供了正确的权限,并将所有者更改为应用程序用户。我也检查了celerybeat.log文件,并且没有注册错误。



我试图以这种方式在项目文件夹中启动:

  ./ manage.py celerybeat 

我收到这个错误:

  [2010-12-01 09:59:46,127:INFO / MainProcess]进程关闭

有人可以在这里指向我正确的方向。

解决方案

在我看来,首先要做的是启动它,以显示控制台中的所有输出,并使用基本命令celeryd。
尝试

  python manage.py celeryd -B -l DEBUG 

我知道如果使用旧版本的python(小于2.6)启动它,芹菜的最新更新会对日志文件有问题。 >

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.

解决方案

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).

这篇关于Django Celery在开始时击败了崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆