mysql无法启动,报错 Can't start server: can't create PID file: No space left on device
2015-05-12 21:31
567 查看
最近在维护linux服务器时发现,网站打不开了,经过检查发现是mysql数据库宕掉了,死活就是启动不起来。
然后看mysql日志文件
出现Can't start server: can't create PID file: No space left on device
这个错误。
提示磁盘空间不足
后用df -h 命令查看
竟然发现磁盘容量全部用完了,于是要查看是谁占用了
用命令:
find /tmp -size +100000000c
查找下磁盘中大于100M的文件
竟然出现:
tomcat的日志文件占用了443G,真是可恶啊啊
删掉此日志文件
rm -rf catalina.out
重新启动mysql即可。
转载自:http://qiliuping.blog.163.com/blog/static/10238293201191345133627/
然后看mysql日志文件
出现Can't start server: can't create PID file: No space left on device
这个错误。
提示磁盘空间不足
后用df -h 命令查看
竟然发现磁盘容量全部用完了,于是要查看是谁占用了
用命令:
find /tmp -size +100000000c
查找下磁盘中大于100M的文件
竟然出现:
tomcat的日志文件占用了443G,真是可恶啊啊
删掉此日志文件
rm -rf catalina.out
重新启动mysql即可。
转载自:http://qiliuping.blog.163.com/blog/static/10238293201191345133627/
相关文章推荐
- mysql无法启动,报错 Can't start server: can't create PID file: No space left on device
- mysql:Can't start server: can't create PID file: No space left on device
- mysql 无法启动的原因Can't start server: can't create PID file: No space left on device
- Can't start server: can't create PID file: No space left on device
- linux磁盘空间不足:Can't start server: can't create PID file: No space left on device
- 在本地计算机无法启动mysql服务 错误1067:进程意外中止 日志错误:MySQL: Can't create/write to file 'D:\\mysql\Data\admin.pid' (Errcode: 13)
- MySql启动报 write error: No space left on device问题解决
- Linux出现cannot create temp file for here-document: No space left on device的问题解决
- ubuntu cd /h tab键显示错误:bash: cannot create temp file for here-document: No space left on device
- cannot create temp file for here-document: No space left on device
- Android模拟器无法启动 -----No space left on device
- cannot create temp file for here-document: No space left on device
- 树莓派使用Tab键后提示bash: cannot create temp file for here-document: No space left on device
- cannot create temp file for here document: No space left on device
- mysql: Can’t start server: can’t create PID file:Permission denied 错误解决
- android模拟器无法启动 -----No space left on device
- mysql服务无法启动,ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)解决办法
- ORA-09817: Write to audit file failed Linux-x86_64 Error: 28: No space left on device
- 启动mysql报错The server quit without updating PID file!
- Perl ERROR "Failure to create message queue, No space left on device "