疑难杂症

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

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…

8 年前

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…

9 年前

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…

9 年前

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/…

9 年前

谨慎删除Linux 下目录软链接

疑难杂症  

2015.10.20 事故 留作教训     今日操作目录软件时,本意是修改软链接目录,删除时不慎将软件链接的源目录文件全部删除了。 原来是这样的 删除软链apple,错误的删除方式(喜欢用tab,结果导致多了一个/) rm -fr apple/ 注:这样删除不了软链,会删除apple目录下的所有文件 正确的删除方式 rm -f apple 另…