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

时间: 2024-10-10 06:10:56

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

Error: Could not stat() command file &#39;/usr/local/nagios/var/rw/nagios.cmd&#39;!

Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! 解决方法: setenforce 0 Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!,码迷,mamicode.com Error: Could not stat() command file '/usr/local/nagios/var/rw/

mysql: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP

Error Symptom: when you run $mysql -u root -p command in the linux you get an error message ” mysql: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP” Solution: Step 1: Login as root Step 2: Go to folder path #cd/usr/local/l

aclocal: error: aclocal: file &#39;/usr/local/share/aclocal/wxwin.m4&#39; does not exist

1. 查找wxwin.m4文件 mdfind -name wxwin.m4 2. 删除/usr/local/share/aclocal/wxwin.m4,建立软连接 cd /usr/local/share/aclocal/ rm wxwin.m4 ln -s /usr/local/*/**/***l/wxwin.m4 wxwin.m4 aclocal: error: aclocal: file '/usr/local/share/aclocal/wxwin.m4' does not exist

Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/vm10-0-0-19

输入:service mysqld start 报错: Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/vm10-0-0-19.ksc.com.pid). 解决: ./scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql/ --datadir=/usr/local/mysql/data/ 参考

mac 安装polymer cli Error: EACCES: permission denied, mkdir &#39;/usr/local/lib/node_modules/polymer-cli/node_modules/wd/build&#39;

安装的时候根据说明,需要使用npm install -g polymer-cli命令,但是一直提示没有权限, 后来增加sudo后提示如下, Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/polymer-cli/node_modules/wd/build' at Object.fs.mkdirSync (fs.js:905:18) at sync (/usr/local/lib/node_modules/p

Linux Centos 启动mysql ERROR * The server quit without updating PID file (/usr/local/mysql/data/mysql.pid).

做了一些尝试:比如kill -9 进程id  发现根本就杀不死. 查看ERROR.LOG 2015-12-07 18:50:08 29710 [ERROR] /usr/local/mysql/bin/mysqld: unknown variable 'scripts/mysql_install_db --user=mysql' 第一感觉:百度了下.大部分都是说安装的时候有这个问题:感觉场景不太一样:回到原点继续想: scripts/mysql_install_db --user=mysql --

错误: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: PC

su - root mkdir temp mv /local/ldconfig  apt-get update

Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/localhost.localdomain.pid).

? [[email protected] ~]# cd /usr/local/mysql ? [[email protected] mysql]# chown -R mysql.mysql . [[email protected] mysql]# su - mysql [[email protected] ~]$ cd /usr/local/mysql [[email protected] mysql]$ scripts/mysql_install_db ??

报错解决——pytesseract.pytesseract.TesseractError: (1,’Error opening data file /usr/local/share/tessdata/eng.traineddata’)

解决方法:(原文地址http://stackoverflow.com/questions/14800730/tesseract-running-error) $ wget https://tesseract-ocr.googlecode.com/files/eng.traineddata.gz $ gunzip eng.traineddata.gz $ sudo mv -v eng.traineddata /usr/local/share/tessdata/ 原文地址:https://www.c