170318 11:44:26 [ERROR] Can't start server: can't create PID file: No space left on device
生活随笔
收集整理的這篇文章主要介紹了
170318 11:44:26 [ERROR] Can't start server: can't create PID file: No space left on device
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
數據庫掛了。打開遠程,進了系統,service mysqld stop 失敗。service mysqld start等了好大一會,提示Timeout error occurred trying to start MySQL Daemon
出現Can't start server: can't create PID file: No space left on device這個錯誤。
提示磁盤空間不足
后用df -h 命令查看
竟然發現磁盤容量全部用完了,于是要查看是誰占用了
用命令:
find . -type f -size +100M
查找下磁盤中大于100M的文件
竟然出現:
mysqld stop成功。
估計是掛載了兩次光盤導致磁盤容量占滿了,刪除掉一個
卸載光驅
卸載光驅的命令一般用umount,語法格式如下
/sbin/umount.<suffix> {dir|device} [-nlfvr]
取消掛載之后RHEL_6.0 x86_64 Disc 1只是一個空的文件夾/目錄。
刪除掉一個200多MB的文件還是不行
轉載于:https://www.cnblogs.com/ZHONGZHENHUA/p/6573019.html
總結
以上是生活随笔為你收集整理的170318 11:44:26 [ERROR] Can't start server: can't create PID file: No space left on device的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Python 标准库 —— zipfil
- 下一篇: EFCore+MSSS CodeFirs