在Ubuntu 14.04 LTS下安装Riak

时间:2016-02-28 21:49:24

标签: riak

我不能让riak在Ubuntu 14.04上工作。 LTS使用bash指令 http://docs.basho.com/riak/latest/ops/building/installing/debian-ubuntu/

当运行riak start时,我得到:

values

之后运行riak控制台时:

riak failed to start within 15 seconds,
see the output of 'riak console' for more information.
If you want to wait longer, set the environment variable
WAIT_FOR_ERLANG to the number of seconds to wait.

知道怎么解决这个问题吗?安装已通过apt-get完成。默认riak.conf。 Riak版本是2.1.3。

1 个答案:

答案 0 :(得分:1)

这是一个Riak错误,与Ubuntu完全无关。

错误消息表明节点的当前名称与环文件中任何节点的名称不匹配。如果在配置节点名称之前使用默认配置启动节点,则会发生这种情况。请参阅http://docs.basho.com/riak/latest/ops/building/basic-cluster-setup/

上的Note on changing the name value

如果这是一个单独的节点,最简单的解决方案是删除/var/lib/riak/ring中的文件(先备份)。启动节点时将创建一个新的。