VPS侦探论坛

 找回密码
 注册
查看: 245|回复: 3

linux deploy安装lnmp失败

[复制链接]
发表于 2020-7-25 11:17:04 | 显示全部楼层 |阅读模式



上传不了,log放在临时网盘
链接:https://c-t.work/s/b6533f54ebd84c

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


换了个系统,重装了lnmp,安装成功了,mysql不能启动
  1. Starting MySQL
  2. ... * The server quit without updating PID file (/usr/local/mysql/var/localhost.pid).
  3. /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
  4. error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
  5. Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
  6. failed, try other way...
  7. * MySQL server PID file could not be found!
  8. Starting MySQL
  9. ... * The server quit without updating PID file (/usr/local/mysql/var/localhost.pid).
  10. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  11. Set password failed!
  12. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  13. FLUSH PRIVILEGES failed!
  14. * MySQL server PID file could not be found!
  15. Starting MySQL
  16. ... * The server quit without updating PID file (/usr/local/mysql/var/localhost.pid).
  17. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  18. Update root password...
  19. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  20. ... Failed!
  21. Remove anonymous users...
  22. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  23. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  24. ... Failed!
  25. Disallow root login remotely...
  26. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  27. ... Failed!
  28. Remove test database...
  29. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  30. ... Failed!
  31. Reload privilege tables...
  32. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  33. ... Failed!
  34. * MySQL server PID file could not be found!
  35. Starting MySQL
  36. ... * The server quit without updating PID file (/usr/local/mysql/var/localhost.pid).
  37. * MySQL server PID file could not be found!
复制代码


Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-7-25 14:51:36 | 显示全部楼层



本帖最后由 zippo 于 2020-7-25 14:54 编辑
  1. root@localhost:/linux# /usr/local/mysql/bin/mysqld restart
  2. 200725 14:51:00 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
  3. 200725 14:51:00 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.62-log) starting as process 16313 ...
  4. 200725 14:51:00 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!

  5. 200725 14:51:00 [ERROR] Aborting

  6. 200725 14:51:00 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete
复制代码

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



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},[x1],#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},[x1]'
crypto/aes/aesv8-armx.S:746: Error: ARM register expected -- `ldr x29,[sp],#16'
crypto/aes/aesv8-armx.S:747: Error: bad instruction `ret'
Makefile:795: recipe for target 'crypto/aes/aesv8-armx.o' failed
make[3]: *** [crypto/aes/aesv8-armx.o] Error 1
make[3]: Leaving directory '/home/android/lnmp1.7/src/openssl-1.1.1g'

你这个是什么架构的,开发板吗,按日志看的话openssl不支持当前架构


mysql安装过程中就无法设置密码,可能你贴出的日志前面就已经报错了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2020-8-11 00:20 , Processed in 0.051142 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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