MariaDB [错误] WSREP:上下文:库没有密码

MariaDB [ERROR] WSREP: context: library has no ciphers

我有一个 mariadb/galera 问题。

我更新了我的 OpenSuse 风滚草服务器。 我认为相关的变化是:

OpenSSL 1.0.x -> OpenSSL 1.1.x
mariadb-10.1.25 -> mariadb-10.2.13
加莱拉 3.23.20 -> 加莱拉 3.23.20(未更改)

更新后,mariadb 服务器不再启动并出现此错误:

2018-04-06 13:12:13 139995648866240 [Note] WSREP: wsrep_load(): Galera 3.23(rac090bc) by Codership Oy <info@codership.com> loaded successfully.
2018-04-06 13:12:13 139995648866240 [Note] WSREP: CRC-32C: using hardware acceleration.
2018-04-06 13:12:13 139995648866240 [Note] WSREP: Found saved state: c5779b6f-035a-11e7-89db-52dab15b6e6b:34767967, safe_to_bootstrap: 0
2018-04-06 13:12:13 139995648866240 [Note] WSREP: Passing config to GCS: base_dir = /srv/mysql/; base_host = x.x.x.x; base_port = 4567; cert.log_conflicts = no; debug = no; evs.auto_evict = 0; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT15S; evs.join_retrans_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT5S; evs.user_send_window = 2; evs.view_forget_timeout = PT24H; gcache.dir = /srv/mysql/; gcache.keep_pages_size = 0; gcache.mem_size = 0; gcache.name = /srv/mysql//galera.cache; gcache.page_size = 128M; gcache.recover = no; gcache.size = 128M; gcomm.thread_prio = ; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; gcs.recv_q_hard_limit = 9223372036854775807; gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; gmcast.segment = 0; gmcast.version = 0; pc.announce_timeout = PT3S; pc.checksum = false; pc.ignore_quoru
2018-04-06 13:12:13 139995648866240 [Note] WSREP: MemPool(SlaveTrxHandle): hit ratio: 0, misses: 0, in use: 0, in pool: 0
2018-04-06 13:12:13 139995648866240 [Note] WSREP: Flushing memory map to disk...
2018-04-06 13:12:13 139995648866240 [ERROR] WSREP: context: library has no ciphers
2018-04-06 13:12:13 139995648866240 [ERROR] WSREP: wsrep::init() failed: 7, must shutdown
2018-04-06 13:12:13 139995648866240 [ERROR] Aborting

据我了解,这是 openSSL 库的问题,他无法读取支持的密码。 (类似于 this

但是我还没有为 wsrep 启用 ssl。我可以告诉 mariadb/galera 甚至不要尝试启用 ssl 吗?

我从 galera website 下载了 libgalera_smm.so 的源代码。

我不得不重写文件 "SConstruct" 中的一些行以使其 python3 兼容。

编译源代码后,wsrep 再次正常工作。