一 问题出现背景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

Actions are commands like "tail" or "stop".  If -i is specified or no action is

specified on the command line, a "shell" interpreting actions typed

interactively is started.  Use the action "help" to find out about available

actions.

通过上面  default /etc/supervisord.conf  得知 supervisorctl 默认使用的配置文件地址,而 supervisor 进程使用的配置文件地址是:  /usr/bin/python /usr/bin/supervisord -c /etc/supervisor/supervisord.conf。

三. 解决方法ln -s /etc/supervisor/supervisord.conf /etc/supervisord.conf

将配置文件软链接到 /etc/supervisord.conf.supervisorctl status

QueueActivity:QueueActivity_0    RUNNING   pid 28293, uptime 0:15:20

QueueAddScore:QueueAddScore_0    RUNNING   pid 28292, uptime 0:15:20

QueueScore:QueueScore_0          RUNNING   pid 28291, uptime 0:15:20

QueueUserArea:QueueUserArea_0    RUNNING   pid 28290, uptime 0:15:20

完美解决!

python socket模块[errno 113_error:相关推荐

  1. python socket.error: [Errno 24] Too many open files

    以openwrt AR9331开发板为例,socket连接到1019个就报错 "python socket.error: [Errno 24] Too many open files&quo ...

  2. python socket.error: [Errno 10054] 远程主机强迫关闭了一个现有的连接。问题解决方案

    python socket.error: [Errno 10054] 远程主机强迫关闭了一个现有的连接.问题解决方案: 前几天使用python读取网页.因为对一个网站大量的使用urlopen操作,所以 ...

  3. python socket.error: [Errno 10054] 解决方法

    python socket.error: [Errno 10054] 解决方法 参考文章: (1)python socket.error: [Errno 10054] 解决方法 (2)https:// ...

  4. python socket模块实现udp通信_Python基于socket模块实现UDP通信功能示例

    Python基于socket模块实现UDP通信功能示例 本文实例讲述了Python基于socket模块实现UDP通信功能.分享给大家供大家参考,具体如下: 一 代码 1.接收端 import sock ...

  5. python socket模块作用_python之socket模块详解--小白博客

    主要是创建一个服务端,在创建服务端的时候,主要步骤如下: 创建socket对象socket-->绑定IP地址和端口bind-->监听listen-->得到请求accept--> ...

  6. Python socket模块

    Socket(套接字) = IP地址:端口号,在网络层通过IP地址找到主机,在传输层通过端口号找到应用进程.每一个传输层连接唯一的被通信两端的两个套接字所确定. python中,通过socket()函 ...

  7. python - socket模块1

    1.使用生活中的接打电话,解释socket通信流程 2.根据上图,写出socket通信的伪代码 2.1.server端伪代码 #买手机 #买手机卡 #开机 #等待电话 #收消息 #发消息 #挂电话 2 ...

  8. python socket.error: [Errno 48] Address already in use

    转载自: http://blog.csdn.net/args_/article/details/52609987 解决方案: 打开终端,输入sudo lsof -i:XXXX xxxx是你刚刚用来开启 ...

  9. python socket模块 和pyqt_使用PyQt和Socket进行聊天编程[标准库]

    我编写了一个程序,在客户端部分经常出现错误,我认为错误来自于client.py中的socket函数.我该怎么办? 服务器.py:# This is my server code , this code ...

最新文章

  1. 程序员的幸福:上个月被裁拿赔偿,这个月找到涨薪50%的工作
  2. 【hdu 6342】Expression in Memories
  3. Mockito测试void方法会引发异常
  4. 如何通过SEO来提升网站转化率?
  5. NYOJ 49 开心的小明
  6. 技术解读|云上企业级存储——打开存储新维度,促进用户核心业务创新
  7. nginx+upsync+consul 构建动态nginx配置系统
  8. 如何使用 Entity Framework 的 DbContext
  9. 继微信支付后 支付宝宣布向银联云闪付开放线上场景
  10. teststand调用python模块_NI TestStand 2019下载-测试管理软件NI TestStand 2019下载v19.0.1 官方版-西西软件下载...
  11. mysql客户端工具_性能优化-理解 MySQL 体系结构(MySQL分库分表)
  12. Java基础学习总结(76)——Java异常深入学习研究
  13. 杭电ACM求平均成绩
  14. 在iphone开发中的get请求和post请求
  15. Eclipse安装WindowsBuilder失败解决方法
  16. php js轮播图片代码,javascript实现焦点图轮播效果代码示例
  17. 抓包工具 - HttpWatch(功能详细介绍)
  18. 大型网络中内部网关路由协议(IGP)的选择
  19. 2020-05-21
  20. Android NFC 应用程序记录ARR

热门文章

  1. linux系统vi光标移动字符,Linux vi中移动光标命令
  2. component动态组件
  3. TICKScript简介
  4. 【GANs】C-RNN-GAN
  5. iOS二维码生成及扫码
  6. 如何用ADB命令删除Android中的系统应用
  7. 流形学习(二) Isomap 在 MATLAB 中的实现及实例
  8. 软件体系结构的基本概念与作用
  9. 操作系统练习题(2)
  10. 火车头V9翻译插件-终极稳定版(翻译10000篇文章不报错)