VPS侦探论坛

 找回密码
 注册
查看: 1617|回复: 2

Rocky Linux 9.1 安装lnmp1.9 报错(MySQL安装失败)

[复制链接]
发表于 2023-5-10 16:47:52 | 显示全部楼层 |阅读模式


请帮忙看看,多谢!

安装日志下载地址:

https://t.wss.ink/f/b6bagopiu2n

  1. -- Check size of off64_t
  2. -- Check size of off64_t - done
  3. -- Looking for unistd.h
  4. -- Looking for unistd.h - found
  5. -- OPENSSL_INCLUDE_DIR = /usr/include
  6. -- OPENSSL_LIBRARY = /usr/lib64/libssl.so
  7. -- CRYPTO_LIBRARY = /usr/lib64/libcrypto.so
  8. -- OPENSSL_MAJOR_VERSION =
  9. -- OPENSSL_MINOR_VERSION =
  10. -- OPENSSL_FIX_VERSION =
  11. -- Looking for SHA512_DIGEST_LENGTH
  12. -- Looking for SHA512_DIGEST_LENGTH - found
  13. --
  14. Cannot find appropriate system libraries for WITH_SSL=system.
  15. Make sure you have specified a supported SSL version.
  16. Valid options are :
  17. system (use the OS openssl library),
  18. yes (synonym for system),
  19. </path/to/custom/openssl/installation>

  20. CMake Error at cmake/ssl.cmake:63 (MESSAGE):
  21.   Please install the appropriate openssl developer package.

  22. Call Stack (most recent call first):
  23.   cmake/ssl.cmake:306 (FATAL_SSL_NOT_FOUND_ERROR)
  24.   CMakeLists.txt:568 (MYSQL_CHECK_SSL)


  25. -- Configuring incomplete, errors occurred!
  26. See also "/root/lnmp1.9/src/mysql-5.7.38/CMakeFiles/CMakeOutput.log".
  27. See also "/root/lnmp1.9/src/mysql-5.7.38/CMakeFiles/CMakeError.log".
  28. make: *** No targets specified and no makefile found.  Stop.
  29. make: *** No targets specified and no makefile found.  Stop.
  30. make: *** No rule to make target 'install'.  Stop.
  31. include/mysql.sh: line 614: /usr/local/mysql/bin/mysqld: No such file or directory
  32. cp: cannot stat '/usr/local/mysql/support-files/mysql.server': No such file or directory
  33. chmod: cannot access '/etc/init.d/mysql': No such file or directory
  34. Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /etc/systemd/system/mysql.service.
  35. include/mysql.sh: line 33: /etc/init.d/mysql: No such file or directory
  36. include/mysql.sh: line 41: /etc/init.d/mysql: No such file or directory
  37. include/mysql.sh: line 44: /usr/local/mysql/bin/mysqladmin: No such file or directory
  38. failed, try other way...
  39. include/mysql.sh: line 47: /etc/init.d/mysql: No such file or directory
  40. include/mysql.sh: line 54: /usr/local/mysql/bin/mysql: No such file or directory
  41. Set password failed!
  42. include/mysql.sh: line 67: /etc/init.d/mysql: No such file or directory
  43. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  44. Update root password...
  45. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  46. ... Failed!
  47. Remove anonymous users...
  48. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  49. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  50. ... Failed!
  51. Disallow root login remotely...
  52. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  53. ... Failed!
  54. Remove test database...
  55. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  56. ... Failed!
  57. Reload privilege tables...
  58. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  59. ... Failed!
  60. include/mysql.sh: line 97: /etc/init.d/mysql: No such file or directory
  61. include/mysql.sh: line 98: /etc/init.d/mysql: No such file or directory
  62. Clean database src directory...
复制代码


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2023-5-13 11:49:27 | 显示全部楼层


大家没有遇到过类似的问题吗?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2023-5-13 21:05:59 | 显示全部楼层

Rocky Linux 9 自带openssl版本是3.0,目前mysql 5.7是不支持的也没有相关的patch,mysql 8.0目前有相关的patch,要在openssl 3.0的系统上安装mysql 5.7只能使用lnmp 2.0选择二进制包方式或者另外安装一个低版本的openssl并且为mysql指定openssl版本
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-7-27 08:17 , Processed in 0.040841 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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