当前位置:网站首页>celery 启动beat出现报错ERROR: Pidfile (celerybeat.pid) already exists.
celery 启动beat出现报错ERROR: Pidfile (celerybeat.pid) already exists.
2022-07-24 15:17:00 【上海-悠悠】
前言
启动celery beat出现报错Pidfile (celerybeat.pid) already exists.
看这个报错说是Pidfile 文件 ‘celerybeat.pid’ 已存在了
解决办法
执行启动beat服务时
>celery -A 项目名称 beat -l info
会在项目根目录下自动创建一个文件
pidfile:默认为celerybeat.pid,保存在项目根目录。
报错说已经存在,那删除就可以解决了

停掉服务的时候,这个文件会自动删除,下次启动服务重新创建一个新的celerybeat.pid
出现这个问题的原因:可能是启动服务的时候,没正常关闭服务,直接关机,导致停掉服务的时候,文件没被删除
边栏推荐
- VSCode如何调试Nodejs
- DS diagram - the shortest path of the diagram (excluding the code framework)
- Error when using Fiddler hook: 502 Fiddler - connection failed
- Unity 使用NVIDIA FleX for Unity插件实现制作软体、水流流体、布料等效果学习教程
- Research Summary / programming FAQs
- 【OpenCV 例程300篇】238. OpenCV 中的 Harris 角点检测
- 新手第一次怎么买股票 哪家证券公司开户最好最安全
- 【Bug解决】Win10安装pycocotools报错
- Huawei wireless device configuration wpa2-802.1x-aes security policy
- Spark: get the access volume of each time period in the log (entry level - simple implementation)
猜你喜欢

Under multi data source configuration, solve org.apache.ibatis.binding Bindingexception: invalid bound statement (not found) problem

Discussion on the basic use and address of pointer in array object

2022 robocom world robot developer competition - undergraduate group (provincial competition) -- fifth question tree and bipartite diagram (completed)

zabbix管理员忘记登录密码

Explain the edge cloud in simple terms | 2. architecture

Activity Registration: how to quickly start the open source tapdata live data platform on a zero basis?

深度学习中的学习率调整策略(1)

AG. DS binary tree -- hierarchical traversal

27.目录与文件系统

Outlook tutorial, how to set rules in outlook?
随机推荐
新手第一次怎么买股票 哪家证券公司开户最好最安全
Kotlin class and inheritance
Tiger mouth waterfall: Tongliang version of xiaohukou waterfall
Fraud detection cases and Titanic rescued cases
A common Dao class and util
2022 RoboCom 世界机器人开发者大赛-本科组(省赛) CAIP 完整版题解
Date processing bean
Operation of MySQL Library
26.文件使用磁盘的代码实现
VAE(变分自编码器)的一些难点分析
Comparison of traversal speed between map and list
Outlook tutorial, how to set rules in outlook?
Spark: specify the date and output the log of the corresponding date (entry level - simple implementation)
Which securities company is the best and safest to open an account? How to open an account and speculate in stocks
DDD based on ABP -- Entity creation and update
华为相机能力
Use of keywords const, volatile and pointer; Assembly language and view of register status
【USENIX ATC'22】支持异构GPU集群的超大规模模型的高效的分布式训练框架Whale
打假Yolov7的精度,不是所有的论文都是真实可信
华为无线设备配置WPA2-802.1X-AES安全策略