解决方案 SHUTDOWN_STATE xmlrpclib.py line: 794 && ERROR: supervisor shutting down

Supervisor操作命令

  1. 重新加载 Supervisor 配置

    复制代码
    sudo supervisorctl reread
    sudo supervisorctl update
    sudo supervisorctl restart all

    这将重新读取 Supervisor 的配置文件,更新进程组,然后重启所有进程。

  2. 查看 Supervisor 日志

    复制代码
    sudo cat /var/log/supervisor/supervisord.log

    这将显示 Supervisor 的日志文件,您可以查看其中的错误信息以获取更多细节。

Supervisorctl异常Case及解决方案

第一种错误Case

supervisord -c /etc/supervisord.conf

错误

Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.

For help, use /bin/supervisord -h


第二种错误Case

supervisorctl status

错误

error: <class 'xmlrpclib.Fault'>, <Fault 6: 'SHUTDOWN_STATE'>: file: /usr/lib64/python2.7/xmlrpclib.py line: 794


第三种错误Case

supervisorctl restart all

错误

error: <class 'xmlrpclib.Fault'>, <Fault 6: 'SHUTDOWN_STATE'>: file: /usr/lib64/python2.7/xmlrpclib.py line: 794


第四种错误Case

supervisorctl reread && supervisorctl update all

错误

ERROR: supervisor shutting down

ERROR: already shutting down

Supervisorctl解决方案

ps -aux|grep supervisor

kill -9 the_pid

supervisord

supervisorctl status

https://github.com/Supervisor/supervisor/issues/48

相关推荐
Sarvartha2 分钟前
三目运算符
linux·服务器·前端
liangdabiao4 分钟前
乐高摩托车深度报告-致敬张雪夺冠 -基于llm-wiki技术自动化写文章的效果
运维·人工智能·自动化
vortex510 分钟前
Kali Linux 安装与使用 Code-OSS / VSCodium :VSCode 轻量替代
linux·运维·编辑器
GuokLiu24 分钟前
260502-Clawith-Docker安装过程
运维·docker·容器·claw
.柒宇.1 小时前
AI掘金头条项目部署实践指南
linux·运维·python·fastapi
budingxiaomoli1 小时前
多机部署,负载均衡-LoadBalancer
运维·spring cloud·负载均衡
JesseDev1 小时前
Docker lnmp环境快速搭建开箱即用
运维·docker·容器
zhangrelay2 小时前
Ubuntu 18.04 经典 / 有趣 / 实用 APT 软件清单
linux·笔记·学习·ubuntu
金牛IT2 小时前
Gogs 轻量级 Git 服务器搭建与使用
运维·服务器·git
不做无法实现的梦~2 小时前
linux怎么使用正点原子无线dap烧录器
linux·运维·postgresql