VPS侦探论坛

 找回密码
 注册
查看: 2036|回复: 1

lnmp 1.1 出问题了,uninstall后安装1.4 报错

[复制链接]
发表于 2017-12-8 14:10:47 | 显示全部楼层 |阅读模式

log在附件,谢谢
-- Installing: /usr/local/mysql/bin/mysqlslap
-- Installing: /usr/local/mysql/bin/mysqld
CMake Error at sql/cmake_install.cmake:41 (FILE):
  file INSTALL cannot copy file "/root/lnmp1.4/src/mysql-5.5.56/sql/mysqld"
  to "/usr/local/mysql/bin/mysqld".
Call Stack (most recent call first):

cmake_install.cmake:98 (INCLUDE)


make: *** [install] Error 1
groupadd: group 'mysql' already exists
useradd: user 'mysql' already exists
include/mysql.sh: line 289: 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
chown: cannot access `/usr/local/mysql/var': No such file or directory
include/mysql.sh: line 359: /usr/local/mysql/scripts/mysql_install_db: No such file or directory
cp: writing `/etc/init.d/mysql': No space left on device
include/mysql.sh: line 364: cannot create temp file for here-document: No space left on device
ldconfig: /usr/lib/libmysqlclient.so.18 is not a symbolic link

ldconfig: Writing of cache data failed: No space left on device
Add mysql service at system startup...
error reading information on service mysql: Invalid argument
error reading information on service mysql: Invalid argument
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
failed, try other way...
include/mysql.sh: line 36: cannot create temp file for here-document: No space left on device
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Set password failed!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
FLUSH PRIVILEGES failed!
include/main.sh: line 605: cannot create temp file for here-document: No space left on device
include/main.sh: line 597: echo: write error: No space left on device
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Update root password...
include/main.sh: line 597: echo: write error: No space left on device
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
... Failed!
Remove anonymous users...
include/main.sh: line 597: echo: write error: No space left on device
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
include/main.sh: line 597: echo: write error: No space left on device
ERROR 2002 (HY0

本帖子中包含更多资源

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

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-12-8 18:42:34 | 显示全部楼层


No space left on device

Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1       20G   20G     0 100% /
硬盘空间不足,0了,没法写入
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-24 23:29 , Processed in 0.027296 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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