ssh连接时提示grep: write error,求解决!
是这样的,我用lnmp配置了安装WordPress一直挺好的,今天突然WordPress登陆不上,发现是数据库没有响应了。重启了lnmp后显示:Stoping LNMP...Stoping nginx... nginx is not running.
ERROR! MySQL server PID file could not be found!
Gracefully shutting down php-fpm kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l
................................... failed. Use force-quit
Starting LNMP...
Starting nginx...done
Starting MySQL.nginx: pwrite() "/usr/local/nginx/logs/nginx.pid" failed (28: No space left on device)
. ERROR! The server quit without updating PID file (/usr/local/mysql/var/MyCloudServer.pid).
Starting php-fpm ERROR: Unable to write to the PID file.: No space left on device (28)
ERROR: FPM initialization failed
failed
似乎是空间不够,但是我的空间还剩二十多G呢。不知道怎么解决,求老大指点。 发现系统的分区用了100%,可能是这个原因,不过不知道如何解决。还是等老大出来指点下。
# df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/centos-root 8869888 8869868 20 100% /
devtmpfs 918596 0 918596 0% /dev
tmpfs 938100 0 938100 0% /dev/shm
tmpfs 938100 8416 929684 1% /run
tmpfs 938100 0 938100 0% /sys/fs/cgroup
/dev/xvda1 508588206380 30220841% /boot
/dev/mapper/Xvdbgroup-xvdb13073119675162828411824 3% /home No space left on device
所在分区没有空间了,删除不需要的文件或将数据库等文件改到 /home 下,常见问题有解决方法
页:
[1]