VPS侦探论坛

 找回密码
 注册
查看: 5632|回复: 17

lnmp 1.9安装失败

[复制链接]
发表于 2022-3-24 21:59:13 | 显示全部楼层 |阅读模式

本帖最后由 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):



美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-3-25 05:08:51 | 显示全部楼层


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.
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-3-25 08:43:10 | 显示全部楼层

https://lnmp.org/install.html 看一下硬盘空间要求是否满足
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-3-25 08:46:45 | 显示全部楼层



Filesystem     1K-blocks    Used Available Use% Mounted on
udev             1967860       0   1967860   0% /dev
tmpfs             402568    1040    401528   1% /run
/dev/vda1       41020640 5646320  33260888  15% /
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
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-3-25 08:47:06 | 显示全部楼层

本帖最后由 yisou 于 2022-3-25 08:48 编辑

40GB的空间。  刚重恢复系统了。 目前什么还没安装。

军哥运维代购:http://shop63846532.taobao.com/

发表于 2022-3-25 10:09:10 | 显示全部楼层

yisou 发表于 2022-3-25 08:47
40GB的空间。  刚重恢复系统了。 目前什么还没安装。

按反馈必读要求提供完整日志
 楼主| 发表于 2022-3-25 16:16:34 | 显示全部楼层

我来重新安装吧。 记录被我删除了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-3-25 20:01:09 | 显示全部楼层

记录已发信息给你了。 军哥!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-3-26 08:10:12 | 显示全部楼层

yisou 发表于 2022-3-25 20:01
记录已发信息给你了。 军哥!

短消息里的链接无法打开
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-3-26 09:42:32 | 显示全部楼层



本帖最后由 yisou 于 2022-3-26 09:43 编辑

我还以为已经下载呢。 为了安全,我删除了。我发你qq了
 楼主| 发表于 2022-3-26 09:52:36 | 显示全部楼层

https://wss1.cn/f/7x6znerrwh9
发表于 2022-3-26 13:07:12 | 显示全部楼层

yisou 发表于 2022-3-26 09:52
https://wss1.cn/f/7x6znerrwh9

你可以自己打开文件看一下,日志是不完整的,只到mysql安装部分,已有日志未报错
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-3-26 20:15:21 | 显示全部楼层
https://wss1.cn/f/7xbfmpztal3
军哥,请再试下。我重新安装了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-3-27 09:31:58 | 显示全部楼层
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: *** [Makefile:151: install] 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满了
你可以在安装过程中在开一个窗口   用下面这个脚本监控一下安装过程中的占用情况
  1. #!/usr/bin/env bash

  2. run(){
  3. used=$(free -m | grep Mem | awk '{print  $3}')
  4. free_space=$(df -h|grep vda1| awk '{print $4}')
  5. free_inode=$(df -i|grep vda1| awk '{print $4}')
  6. echo "Used MEM: $used    |  Free Space: $free_space  | Free inode: $free_inode"
  7. }

  8. while true
  9. do
  10.   run
  11.   sleep 10
  12. done
复制代码

保存为 a.sh  开始安装lnmp后 bash a.sh 运行

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2022-3-27 12:33:43 | 显示全部楼层
我试了bt, 可以正常安装的。 要不我将空间信息经你, 你自己测试?如行,我就将空间恢复为空。目前安装 lnmp1.8, 正常。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 14:58 , Processed in 0.030921 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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