【问题标题】:Installing Aerospike on Ubuntu: not able to start server在 Ubuntu 上安装 Aerospike:无法启动服务器
【发布时间】:2018-06-14 17:22:23
【问题描述】:

我一直遵循以下说明:https://www.aerospike.com/docs/operations/install/linux/ubuntu 我已成功运行以下命令:

wget -O aerospike.tgz 'https://www.aerospike.com/download/server/latest/artifact/ubuntu16'
tar -xvf aerospike.tgz
cd aerospike-server-community-4.2.0.3-ubuntu16.04/
sudo ./asinstall

/opt/aeropspike 目录已创建,如我所见。

但未创建以下目录:

1) /etc/init.d/aerospike 2) /var/log/aerospike

现在我无法继续执行第 4 步来启动 Aerospike。

这里有没有我遗漏的步骤,或者有任何其他方式可以查看日志并在这台机器上启动 Aerospike?

我的机器详细信息: 经销商编号:Ubuntu 说明:Ubuntu 16.04.3 LTS 发布时间:16.04 代号:xenial

谢谢!

【问题讨论】:

    标签: server aerospike


    【解决方案1】:

    systemd 已经取代了 Ubuntu 16 中的新贵,所以它是 journalctl -u aerospike 用于日志。

    您也找不到 init.d 脚本,因为它已被 /usr/lib/systemd/system/aerospike.service 替换。再次,因为它现在是系统化的。

    【讨论】:

    • 谢谢@Richard 我可以参考这些更改的明确文档吗?那会很有帮助!
    • 有一个特定的systemd page。来自ubuntu installation page 的黄色概览标注中的链接目前已断开。
    【解决方案2】:

    启动ubuntu服务器

    sudo service aerospike start

    上面提到的所有命令列表中的概述

    【讨论】:

    • 感谢工作!你能分享一下你在上面得到那个命令的地方吗?我似乎找不到这个 cmds 列表....
    • 还有知道在哪里可以看到日志和系统运行状况吗?
    • @user3868051 /var/log/aerospike/aerospike.log 的位置
    • 关于启动 aerospike 的命令在第一个窗口aerospike.com/docs/operations/install/linux/ubuntu
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-09-23
    • 2018-04-03
    • 2013-01-22
    • 2017-11-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多