首页 > 代码库 > error: <class 'xml.parsers.expat.ExpatError'>, syntax error: line 1, column 0: file: /usr/local/lib/python2.7/xmlrpclib.py line: 557
error: <class 'xml.parsers.expat.ExpatError'>, syntax error: line 1, column 0: file: /usr/local/lib/python2.7/xmlrpclib.py line: 557
当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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。