打印

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

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

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
附件: 您所在的用户组无法下载或查看附件

TOP

No space left on device

Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1       20G   20G     0 100% /
硬盘空间不足,0了,没法写入

TOP