151214 10:51:33 [ERROR] /www/wdlinux/mysql-5.1.55/libexec/mysqld: Error writing file '/www/wdlinux/mysql-5.1.55/var/wdlinux.pid' (Errcode: 28)
151214 10:51:33 [ERROR] Can't start server: can't create PID file: No space left on device
这个错误。
提示磁盘空间不足
后用df -h 命令查看[root@wdlinux var]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 47634628 45179332 0 100% /
/dev/sda3 1019240 36640 929988 4% /tmp
/dev/sda1 101086 11601 84266 13% /boot
tmpfs 517352 144 517208 1% /dev/shm
查找下磁盘中大于100M的文件
[root@wdlinux var]# find /tmp -size +100000000c
/var/log/vsftpd.log
/var/log/btmp
/www/wdlinux/nginx-0.8.54/logs/access.log
/www/wdlinux/nginx-0.8.54/logs/error.log
/www/wdlinux/nginx-0.8.54/logs/yitischool.cn_error.log
[root@wdlinux var]#rm -rf 日志文件
[root@wdlinux ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 47634628 23027524 22148360 51% /
/dev/sda3 1019240 36640 929988 4% /tmp
/dev/sda1 101086 11601 84266 13% /boot
tmpfs 517352 144 517208 1% /dev/shm