【问题标题】:Riak 1.3.1 will not start on lucid, Ec2 instanceRiak 1.3.1 不会在 lucid、Ec2 实例上启动
【发布时间】:2013-04-24 11:58:18
【问题描述】:

我已经在 EC2 实例上安装了 riak (apt-get),Lucid,amd64 和 libssl。

当运行 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 }

任何帮助将不胜感激。

【问题讨论】:

  • 错误日志似乎表明切换端口上已经在运行某些东西。您是否在开始之前验证了端口未在使用中,例如通过'netstat -a |听听 | grep 80'?
  • 好的会检查,谢谢
  • 你也可以看看这个:stackoverflow.com/questions/16359656/…

标签: riak


【解决方案1】:

我知道这是旧的,但在 Riak site 上的 crash.dump 文件中有一些关于错误的可靠文档。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-10-12
    • 2023-04-05
    • 2020-03-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多