2015-02-24 35 views
1

我得到錯誤,當我在ec2機器上執行以下命令 sudo /etc/init.d/aerospike startaerospike服務啓動錯誤/ usr/bin/asd:/lib/x86_64-linux-gnu/libc.so.6:未找到'GLIBC_2.14'版本(要求爲/ usr/bin/asd)

我需要ec2機器中的aerospike引擎用於測試目的。 我用 wget -O aerospike.tgz'http://aerospike.com/download/server/latest/artifact/ubuntu12獲取文件並按照文檔說的安裝它。

+1

您使用的是哪個ubuntu版本?(ubuntu12或ubuntu14)您也可以嘗試Aerospike的市場AMI。 – 2015-02-24 16:14:17

+1

你能告訴我你使用哪個AMI id來設置實例嗎?我嘗試了Ubuntu 12和14;工作正常。 – 2015-02-24 16:36:19

回答

2

我剛碰巧看到這個問題。你解決了嗎?你是否安裝了正確版本的GLibC?

如果不是,它看起來像你使用3.5.3社區版本,是否正確?

我在AWS測試在Ubuntu 14.4 M3大,而且安裝和精細的開始:

[email protected]:~$ wget -O aerospike.tgz 'http://aerospike.com/download/server/latest/artifact/ubuntu12 
> ^C 
[email protected]:~$ wget -O aerospike.tgz 'http://aerospike.com/download/server/latest/artifact/ubuntu12' 
--2015-03-09 21:29:58-- http://aerospike.com/download/server/latest/artifact/ubuntu12 
Resolving aerospike.com (aerospike.com)... 184.168.221.29 
Connecting to aerospike.com (aerospike.com)|184.168.221.29|:80... connected. 
HTTP request sent, awaiting response... 302 Found 
Location: /download/server/latest/artifact/ubuntu12 [following] 
--2015-03-09 21:29:59-- http://aerospike.com/download/server/latest/artifact/ubuntu12 
Connecting to aerospike.com (aerospike.com)|184.168.221.29|:80... connected. 
HTTP request sent, awaiting response... 302 Found 
Location: /download/server/latest/artifact/ubuntu12 [following] 
--2015-03-09 21:29:59-- http://aerospike.com/download/server/latest/artifact/ubuntu12 
Connecting to aerospike.com (aerospike.com)|184.168.221.29|:80... connected. 
HTTP request sent, awaiting response... 302 Found 
Location: http://www.aerospike.com/download/server/latest/artifact/ubuntu12[following] 
--2015-03-09 21:29:59-- http://www.aerospike.com/download/server/latest/artifact/ubuntu12 
Resolving www.aerospike.com (www.aerospike.com)... 54.215.231.2, 54.183.249.41 
Connecting to www.aerospike.com (www.aerospike.com)|54.215.231.2|:80... connected. 
HTTP request sent, awaiting response... 302 Found 
Location: http://www.aerospike.com/cgi/latest.php?/download/server/latest/artifact/ubuntu12 [following] 
--2015-03-09 21:29:59-- http://www.aerospike.com/cgi/latest.php?/download/server/latest/artifact/ubuntu12 
Reusing existing connection to www.aerospike.com:80. 
HTTP request sent, awaiting response... 302 Found 
Location: /download/server/3.5.3/artifact/ubuntu12 [following] 
--2015-03-09 21:29:59-- http://www.aerospike.com/download/server/3.5.3/artifact/ubuntu12 
Reusing existing connection to www.aerospike.com:80. 
HTTP request sent, awaiting response... 302 Found 
Location: http://www.aerospike.com/cgi/artifact.php?/download/server/3.5.3/artifact/ubuntu12 [following] 
--2015-03-09 21:29:59-- http://www.aerospike.com/cgi/artifact.php?/download/server/3.5.3/artifact/ubuntu12 
Reusing existing connection to www.aerospike.com:80. 
HTTP request sent, awaiting response... 302 Found 
Location: http://www.aerospike.com/artifacts/aerospike-server-community/3.5.3/aerospike-server-community-3.5.3... [following] 
--2015-03-09 21:29:59-- http://www.aerospike.com/artifacts/aerospike-server-community/3.5.3/aerospike-server-community-3.5.3... 
Reusing existing connection to www.aerospike.com:80. 
HTTP request sent, awaiting response... 200 OK 
Length: 10518026 (10M) [application/x-gzip] 
Saving to: ‘aerospike.tgz’ 

