iquan 发表于 2022-12-9 04:57:09

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

本帖最后由 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

军哥有时间帮忙看下哈

iquan 发表于 2022-12-9 04:58:05

日志在这里:lol我添加链接结果失败 :https://iquan.fun/lnmp_logs.tar.gz

licess 发表于 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 后再安装试一下

iquan 发表于 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:$
Update root password...
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
... Failed!
Remove anonymous users...
... Success.
Disallow root login remotely...
... Success.
Remove test database...
... Success.
Reload privilege tables...
... Success.
Shutting down MariaDB./etc/init.d/mariadb: line 228: log_success_msg: command not found
Add mariadb service at system startup...
Synchronizing state of mariadb.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable mariadb
Starting MariaDB.221209 13:04:00 mysqld_safe Logging to '/usr/local/mariadb/var/mariadb.err'.
221209 13:04:00 mysqld_safe Starting mariadbd daemon with databases from /usr/local/mariadb/var
/etc/init.d/mariadb: line 261: log_success_msg: command not found
Clean database src directory...
MariaDB: OK
MariaDB root password: root123
Install mariadb-10.6.8 completed! enjoy it.


licess 发表于 2022-12-11 16:37:58

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



仅安装gnutls肯定是不行的,gnutls不含所需的lib
页: [1]
查看完整版本: RockyLinux9使用1.9版本部署失败(mariadb失败)