0

我已经在带有 libssl 的 EC2 实例 lucid amd64 上安装了 riak (apt-get)。

运行 riak start 时,我得到:

Attempting to restart script through sudo -H -u 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.

运行 riak 控制台:

Exec: /usr/lib/riak/erts-5.9.1/bin/erlexec -boot /usr/lib/riak/releases/1.3.1/riak
-embedded -config /etc/riak/app.config
-pa /usr/lib/riak/lib/basho-patches
-args_file /etc/riak/vm.args -- console

Root: /usr/lib/riak

Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:2:2] [async-threads:64] [kernel-poll:true]

/usr/lib/riak/lib/os_mon-2.2.9/priv/bin/memsup: Erlang has closed. 

Erlang has closed
{"Kernel pid terminated",application_controller,"{application_start_failure,riak_core,     {shutdown,{riak_core_app,start,[normal,[]]}}}"}

Crash dump was written to: /var/log/riak/erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,riak_core,   {shutdown,{riak_core_app,start,[normal,[]]}}})

错误日志:

2013-04-24 11:36:20.897 [error] <0.146.0> CRASH REPORT Process riak_core_handoff_listener with 1 neighbours exited with reason: bad return value: {error,eaddrinuse} in    gen_server:init_it/6 line 332
2013-04-24 11:36:20.899 [error] <0.145.0> Supervisor riak_core_handoff_listener_sup had   child riak_core_handoff_listener started with riak_core_handoff_listener:start_link() at undefined exit with reason bad return value: {error,eaddrinuse} in context start_error
2013-04-24 11:36:20.902 [error] <0.142.0> Supervisor riak_core_handoff_sup had child riak_core_handoff_listener_sup started with riak_core_handoff_listener_sup:start_link() at undefined exit with reason shutdown in context start_error

2013-04-24 11:36:20.903 [error] <0.130.0> Supervisor riak_core_sup had child riak_core_handoff_sup started with riak_core_handoff_sup:start_link() at undefined exit with reason shutdown in context start_error

我是 Riak 的新手,基本上试图通过“Fast Track”文档运行。

配置中的默认核心 IP 设置均未更改。它们仍然设置为 {http, [ {"127.0.0.1", 8098 } ]}, {handoff_port, 8099 }

任何帮助将不胜感激。

4

1 回答 1

0

I know this is old but there is some solid documentation about the errors in the crash.dump file on the Riak site.

于 2014-11-16T19:31:19.820 回答