100%[=========================================================================================================================================================================================>] 10,518,026 17.6MB/s in 0.6s 

2015-03-09 21:30:00 (17.6 MB/s) - ‘aerospike.tgz’ saved [10518026/10518026] 

[email protected]:~$ ls -ltrh 
total 11M 
-rw-rw-r-- 1 ubuntu ubuntu 11M Mar 3 23:57 aerospike.tgz 
[email protected]:~$ tar xvf aerospike.tgz 
aerospike-server-community-3.5.3-ubuntu12.04/ 
aerospike-server-community-3.5.3-ubuntu12.04/asinstall 
aerospike-server-community-3.5.3-ubuntu12.04/aerospike-server-community-3.5.3.ubuntu12.04.x86_64.deb 
aerospike-server-community-3.5.3-ubuntu12.04/aerospike-tools-3.5.2.ubuntu12.04.x86_64.deb 
aerospike-server-community-3.5.3-ubuntu12.04/LICENSE 
aerospike-server-community-3.5.3-ubuntu12.04/SHA256SUMS 
[email protected]:~$ cd aerospike-server-community-3.5.3-ubuntu12.04/ 
[email protected]:~/aerospike-server-community-3.5.3-ubuntu12.04$ ls -ltrh 
total 11M 
-rw-rw-r-- 1 ubuntu ubuntu 8.1K Dec 5 20:24 LICENSE 
-rwxrwxr-x 1 ubuntu ubuntu 1.1K Dec 5 20:24 asinstall 
-rw-r--r-- 1 ubuntu ubuntu 3.7M Feb 23 23:38 aerospike-tools-3.5.2.ubuntu12.04.x86_64.deb 
-rw-rw-r-- 1 ubuntu ubuntu 563 Feb 23 23:43 SHA256SUMS 
-rw-r--r-- 1 ubuntu ubuntu 6.6M Feb 23 23:43 aerospike-server-community-3.5.3.ubuntu12.04.x86_64.deb 
[email protected]:~/aerospike-server-community-3.5.3-ubuntu12.04$ sudo ./asinstall 
Installing tools 
dpkg -i aerospike-tools-3.5.2.ubuntu12.04.x86_64.deb 
Selecting previously unselected package aerospike-tools. 
(Reading database ... 51108 files and directories currently installed.) 
Preparing to unpack aerospike-tools-3.5.2.ubuntu12.04.x86_64.deb ... 
Unpacking aerospike-tools (3.5.2) ... 
Setting up aerospike-tools (3.5.2) ... 
Installing /opt/aerospike 
Writing /usr/local/lib/python2.7/dist-packages/aerospike.pth 
Adding python path /opt/aerospike/lib/python 
Installing server 
dpkg -i aerospike-server-community-3.5.3.ubuntu12.04.x86_64.deb 
Selecting previously unselected package aerospike-server-community. 
(Reading database ... 51160 files and directories currently installed.) 
Preparing to unpack aerospike-server-community-3.5.3.ubuntu12.04.x86_64.deb ... 
Unpacking aerospike-server-community (3.5.3-1) ... 
Setting up aerospike-server-community (3.5.3-1) ... 
Processing triggers for ureadahead (0.100.0-16) ... 
[email protected]:~/aerospike-server-community-3.5.3-ubuntu12.04$ sudo /etc/init.d/aerospike start 
* Start aerospike: asd                                                   kernel.shmall too low, setting to 4G pages = 16TB 
kernel.shmall = 4294967296 
kernel.shmmax too low, setting to 1GB 
kernel.shmmax = 1073741824 
                                                          [ OK ] 
[email protected]:~/aerospike-server-community-3.5.3-ubuntu12.04$ sudo /etc/init.d/aerospike status 
* asd is running 
[email protected]:~/aerospike-server-community-3.5.3-ubuntu12.04$ 

讓我們知道,如果問題仍然存在。

希望這有助於

-DM

2

您可能也有安裝最新的glibc如果舊版本。

sudo apt-get update 
sudo apt-get install libc6 
+1

感謝隊友:)其實我是在11.10上運行它,然後我意識到了。在此之後,我更新了系統,它工作。 – Amit 2015-03-11 05:08:37

相關問題