Debian 9 x86_64 LNMP安装MariaDB失败.
ESXi 6.5 虚拟 Debian 9.1 x86_64 官网下载Stable网络安装版MariaDB 编译出错了, /usr/local/mariadb/var/ 目录没有错误日志, MariaDB没有运行.
PHP与Nginx已运行
位于 8435行-8487行, 日志已上传附件
Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_md5.cc.o
/root/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function ‘void md5_result(MD5_CONTEXT*, uchar*)’:
/root/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc:86:29: error: ‘EVP_MD_CTX_cleanup’ was not declared in this scope
EVP_MD_CTX_cleanup(context);
^
/root/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function ‘void my_md5(uchar*, const char*, size_t)’:
/root/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc:102:15: error: aggregate ‘MD5_CONTEXT md5_context’ has incomplete type and cannot be defined
MD5_CONTEXT md5_context;
^~~~~~~~~~~
/root/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function ‘void my_md5_multi(uchar*, ...)’:
/root/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc:127:15: error: aggregate ‘MD5_CONTEXT md5_context’ has incomplete type and cannot be defined
MD5_CONTEXT md5_context;
^~~~~~~~~~~
/root/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function ‘size_t my_md5_context_size()’:
/root/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc:140:28: error: invalid application of ‘sizeof’ to incomplete type ‘MD5_CONTEXT {aka evp_md_ctx_st}’
return sizeof(MD5_CONTEXT);
^
mysys_ssl/CMakeFiles/mysys_ssl.dir/build.make:182: recipe for target 'mysys_ssl/CMakeFiles/mysys_ssl.dir/my_md5.cc.o' failed
make: *** Error 1
CMakeFiles/Makefile2:8597: recipe for target 'mysys_ssl/CMakeFiles/mysys_ssl.dir/all' failed
make: *** Error 2
Makefile:160: recipe for target 'all' failed
make: *** Error 2
sed: -e expression #1, char 89: unterminated `s' command
include/mariadb.sh: line 353: /usr/local/mariadb/scripts/mysql_install_db: No such file or directory
Add mariadb service at system startup...
Starting mariadb (via systemctl): mariadb.service.
include/mariadb.sh: line 24: /usr/local/mariadb/bin/mysqladmin: No such file or directory
failed, try other way...
include/mariadb.sh: line 32: /usr/local/mariadb/bin/mysql: No such file or directory
Set password failed!
include/mariadb.sh: line 34: /usr/local/mariadb/bin/mysql: No such file or directory
FLUSH PRIVILEGES failed!
Restarting mariadb (via systemctl): mariadb.service.
include/main.sh: line 599: /usr/local/mariadb/bin/mysql: No such file or directory
Update root password...
include/main.sh: line 599: /usr/local/mariadb/bin/mysql: No such file or directory
... Failed!
Remove anonymous users...
include/main.sh: line 599: /usr/local/mariadb/bin/mysql: No such file or directory
include/main.sh: line 599: /usr/local/mariadb/bin/mysql: No such file or directory
... Failed!
Disallow root login remotely...
include/main.sh: line 599: /usr/local/mariadb/bin/mysql: No such file or directory
... Failed!
Remove test database...
include/main.sh: line 599: /usr/local/mariadb/bin/mysql: No such file or directory
... Failed!
Reload privilege tables...
include/main.sh: line 599: /usr/local/mariadb/bin/mysql: No such file or directory
... Failed!
Restarting mariadb (via systemctl): mariadb.service.
Stopping mariadb (via systemctl): mariadb.service. mariadb 10.1以下版本不支持openssl 1.1,debian 9就是这么6的上了openssl 1.1
可以安装mysql
回复 2# 的帖子
所以要等 LNMP 支持mariadb 10.2才可以吧
页:
[1]