ubuntu 16.04 中的 aerospike 安装

aerospike installation in ubuntu 16.04

使用以下命令安装了 aerospike-

1)wget -O aerospike.tgz 'http://aerospike.com/download/server/latest/artifact/ubuntu16'

2)tar-xvfaerospike.tgz

3)cd aerospike-server-community-3.15.0.2-ubuntu16.04 ./asinstall

执行以下命令时- 1)tail -f /var/log/aerospike/aerospike.log | grep 蛋糕 收到此错误- 尾巴:无法打开“/var/log/aerospike/aerospike.log”进行读取:没有这样的文件或目录

Ubuntu 16.04 从 SysInit V 切换到 Systemd。在已切换到 SystemD 的发行版上,Aerospike 提供配置和单元文件以符合 Systemd 的期望。

要访问您的日志,您需要使用 journalctl 命令。

Aerospike 在此处提供了 Systemd 指南:https://www.aerospike.com/docs/operations/manage/systemd

Seems aerospike server is not running ,thus logs not made : "ps -ef | grep aerospike" -> result: root 7328

Aerospike 进程的名称是 asd,因此您需要 运行 "ps -ef | grep asd"