当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
时间: 2024-10-10 06:10:56