VPS侦探论坛

 找回密码
 注册
查看: 2962|回复: 0

内存够用只有安装Mysql5.7报错,低于mysql5.7都可以安装

[复制链接]
发表于 2018-9-18 11:46:24 | 显示全部楼层 |阅读模式

内核: CentOS Linux release 7.1.1503 (Core)
系统版本: CentOS 7.1内存:2048  (2G free -m后剩余 1652)
问题:装了3遍 Mysql5.7 装到100%后 就报错,低于5.7的都可以正常装。内存够用2G,尝试过卸载mysql5.6后 ./install.sh 装mysql5.7 也不成功
操作系统是64位的。log2M,无法上传。说下错误信息吧。错误信息lnmp-install.log:

```
-- Installing: /usr/local/mysql/mysql-test/./r/subquery_sj_mat_bkaunique.result
CMake Error at mysql-test/cmake_install.cmake:36 (FILE):
  file INSTALL cannot copy file
  "/home/lnmp/lnmp1.4/src/mysql-5.7.18/mysql-test/./r/subquery_sj_mat_bkaunique.result"
  to "/usr/local/mysql/mysql-test/./r/subquery_sj_mat_bkaunique.result".
Call Stack (most recent call first):
  cmake_install.cmake:124 (INCLUDE)


make: *** [install] Fehler 1
groupadd: /etc/group.24655: Auf dem Gerät ist kein Speicherplatz mehr verfügbar
groupadd: /etc/group konnte nicht gesperrt werden; versuchen Sie es später noch einmal.
useradd: Gruppe »mysql« existiert nicht.
include/mysql.sh: Zeile 515: cannot create temp file for here-document: Auf dem Gerät ist kein Speicherplatz mehr verfügbar
sed: -e Ausdruck #1, Zeichen 89: Nicht beendeter `s'-Befehl
chown: ungültiger Benutzer: „mysql:mysql“
2018-09-18T03:10:40.471316Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-09-18T03:10:40.494660Z 0 [ERROR] Fatal error: Can't change to run as user 'mysql' ;  Please check that the user exists!

2018-09-18T03:10:40.494788Z 0 [ERROR] Aborting

chgrp: ungültige Grupp


```

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-4 04:56 , Processed in 0.025525 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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