VPS侦探论坛

 找回密码
 注册
查看: 5099|回复: 2

ssh连接时提示grep: write error,求解决!

[复制链接]
发表于 2016-12-15 23:55:08 | 显示全部楼层 |阅读模式

是这样的,我用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 [sigspec]
................................... failed. Use force-quit
Starting LNMP...
Starting nginx...  done
Starting MySQL.nginx: [crit] 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 [15-Dec-2016 23:52:03] ERROR: Unable to write to the PID file.: No space left on device (28)
[15-Dec-2016 23:52:03] ERROR: FPM initialization failed
failed


似乎是空间不够,但是我的空间还剩二十多G呢。不知道怎么解决,求老大指点。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-12-16 00:17:47 | 显示全部楼层


发现系统的分区用了100%,可能是这个原因,不过不知道如何解决。还是等老大出来指点下。

[root@MyCloudServer ~]# 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                     508588  206380    302208  41% /boot
/dev/mapper/Xvdbgroup-xvdb1  30731196  751628  28411824   3% /home
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-12-16 11:03:31 | 显示全部楼层

No space left on device
所在分区没有空间了,删除不需要的文件或将数据库等文件改到 /home 下,常见问题有解决方法
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-28 07:23 , Processed in 0.025601 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表