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

相关推荐
一颗青果5 小时前
HTTP协议详解
linux·网络·网络协议·http
Joy T8 小时前
【AI运维】02 云上基础部署:ECS、OSS 与 Nginx 的体系化理解与实践
运维·nginx
广州灵眸科技有限公司8 小时前
瑞芯微(EASY EAI)RV1126B CAN使用
linux·网络·单片机·嵌入式硬件
石小千9 小时前
Nexus升级(3.63.0--3.87.1)
运维
魂万劫10 小时前
如何在虚拟机VM上|Linux环境内安装windows
linux·运维·服务器·windows
序属秋秋秋11 小时前
《Linux系统编程之进程控制》【进程等待】
linux·c语言·c++·进程·系统编程·进程控制·进程等待
zfj32111 小时前
top 命令中的 wa (IO wait) 指标,理论上几乎完全是由磁盘IO(包括swap)引起的,而不是网络IO
linux·网络·top·iowait
Xの哲學11 小时前
Linux网卡注册流程深度解析: 从硬件探测到网络栈
linux·服务器·网络·算法·边缘计算
数字化转型202511 小时前
SAP Signavio 在风机制造行业的深度应用研究
大数据·运维·人工智能
用户61354114601611 小时前
libicu-62.1-6.ky10.x86_64.rpm 安装步骤详解(麒麟V10系统)
linux