leodot 发表于 2018-4-12 18:35:40

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.

licess 发表于 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: *** 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的安装包安装就可以了
页: [1]
查看完整版本: LNMPA求助 MariaDB安装失败