解决方案 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

相关推荐
碳基沙盒1 分钟前
OpenClaw 多 Agent 配置实战指南
运维
深紫色的三北六号9 小时前
Linux 服务器磁盘扩容与目录迁移:rsync + bind mount 实现服务无感迁移(无需修改配置)
linux·扩容·服务迁移
SudosuBash13 小时前
[CS:APP 3e] 关于对 第 12 章 读/写者的一点思考和题解 (作业 12.19,12.20,12.21)
linux·并发·操作系统(os)
哈基咪怎么可能是AI1 天前
为什么我就想要「线性历史 + Signed Commits」GitHub 却把我当猴耍 🤬🎙️
linux·github
十日十行2 天前
Linux和window共享文件夹
linux
木心月转码ing2 天前
WSL+Cpp开发环境配置
linux
蝎子莱莱爱打怪3 天前
Centos7中一键安装K8s集群以及Rancher安装记录
运维·后端·kubernetes
崔小汤呀3 天前
最全的docker安装笔记,包含CentOS和Ubuntu
linux·后端
何中应3 天前
vi编辑器使用
linux·后端·操作系统
何中应3 天前
Linux进程无法被kill
linux·后端·操作系统