安装完成后,我在一个带有2个内核和4gb内存的openvz vps上启动了Aeropike。结果是:
root@outland:~# /etc/init.d/aerospike start
* Start aerospike: asd [OK]
然后检查是否运行asd:
root@outland:~# /etc/init.d/aerospike status
* Halt aerospike: asd [fail]
出了什么问题?
添加日志:
Mar 03 2015 15:17:57 GMT: INFO (config): (cfg.c::3033) system file descriptor limit: 100000, proto-fd-max: 15000
Mar 03 2015 15:17:57 GMT: WARNING (cf:misc): (id.c::249) Tried eth,bond,wlan and list of all available interfaces on device.Failed to retrieve physical address with errno 19 No such device
Mar 03 2015 15:17:57 GMT: CRITICAL (config): (cfg.c:3363) could not get unique id and/or ip address
Mar 03 2015 15:17:57 GMT: WARNING (as): (signal.c::120) SIGINT received, shutting down
Mar 03 2015 15:17:57 GMT: WARNING (as): (signal.c::123) startup was not complete, exiting immediately
这是的配置问题
Mar 03 2015 15:17:57 GMT: WARNING (cf:misc): (id.c::249) Tried eth,bond,wlan and list of all available interfaces on device.Failed to retrieve physical address with errno 19 No such device
Mar 03 2015 15:17:57 GMT: CRITICAL (config): (cfg.c:3363) could not get unique id and/or ip address
基本上vps有一个非标准的接口名称。
解决方案是将您的接口名称作为network-interface-name
添加到配置中。
http://www.aerospike.com/docs/operations/troubleshoot/startup/#problem-具有网络接口
你正在使用哪种操作系统btw?