疑难杂症

Linux运维常用问题处理 收集
5 年前

python xml.etree.Element 在处理 xml文件时写入产生ns0

疑难杂症   ns0   python xml 修改属性  

例如 <manifest xmlns:android="http://schemas.android.com/apk/res/android" <application android:allowBackup="false" android:icon="@drawable/app_icon" android:label="@string/app_name" android…

5 年前

KAFKA - While recording the replica LEO, the partition

疑难杂症   kafka  

Kafka报错: datacenter,11] hasn't been created. (kafka.server.ReplicaManager) [2017-03-30 15:45:46,583] WARN [Replica Manager on Broker 1]: While recording the replica LEO, the partition [lytx2-datacen…

5 年前

MySQL 报错收集整理

MySQL 报错   疑难杂症  

一、MySQL5.6开始提供新特性GTID模式 Warning: Using a password on the command line interface can be insecure. Warning: A partial dump from a server that has GTIDs will by default include the GTIDs of all transac…

6 年前

error: command 'gcc' failed with exit status 1

疑难杂症   mysql-python  

安装mysql-python模块报错如下 easy_install error: Setup script exited with error: command 'gcc' failed with exit status 1 pip error: command 'gcc' failed with exit status 1 解决办法如下 centos yum install gcc lib…

6 年前

su: cannot set user id: Resource temporarily unavailable

疑难杂症   hadoop  

1. 一台CentOS 6.6 hadoop服务器su hadoop时出现以下错误 su: cannot set user id: Resource temporarily unavailable 2. 直接远程ssh hadoop@x.x.xx时出现 Write failed: Broken pipe 3. 原因是hadoop进程数过多,系统ulimit限制太小 查看/etc/security/…