由于yum install supervisor 会默认使用python2.6环境,首先要安装好python2.6的环境,然后修改以下文件首行为2.6即可

[root@VM_0_15_centos ~]# cat /usr/bin/supervisord
#!/usr/bin/python2.
from supervisor.supervisord import main # __doc__ required to make supervisord -h work
from supervisor.supervisord import __doc__
main() [root@VM_0_15_centos ~]# cat /usr/bin/supervisorctl
#!/usr/bin/python2.
from supervisor.supervisorctl import main # __doc__ required to make supervisorctl -h work
from supervisor.supervisorctl import __doc__
main() [root@VM_0_15_centos ~]#

参考:https://blog.csdn.net/englishsname/article/details/79082684

最新文章

  1. Windows 10 安装双系统 CentOS 7
  2. 修改项目生成Gemfile的模板
  3. C++ malloc new 的区别
  4. php中mysql数据库异步查询实现
  5. 【学习笔记】【C语言】算术运算
  6. HDU5319
  7. JQuery调用iframe父页面元素与方法
  8. Windows SDK笔记(经典--一定要看)
  9. iOS开发:多线程技术概述
  10. Node.js 使用gm处理图像
  11. hdu_2147_kiki's game(博弈)
  12. Java课程设计——GUI密码生成器团队博客
  13. URL模块之parse方法
  14. [国嵌笔记][036][关闭MMU和CACHE]
  15. React Native控件之Listview
  16. 对filter的初步认识
  17. fedora 29 桌面版 设置 cockpit 自动开机启动
  18. SpringSecurityOAuth认证配置及Token的存储
  19. Bower使用笔记
  20. 在linux中安装jdk以及tomcat并shell脚本关闭启动的进程

热门文章

  1. redux有价值的文档
  2. 关于“Error: listen EADDRINUSE: address already in use 127.0.0.1:3000”
  3. POJ2139-Six Degrees of Cowvin Bacon-(Floyd_Warshall)
  4. (11)树莓派3 有线网卡静态IP设置
  5. selenuim自动化爬取汽车在线谷米爱车网车辆GPS数据爬虫
  6. 【AtCoder】 ARC 096
  7. 敏捷项目管理—Scrum框架总结
  8. .Net Core3 新特性整理
  9. SpringBoot——Profile多环境支持
  10. 我的node-webkit笔记