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

相关推荐
Maple_land16 分钟前
Linux进程第八讲——进程状态全景解析(二):从阻塞到消亡的完整生命周期
linux·运维·服务器·c++·centos
嵌入式分享18 分钟前
嵌入式分享#41:RK3576改UART波特率【精简版】
linux·嵌入式硬件·ubuntu·嵌入式
爱吃生蚝的于勒20 分钟前
【Linux】零基础学会Linux之权限
linux·运维·服务器·数据结构·git·算法·github
惜.己28 分钟前
linux中jenkins正常启动外部无法访问
linux·servlet·jenkins
Cyan_RA940 分钟前
Linux 远程Ubuntu服务器本地部署大模型 EmoLLM 中常见的问题及解决方案 万字详解
linux·运维·服务器·ubuntu·大模型·远程部署·emollm
minji...1 小时前
Linux相关工具vim/gcc/g++/gdb/cgdb的使用详解
linux·运维·服务器·c++·git·自动化·vim
web安全工具库1 小时前
Linux 高手进阶:Vim 核心模式与分屏操作详解
linux·运维·服务器·前端·数据库
egoist20231 小时前
[linux仓库]信号产生[进程信号·贰]
linux·键盘·系统调用·信号产生·软件条件
不会调制解调的猫1 小时前
笔记 | 内网服务器通过wifi穿透,设置流量走向
运维·服务器·笔记
河藕Hou2 小时前
Linux - 磁盘/逻辑卷的分区&格式化&挂载
linux