start the first cluster node failed with libssl.so.6 problem
Hi, All
Mariadb galera Version: 10.0.21 OS: Redhat 6 : 2.6.32-504.23.4.el6.x86_64
I installed the software from tarball. When i tried to start the first node with: ./bin/mysqld_safe --defaults-file=$MYSQL_HOME/my.cnf --wsrep-new-cluster &
in error log:
160104 11:23:01 [Note] WSREP: wsrep_load(): loading provider library '/apps/opt/mysql/galera-10.0.21/lib/libgalera_smm.so' 160104 11:23:01 [ERROR] WSREP: wsrep_load(): dlopen(): libssl.so.6: cannot open shared object file: No such file or directory 160104 11:23:01 [ERROR] WSREP: wsrep_load(/apps/opt/mysql/galera-10.0.21/lib/libgalera_smm.so) failed: Invalid argument (22). Reverting to no provider. 160104 11:23:01 [Note] WSREP: Read nil XID from storage engines, skipping position init 160104 11:23:01 [Note] WSREP: wsrep_load(): loading provider library 'none' 160104 11:23:01 [ERROR] Aborting
I guess this is sth related to openssl version: openssl-1.0.1e-30.el6_6.11.x86_64
I can install and configure 10.0.21 cluster without any problem in CentOS 5.5
Any suggestions on how to work around openssl problem? Downgrade openssl ? or If i compile the source in redhat OS 6,will that help?
Anyone has installed any version of Mariadb Galera cluster in any version of Redhat/CentOS linux above 5?
Denis
Answer Answered by Yu Denis in this comment.
I don't have root or sudo access for the server i worked on for galera, but it pretty much same as following server. which i have root access ( we have standard redhat 6 env for all the linux server in our company):
root@xxx:/root # ldconfig -p | grep 'libssl\|libcrypto' libssl3.so (libc6,x86-64) => /usr/lib64/libssl3.so libssl.so.10 (libc6,x86-64) => /usr/lib64/libssl.so.10 libcrypto.so.10 (libc6,x86-64) => /usr/lib64/libcrypto.so.10
btw in the above server (EL6) that i have root access,i created soft link libssl.so.6 and libcrypto.so.6,
fxxxxx02:/usr/lib64$ ls -l libssl.so.6 lrwxrwxrwx 1 root root 16 Jan 4 14:23 libssl.so.6 -> libssl.so.1.0.1e fxxxx02:/usr/lib64$ ls -l libcrypto.so.6 lrwxrwxrwx 1 root root 19 Jan 4 14:24 libcrypto.so.6 -> libcrypto.so.1.0.1e
It seems i can bring up the first node by that way.I am not sure if it really works or not, as I am waiting for SA to create similar links for bunch of servers that i will test the galera cluster.
Denis