linux deploy安装lnmp失败
上传不了,log放在临时网盘链接:https://c-t.work/s/b6533f54ebd84c
换了个系统,重装了lnmp,安装成功了,mysql不能启动
Starting MySQL
... * The server quit without updating PID file (/usr/local/mysql/var/localhost.pid).
/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...
* MySQL server PID file could not be found!
Starting MySQL
... * The server quit without updating PID file (/usr/local/mysql/var/localhost.pid).
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!
* MySQL server PID file could not be found!
Starting MySQL
... * The server quit without updating PID file (/usr/local/mysql/var/localhost.pid).
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Update root password...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
... Failed!
Remove anonymous users...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
... Failed!
Disallow root login remotely...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
... Failed!
Remove test database...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
... Failed!
Reload privilege tables...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
... Failed!
* MySQL server PID file could not be found!
Starting MySQL
... * The server quit without updating PID file (/usr/local/mysql/var/localhost.pid).
* MySQL server PID file could not be found!
本帖最后由 zippo 于 2020-7-25 14:54 编辑
root@localhost:/linux# /usr/local/mysql/bin/mysqld restart
200725 14:51:00 --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
200725 14:51:00 /usr/local/mysql/bin/mysqld (mysqld 5.5.62-log) starting as process 16313 ...
200725 14:51:00 Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
200725 14:51:00 Aborting
200725 14:51:00 /usr/local/mysql/bin/mysqld: Shutdown complete
crypto/aes/aesv8-armx.S:730: Error: selected processor does not support ARM mode `aese v0.16b,v22.16b'
crypto/aes/aesv8-armx.S:731: Error: selected processor does not support ARM mode `aesmc v0.16b,v0.16b'
crypto/aes/aesv8-armx.S:732: Error: selected processor does not support ARM mode `aese v1.16b,v22.16b'
crypto/aes/aesv8-armx.S:733: Error: selected processor does not support ARM mode `aesmc v1.16b,v1.16b'
crypto/aes/aesv8-armx.S:734: Error: bad arguments to instruction -- `eor v3.16b,v3.16b,v7.16b'
crypto/aes/aesv8-armx.S:735: Error: selected processor does not support ARM mode `aese v0.16b,v23.16b'
crypto/aes/aesv8-armx.S:736: Error: selected processor does not support ARM mode `aese v1.16b,v23.16b'
crypto/aes/aesv8-armx.S:738: Error: ARM register expected -- `cmp x2,#1'
crypto/aes/aesv8-armx.S:739: Error: bad arguments to instruction -- `eor v2.16b,v2.16b,v0.16b'
crypto/aes/aesv8-armx.S:740: Error: bad arguments to instruction -- `eor v3.16b,v3.16b,v1.16b'
crypto/aes/aesv8-armx.S:741: Error: bad instruction `st1 {v2.16b},,#16'
crypto/aes/aesv8-armx.S:742: Error: unexpected character `e' in type specifier
crypto/aes/aesv8-armx.S:742: Error: bad instruction `b.eq .Lctr32_done'
crypto/aes/aesv8-armx.S:743: Error: bad instruction `st1 {v3.16b},'
crypto/aes/aesv8-armx.S:746: Error: ARM register expected -- `ldr x29,,#16'
crypto/aes/aesv8-armx.S:747: Error: bad instruction `ret'
Makefile:795: recipe for target 'crypto/aes/aesv8-armx.o' failed
make: *** Error 1
make: Leaving directory '/home/android/lnmp1.7/src/openssl-1.1.1g'
你这个是什么架构的,开发板吗,按日志看的话openssl不支持当前架构
mysql安装过程中就无法设置密码,可能你贴出的日志前面就已经报错了
页:
[1]