VPS侦探论坛

 找回密码
 注册
查看: 1811|回复: 4

RockyLinux9使用1.9版本部署失败(mariadb失败)

[复制链接]
发表于 2022-12-9 04:57:09 | 显示全部楼层 |阅读模式

本帖最后由 iquan 于 2022-12-9 04:58 编辑

军哥

我在RockyLinux9中进行 lnmp部署,在线部署的时候,mariadb 一直部署失败(Nginx 和 PHP和 成功)
使用full 包部署时(离线),直接 PHP 和 mariadb都失败了,如果不加参数 CheckMirror=n  则 Nginx 和 PHP部署成功,mariadb 失败


两个日志大于110k了,无法上传,我放到网站上   https://iquan.fun/lnmp_logs.tar.gz

军哥有时间帮忙看下哈
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-12-9 04:58:05 | 显示全部楼层


日志在这里  我添加链接结果失败 :  https://iquan.fun/lnmp_logs.tar.gz
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-12-9 10:21:37 | 显示全部楼层

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find GnuTLS (missing: GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR)
  (Required is at least version "3.3.24")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindGnuTLS.cmake:68 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  libmariadb/CMakeLists.txt:331 (FIND_PACKAGE)

yum install gnutls-devel 后再安装试一下
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-12-9 13:06:56 | 显示全部楼层



本帖最后由 iquan 于 2022-12-9 13:08 编辑
licess 发表于 2022-12-9 10:21
yum install gnutls-devel 后再安装试一下

成功了军哥,谢谢军哥
昨晚我也研究了下这个错误,但是我只安装了 dnf install gnutls
  1. Update root password...
  2. ERROR 1356 (HY000) at line 1: View 'mysql.user' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
  3. ... Failed!
  4. Remove anonymous users...
  5. ... Success.
  6. Disallow root login remotely...
  7. ... Success.
  8. Remove test database...
  9. ... Success.
  10. Reload privilege tables...
  11. ... Success.
  12. Shutting down MariaDB./etc/init.d/mariadb: line 228: log_success_msg: command not found
  13. Add mariadb service at system startup...
  14. Synchronizing state of mariadb.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
  15. Executing: /usr/lib/systemd/systemd-sysv-install enable mariadb
  16. Starting MariaDB.221209 13:04:00 mysqld_safe Logging to '/usr/local/mariadb/var/mariadb.err'.
  17. 221209 13:04:00 mysqld_safe Starting mariadbd daemon with databases from /usr/local/mariadb/var
  18. /etc/init.d/mariadb: line 261: log_success_msg: command not found
  19. Clean database src directory...
  20. MariaDB: OK
  21. MariaDB root password: root123
  22. Install mariadb-10.6.8 completed! enjoy it.
复制代码


Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-12-11 16:37:58 | 显示全部楼层

iquan 发表于 2022-12-9 13:06
成功了军哥,谢谢军哥
昨晚我也研究了下这个错误,但是我只安装了 dnf install gnutls

仅安装gnutls肯定是不行的,gnutls不含所需的lib

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-25 01:15 , Processed in 0.027785 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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