libcrypto - Can not start aerospike on centos 6.3, no version information available (required by bin/asd) -
has body encounter problem?
os version: centos release 6.3 (final)
aerospike version: community edition 3.12.1
error message:
# bin/aerospike start error: start failed due error. /home/work/aerospike-server/bin/asd: /lib64/libz.so.1: no version information available (required /home/work/aerospike-server/bin/asd) /home/work/aerospike-server/bin/asd: /usr/lib64/libcrypto.so.1.0.0: no version information available (required /home/work/aerospike-server/bin/asd) apr 07 2017 04:03:02 gmt: warning (cf:misc): (hardware.c:626) no numa information found in /sys
looks may missing zlib library.
i able install zlib on centos 6.3 minimal, along rpm version of aerospike 3.12.1 ce server centos/el6
issue seems .tgz version. rpm version works fine:
sudo yum install zlib-devel -y wget http://www.aerospike.com/download/server/3.12.1/artifact/el6 tar xvf el6 cd aerospike-server-community-3.12.1-el6/ sudo ./asinstall
i didn't /usr/lib64/libcrypto.so.1.0.0 warning centos rpm install (./asinstall) .
aerospike binary rpms can found here centos/redhat:
http://www.aerospike.com/download/server/3.12.1/
outputs:
rpm -uvh aerospike-tools-3.12.1-1.el6.x86_64.rpm error: failed dependencies: libz.so.1(zlib_1.2.0)(64bit) needed aerospike-tools-3.12.1-1.el6.x86_64 installing server rpm -uvh aerospike-server-community-3.12.1-1.el6.x86_64.rpm error: failed dependencies: libz.so.1(zlib_1.2.0)(64bit) needed aerospike-server-community-3.12.1-1.el6.x86_64
yum install zlib-devel
and aerospike server.
root@centos6 aerospike-server-community-3.12.1-el6]# ./asinstall installing tools dependencies installing tools rpm -uvh aerospike-tools-3.12.1-1.el6.x86_64.rpm preparing... ########################################### [100%] installing /opt/aerospike adding group aerospike adding user aerospike 1:aerospike-tools ########################################### [100%] writing /usr/lib64/python2.6/site-packages/aerospike.pth adding python path /opt/aerospike/lib/python installing server rpm -uvh aerospike-server-community-3.12.1-1.el6.x86_64.rpm preparing... ########################################### [100%] 1:aerospike-server-commun########################################### [100%] [root@centos6 aerospike-server-community-3.12.1-el6]# asd --version aerospike community edition build 3.12.1 [root@centos6 aerospike-server-community-3.12.1-el6]# /etc/init.d/aerospike start increasing read socket buffer limit (/proc/sys/net/core/rmem_max): 131071 -> 15728640 increasing write socket buffer limit (/proc/sys/net/core/wmem_max): 131071 -> 5242880 starting , checking aerospike: apr 10 2017 19:41:19 gmt: warning (cf:misc): (hardware.c:626) no numa information found in /sys [ ok ] [root@centos6 aerospike-server-community-3.12.1-el6]# /etc/init.d/aerospike status asd (pid 2080) running...
version of openssl:
[root@centos6 aerospike-server-community-3.12.1-el6]# rpm -qa|grep openssl openssl-1.0.1e-57.el6.x86_64
libcrypto:
[root@centos6 aerospike-server-community-3.12.1-el6]# rpm -ql openssl|grep crypto /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
the non-rpm (.tgz) version used seemed have been compiled in debian7 , using older libcrypto.
# hexdump -c -n 128 -s 0x258750 /root/aerospike-server/bin/asd 00258750 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |c...............| 00258760 33 2e 31 32 2e 31 00 00 00 00 00 00 00 00 00 00 |3.12.1..........| 00258770 54 75 65 20 41 70 72 20 20 34 20 32 30 3a 32 34 |tue apr 4 20:24| 00258780 3a 30 31 20 55 54 43 20 32 30 31 37 00 00 00 00 |:01 utc 2017....| 00258790 41 65 72 6f 73 70 69 6b 65 20 43 6f 6d 6d 75 6e |aerospike commun| 002587a0 69 74 79 20 45 64 69 74 69 6f 6e 00 64 65 62 69 |ity edition.debi| 002587b0 61 6e 37 00 00 61 6c 6c 6f 63 2e 63 00 28 75 6e |an7..alloc.c.(un| 002587c0 75 73 65 64 29 00 64 69 73 00 6d 65 6d 6f 72 79 |used).dis.memory| 002587d0
Comments
Post a Comment