【发布时间】:2017-01-23 20:01:44
【问题描述】:
我正在使用 ubuntu 16.04。我正在尝试安装 Cassandra。但是我遇到了一些未知的问题。你能帮我解决一下吗?
我按照 Apache-Cassandra Instructions 安装 Cassandra 3.6
我在这台机器上安装了 python 2.7。
当我使用命令查看状态时。
sudo service cassandra status
我收到了这个错误
Cassandra.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
我很确定,我没有像 root 那样做。
我在一年前在 ubuntu 14.04 中安装了 Cassandra,没有任何问题。并且在不同的项目上工作得很好。现在遇到这些问题。
如果我使用以下命令
sudo service cassandra start
我收到了这个错误。
Failed to start cassandra.service: Unit cassandra.service not found.
python和Cassandra版本有问题吗?请帮助解决这些问题。请建议我最好的方法。
【问题讨论】:
标签: python-2.7 ubuntu cassandra ubuntu-16.04