打印

LNMPA求助 MariaDB安装失败

LNMPA求助 MariaDB安装失败

MariaDB install failed 附log
复制内容到剪贴板
代码:
sed: -e expression #1, char 89: unterminated `s' command
include/mariadb.sh:行353: /usr/local/mariadb/scripts/mysql_install_db: 没有那个文件或目录
Add mariadb service at system startup...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:zh_CN:zh_TW",
        LC_ALL = (unset),
        LC_CTYPE = "en_US.UTF-8",
        LANG = "en_SG.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_SG.UTF-8").
Starting mariadb (via systemctl): mariadb.service.
include/mariadb.sh:行24: /usr/local/mariadb/bin/mysqladmin: 没有那个文件或目录
failed, try other way...
include/mariadb.sh:行32: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
Set password failed!
include/mariadb.sh:行34: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
FLUSH PRIVILEGES failed!
Restarting mariadb (via systemctl): mariadb.service.
include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
Update root password...
include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
... Failed!
Remove anonymous users...
include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
... Failed!
Disallow root login remotely...
include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
... Failed!
Remove test database...
include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
... Failed!
Reload privilege tables...
include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
... Failed!
Restarting mariadb (via systemctl): mariadb.service.
Stopping mariadb (via systemctl): mariadb.service.
附件: 您所在的用户组无法下载或查看附件

TOP

引用:
/home/jayv/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function 'void md5_result(MD5_CONTEXT*, uchar*)':
/home/jayv/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);
                             ^
/home/jayv/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function 'void my_md5(uchar*, const char*, size_t)':
/home/jayv/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;
               ^~~~~~~~~~~
/home/jayv/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function 'void my_md5_multi(uchar*, ...)':
/home/jayv/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;
               ^~~~~~~~~~~
/home/jayv/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function 'size_t my_md5_context_size()':
/home/jayv/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[2]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_md5.cc.o] Error 1
CMakeFiles/Makefile2:8597: recipe for target 'mysys_ssl/CMakeFiles/mysys_ssl.dir/all' failed
1.4上的mariadb 10.1.23是不支持openssl 1.1的,使用1.5的安装包安装就可以了

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP