python socket模块[errno 113_error:

在使用Supervisorctl更新时遇到'Errno 113' No route to host错误。问题源于配置文件路径不一致。通过查看帮助信息,发现默认配置文件为'/etc/supervisord.conf',而实际进程使用'/etc/supervisor/supervisord.conf'。解决方法是创建软链接,将配置文件指向正确位置。执行ln -s /etc/supervisor/supervisord.conf /etc/supervisord.conf后,问题得到解决。
摘要由CSDN通过智能技术生成

一 问题出现背景supervisorctl update

error: , [Errno 113] No route to host: file: /usr/lib64/python2.7/socket.py line: 571

二 查找出现问题的原因:/usr/bin/supervisorctl -hsupervisorctl -- control applications run by supervisord from the cmd line.

Usage: /usr/bin/supervisorctl [options] [action [arguments]]

Options:

-c/--configuration -- configuration file path (default /etc/supervisord.conf)

-h/--help -- print usage message and exit

-i/--interactive -- start an interactive shell after executing commands

-s/--serverurl URL -- URL on which supervisord server is listening

(default "http://localhost:9001").

-u/--username -- username to use for authentication with server

-p/--password -- password to use for authentication with server

-r/--history-file -- keep a readline history (if readline is available)

action [arguments] -- see below

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值