码迷,mamicode.com
首页 > 编程语言 > 详细

error: <class 'xml.parsers.expat.ExpatError'>, syntax error: line 1, column 0: file: /usr/local/lib/python2.7/xmlrpclib.py line: 557

时间:2017-04-22 01:09:49      阅读:1249      评论:0      收藏:0      [点我收藏+]

标签:led   6.2   soc   errno   就会   host   python   etc   class   

当linux设备上开启sonar6.2时,

supervisorctl status报如下错误:

error: <class ‘xml.parsers.expat.ExpatError‘>, syntax error: line 1, column 0: file: /usr/local/lib/python2.7/xmlrpclib.py line: 557

关闭sonar6.2时,报如下错误:

error: <class ‘socket.error‘>, [Errno 113] No route to host: file: /usr/local/lib/python2.7/socket.py line: 571

据说要关闭防火墙

/usr/sbin/sestatus查看防护墙状态

cat /etc/selinux/config查看防火墙配置

SELINUX=disabled关闭

原来是这两行注释掉了

[inet_http_server]         ; inet (TCP) server disabled by default
port=*:9002

tmd,supervisor.conf的配置太坑了,不小心就会出错

error: <class 'xml.parsers.expat.ExpatError'>, syntax error: line 1, column 0: file: /usr/local/lib/python2.7/xmlrpclib.py line: 557

标签:led   6.2   soc   errno   就会   host   python   etc   class   

原文地址:http://www.cnblogs.com/shengulong/p/6746583.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!