疑难杂症

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

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…

8 年前

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…

8 年前

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

9 年前

ghost 中文版 升级记录(0.6.3-0.7.0)

疑难杂症  

Ghost 0.7.0 的主要改进 [新增] 设计新后台界面 [新增] 后台能够搜索博文和用户 [新增] 安装流程(针对新博客) [改进] jQuery 不再包含在 {{ghost_foot}} 输出中 [改进] 保存标签的添加顺序 [改进] {{foreach}} 助手函数 [修复] {{tags}} 和 {{author}} 不出现在用于获取前一篇/后一篇博文的助手函数中 [修复] 多个涉及…