Comments - start the first cluster node failed with libssl.so.6 problem

8 years, 1 month ago Nirbhay Choubey

I was able to install and start MariaDB Galera on Centos6 :

10.0.23-MariaDB, galera.x86_64 25.3.9-1.rhel6.el6, openssl.x86_64 1.0.1e-30.el6.8 @updates.

Can you check of you have libssl.so.xx available on your system?

What's the output of the following command:

ldd /usr/lib64/galera/libgalera_smm.so | grep ssl

 
8 years, 1 month ago Yu Denis

fxxxx2:/apps/opt/mysql/galera-10.0.21/lib$ ldd ./libgalera_smm.so
        linux-vdso.so.1 =>  (0x00007fff077a7000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe4d6816000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fe4d660d000)
        libssl.so.6 => not found
        libcrypto.so.6 => not found
        libm.so.6 => /lib64/libm.so.6 (0x00007fe4d6388000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fe4d6172000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fe4d5dde000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003e3ba00000)


i have libssl and libcrypto as follows:

fxxxx02:/lib$ rpm -ql openssl  | grep libssl
/usr/lib64/.libssl.so.1.0.1e.hmac
/usr/lib64/.libssl.so.10.hmac
/usr/lib64/libssl.so.1.0.1e
/usr/lib64/libssl.so.10
fxxxx02:/lib$ rpm -ql openssl  | grep libcrypto
/usr/lib64/.libcrypto.so.1.0.1e.hmac
/usr/lib64/.libcrypto.so.10.hmac
/usr/lib64/libcrypto.so.1.0.1e
/usr/lib64/libcrypto.so.10


i don't have CentOS 6 at this moment, does 10.0.23 version also looking for libssl.so.6 ?

 
8 years, 1 month ago Nirbhay Choubey

What do you get for $ sudo ldconfig -p | grep 'libssl\|libcrypto' ?

 
8 years, 1 month ago Yu Denis

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

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.