Regd the libgalera_ssm failed

31 views
Skip to first unread message

FISH

unread,
Dec 6, 2017, 5:49:28 AM12/6/17
to codership

Hi,

I’m working on centOS-7, and installing: mariadb-10.1.29-linux-systemd-x86_64. While starting the mariadb with --wsrep-new-cluster, Im getting the below error.

2017-12-06 11:07:09 140108646242240 [Note] WSREP: wsrep_load(): loading provider library '/usr/local/mariadb/lib/galera/libgalera_smm.so'
2017-12-06 11:07:09 140108646242240 [ERROR] WSREP: wsrep_load(): dlopen(): libssl.so.1.0.0: cannot open shared object file: No such file or directory
2017-12-06 11:07:09 140108646242240 [ERROR] WSREP: wsrep_load(/usr/local/mariadb/lib/galera/libgalera_smm.so) failed: Invalid argument (22). Reverting to n
o provider.

I tried the ldd command and for downloading libssl couldn’t find anything in internet. Help me on fixing this.

                      [  OK  ]
[root@lab1 local]# ldd /usr/local/mariadb/lib/galera/libgalera_smm.so
ldd: warning: you do not have execution permission for `/usr/local/mariadb/lib/galera/libgalera_smm.so'
        linux-vdso.so.1 =>  (0x00007fff8a0e8000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6172662000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f617245a000)
        libssl.so.1.0.0 => not found
        libcrypto.so.1.0.0 => not found
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f6172151000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f6171e4e000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6171c38000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f6171875000)
        /lib64/ld-linux-x86-64.so.2 (0x000055f02a567000)

Lammert Bies

unread,
Dec 6, 2017, 6:02:23 AM12/6/17
to codership
Based on your path /usr/local/mariadb/... it seems you have downloaded and installed the MariaDB package manually.

For Centos 7 you can use a yum compatible repository with a precompiled package which fixes all these dependencies. To make this happen, create a file with the name MariaDB.repo in the /etc/yum.repos.d directory. The contents of this file should be:

# MariaDB 10.1 CentOS repository list - created 2016-05-10 22:17 UTC
[mariadb]
name = MariaDB
gpgcheck=1

Now use yum to install mariadb with the following command:

yum install MariaDB-server MariaDB-client

This will install the 10.1.29 server including all dependencies.

FISH

unread,
Dec 6, 2017, 6:47:20 AM12/6/17
to codership
I am looking for the mariadb binary installation.  Earlier I used the binary installation on centOS-6.  

Now after upgrading to centOS-7 we are having this issue.

So the binary installation on centOS-7 wont' work here ? 

Can I try with other stable releases  with centos-7 ? Is that will work ?

FISH

unread,
Jan 2, 2018, 9:19:56 AM1/2/18
to codership
Any one can help on this issue?  

Issue still persist....
Reply all
Reply to author
Forward
0 new messages