root用户celery无法启动

问题

Running a workerwithsuperuser privileges when theworker accepts messages serializedwithpickle is a very bad idea!If you really want tocontinuethen you have to set the C_FORCE_ROOTenvironment variable (but please think aboutthisbefore youdo

第一步:参考该文章安装Redis

https://blog.csdn.net/szj_jojoli/article/details/99725831

第二步:解决方案

1.临时方案
 export C_FORCE_ROOT="true"
2.永久方案
vim /etc/profile
添加:export C_FORCE_ROOT="true"
发布了42 篇原创文章 · 获赞 7 · 访问量 14万+

猜你喜欢

转载自blog.csdn.net/szj_jojoli/article/details/99846153