lnmp 1.9安装失败
本帖最后由 yisou 于 2022-3-24 22:05 编辑华为ECS, 2核4G。 Ubuntu20.04 x86-64php8.1, mysql 8
-- Installing: /usr/local/mysql/mysql-test/./std_data/upgrade/export_wl13352_8019_mac_lctn_1.zip
-- Installing: /usr/local/mysql/mysql-test/./std_data/upgrade/export_wl13352_8017.zip
-- Installing: /usr/local/mysql/mysql-test/./std_data/upgrade/data_80013.zip
CMake Error at mysql-test/cmake_install.cmake:41 (file):
file INSTALL cannot copy file
"/abiao/lnmp1.9/src/mysql-8.0.28/mysql-test/./std_data/upgrade/data_80013.zip"
to "/usr/local/mysql/mysql-test/./std_data/upgrade/data_80013.zip": No
space left on device.
Call Stack (most recent call first):
Checking ...
Nginx: OK
Error: MySQL install failed.
PHP: OK
PHP-FPM: OK
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum. https://lnmp.org/install.html 看一下硬盘空间要求是否满足 Filesystem 1K-blocks Used Available Use% Mounted on
udev 1967860 0 1967860 0% /dev
tmpfs 402568 1040 401528 1% /run
/dev/vda1 41020640 56463203326088815% /
tmpfs 2012832 0 2012832 0% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 2012832 0 2012832 0% /sys/fs/cgroup
tmpfs 402564 0 402564 0% /run/user/0 本帖最后由 yisou 于 2022-3-25 08:48 编辑
40GB的空间。刚重恢复系统了。 目前什么还没安装。 yisou 发表于 2022-3-25 08:47
40GB的空间。刚重恢复系统了。 目前什么还没安装。
按反馈必读要求提供完整日志 我来重新安装吧。 记录被我删除了 记录已发信息给你了。 军哥! yisou 发表于 2022-3-25 20:01
记录已发信息给你了。 军哥!
短消息里的链接无法打开 本帖最后由 yisou 于 2022-3-26 09:43 编辑
我还以为已经下载呢。 为了安全,我删除了。我发你qq了 https://wss1.cn/f/7x6znerrwh9 yisou 发表于 2022-3-26 09:52
https://wss1.cn/f/7x6znerrwh9
你可以自己打开文件看一下,日志是不完整的,只到mysql安装部分,已有日志未报错 https://wss1.cn/f/7xbfmpztal3
军哥,请再试下。我重新安装了。 yisou 发表于 2022-3-26 20:15
https://wss1.cn/f/7xbfmpztal3
军哥,请再试下。我重新安装了。
-- Installing: /usr/local/mysql/mysql-test/./std_data/upgrade/data_57_clean.zip
-- Installing: /usr/local/mysql/mysql-test/./std_data/upgrade/data_57_help_tables.zip
-- Installing: /usr/local/mysql/mysql-test/./std_data/upgrade/data_80013_sql_modes.zip
-- Installing: /usr/local/mysql/mysql-test/./std_data/upgrade/80016_subpart.zip
CMake Error at mysql-test/cmake_install.cmake:41 (file):
file INSTALL cannot copy file
"/abiao/lnmp1.9/src/mysql-8.0.28/mysql-test/./std_data/upgrade/80016_subpart.zip"
to "/usr/local/mysql/mysql-test/./std_data/upgrade/80016_subpart.zip": No
space left on device.
Call Stack (most recent call first):
cmake_install.cmake:140 (include)
make: *** Error 1
groupadd: /etc/group.96520: No space left on device
groupadd: cannot lock /etc/group; try again later.
useradd: group 'mysql' does not exist
include/mysql.sh: line 641: cannot create temp file for here-document: No space left on device
mkdir: cannot create directory ‘/usr/local/mysql/var’: No space left on device
按日志提示就是空间不足了,一种原因是inode满了,第二个原因就是block满了
你可以在安装过程中在开一个窗口 用下面这个脚本监控一下安装过程中的占用情况
#!/usr/bin/env bash
run(){
used=$(free -m | grep Mem | awk '{print$3}')
free_space=$(df -h|grep vda1| awk '{print $4}')
free_inode=$(df -i|grep vda1| awk '{print $4}')
echo "Used MEM: $used |Free Space: $free_space| Free inode: $free_inode"
}
while true
do
run
sleep 10
done
保存为 a.sh开始安装lnmp后 bash a.sh 运行 我试了bt, 可以正常安装的。 要不我将空间信息经你, 你自己测试?如行,我就将空间恢复为空。目前安装 lnmp1.8, 正常。
页:
[1]
2