problem set up Galera cluster 10.1.9 in AWS EC2 environment require openssl_1.0.0 ?

394 views
Skip to first unread message

Yu Denis Sun

unread,
Dec 8, 2015, 10:15:44 AM12/8/15
to codership
I am trying to set up MariaDB Galera Cluster on AWS , encounter problem related to openssl_1.0.0, please advice what should I do?

* Env: AWS EC2 Amazon Linux AMI release 2015.09

* tarball downloaded: mariadb-10.1.9-linux-glibc_214-x86_64.tar.gz

* During installation through mysql_install_db, find jemalloc required.
  Downloand and installed jemalloc-3.6.0-1.el7.x86_64.rpm
 
* Confirmed the single MariaDB instance looks good.

* Prepared total three EC2 nodes to configure Galera Cluster
  (update my.cnf with wsrep* parameters etc)

* Trying to start the cluster
./bin/mysqld_safe --defaults-file=$MYSQL_HOME/my.cnf --wsrep-new-cluster  &
 
Reciving error message:

[ERROR] WSREP: wsrep_load(): dlopen(): libssl.so.1.0.0: cannot open shared object file: No such file or directory
[ERROR] WSREP: wsrep_load(): dlopen(): libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

  
Learned that libssl and libcrypto come from openssl

$ rpm -qa openssl
openssl-1.0.1k-10.87.amzn1.x86_64
   

* create soft links libssl.so.1.0.0 and libcrypto.so.1.0.0
  pointing to libssl.so.1.0.1k and libcrypto.so.1.0.1k respectively


* Start the cluster again

Recieving error message:

[ERROR] WSREP: wsrep_load(): dlopen(): /lib64/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /home/my sql/mariadb-10.1.9/lib/libgalera_smm.so)
[ERROR] WSREP: wsrep_load(/home/mysql/mariadb-10.1.9/lib/libgalera_smm.so) failed: Invalid argument (22). Reverting to no provider.


At this point, I am not sure what is the best action.It seems to me libalera_smm.so requires OPENSSL_1.0.0 ? Should I remove current openssl-1.0.1k-10.87.amzn1.x86_64 and try to find a openssl_1.0.0 version to install?

Are there anyone set up Gelara Cluster 10.1.9 and in what version of Linux?

Thanks in advance!

Denis


Yu Denis Sun

unread,
Dec 9, 2015, 11:58:48 AM12/9/15
to codership
glad to report i am able to set up a test cluster with EC2 Centos 5.5, at this moment if should meet my immediate needs. I will try to figure out how to do the same with  Amazon  latest Linux AMI. If anyone has experience about it, I appreciate your advice still.
Reply all
Reply to author
Forward
0 new messages