VPS侦探论坛

 找回密码
 注册
搜索
查看: 1005|回复: 1

LNMPA求助 MariaDB安装失败

[复制链接]
发表于 2018-4-12 18:35:40 | 显示全部楼层 |阅读模式

MariaDB install failed 附log
  1. sed: -e expression #1, char 89: unterminated `s' command
  2. include/mariadb.sh:行353: /usr/local/mariadb/scripts/mysql_install_db: 没有那个文件或目录
  3. Add mariadb service at system startup...
  4. perl: warning: Setting locale failed.
  5. perl: warning: Please check that your locale settings:
  6.         LANGUAGE = "en_US:zh_CN:zh_TW",
  7.         LC_ALL = (unset),
  8.         LC_CTYPE = "en_US.UTF-8",
  9.         LANG = "en_SG.UTF-8"
  10.     are supported and installed on your system.
  11. perl: warning: Falling back to a fallback locale ("en_SG.UTF-8").
  12. Starting mariadb (via systemctl): mariadb.service.
  13. include/mariadb.sh:行24: /usr/local/mariadb/bin/mysqladmin: 没有那个文件或目录
  14. failed, try other way...
  15. include/mariadb.sh:行32: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
  16. Set password failed!
  17. include/mariadb.sh:行34: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
  18. FLUSH PRIVILEGES failed!
  19. Restarting mariadb (via systemctl): mariadb.service.
  20. include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
  21. Update root password...
  22. include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
  23. ... Failed!
  24. Remove anonymous users...
  25. include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
  26. include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
  27. ... Failed!
  28. Disallow root login remotely...
  29. include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
  30. ... Failed!
  31. Remove test database...
  32. include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
  33. ... Failed!
  34. Reload privilege tables...
  35. include/main.sh:行622: /usr/local/mariadb/bin/mysql: 没有那个文件或目录
  36. ... Failed!
  37. Restarting mariadb (via systemctl): mariadb.service.
  38. Stopping mariadb (via systemctl): mariadb.service.
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

发表于 2018-4-12 20:02:05 | 显示全部楼层



/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的安装包安装就可以了

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

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

本版积分规则

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

GMT+8, 2019-5-27 20:32 , Processed in 0.051359 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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