2017-04-07 40 views
3

본문에 문제가 있습니까?centos 6.3에서 aerospike를 시작할 수 없습니다. 버전 정보는 없습니다 (bin/asd에서 필요함)

OS의 버전 : 커뮤니티 에디션 3.12.1

오류 메시지 : CentOS는 6.3 (최종)

Aerospike 버전을 출시 당신이 ZLIB 라이브러리를 누락 될 수 있습니다처럼

# bin/aerospike start 
error: start failed due to an error. 
/home/work/aerospike-server/bin/asd: /lib64/libz.so.1: no version information available (required by /home/work/aerospike-server/bin/asd) 
/home/work/aerospike-server/bin/asd: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by /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 
+0

실행중인 하드웨어를 공유 할 수 있습니까? – Meher

+0

우리는 마침내 소스 코드에서 컴파일 .. – arganzheng

답변

4

보인다.

나는

문제가 .TGZ 버전에 보인다를 CentOS/el6에 대한 aerospike 3.12.1 CE 서버의 RPM 버전과 함께, CentOS는 최소 6.3에 ZLIB를 설치 할 수 있었다. RPM 버전은 잘 작동 :

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 

내가 (./asinstall) 설치를 CentOS의 RPM과 경고 /usr/lib64/libcrypto.so.1.0.0을하지 않았다.

바이너리 RPM을이를 CentOS/레드햇 여기를 찾을 수 있습니다 Aerospike :

http://www.aerospike.com/download/server/3.12.1/

출력 :

rpm -Uvh aerospike-tools-3.12.1-1.el6.x86_64.rpm 
error: Failed dependencies: 
    libz.so.1(ZLIB_1.2.0)(64bit) is needed by 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) is needed by aerospike-server-community-3.12.1-1.el6.x86_64 

냠 ZLIB-(STABLE)

및 aerospike 서버를 설치합니다. 하려면 openssl의

[email protected] 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%] 
[[email protected] aerospike-server-community-3.12.1-el6]# asd --version 
Aerospike Community Edition build 3.12.1 
[[email protected] 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 and checking aerospike: Apr 10 2017 19:41:19 GMT: WARNING (cf:misc): (hardware.c:626) no NUMA information found in /sys 
                  [ OK ] 
[[email protected] aerospike-server-community-3.12.1-el6]# /etc/init.d/aerospike status 
asd (pid 2080) is running... 

버전 :

[[email protected] aerospike-server-community-3.12.1-el6]# rpm -qa|grep openssl 
openssl-1.0.1e-57.el6.x86_64 

Libcrypto : 당신이 사용하는 비 RPM (.TGZ) 버전 듯

[[email protected] 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 

는 Debian7 컴파일 및 이전 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