riak启动问题

发布于 2024-12-26 13:04:49 字数 1518 浏览 0 评论 0原文

我正在尝试使用他们非常基本的 45 分钟教程来设置 riak 3 节点集群,但是我的第一个节点总是无法启动,并在 erlang.log.1 中出现以下错误:

=====
===== LOGGING STARTED Tue Jan 10 12:13:08 EST 2012
=====
Exec: /root/packages/basho-riak-782cc74/dev/dev1/erts-5.8.4/bin/erlexec -boot /root/packages/basho-riak-782cc74/dev/dev1/releases/1.0.2/riak             -embedded -config /root/packages/basho-riak-782cc74/dev/dev1/etc/app.config             -args_file /root/packages/basho-riak-782cc74/dev/dev1/etc/vm.args -- console
Root: /root/packages/basho-riak-782cc74/dev/dev1
Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:64] [hipe] [kernel-poll:true]


Crash dump was written to: log/erl_crash.dump
The code server called the unloaded module `erlang'

这是我设置时遵循的链接: http://wiki.basho.com/Building-a-Development-Environment.html

我什至尝试了 make rel 选项,但出现了同样的错误。

# uname -a
Linux li110-56 3.0.4-x86_64-linode21 #1 SMP Thu Sep 1 21:28:01 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

日志目录不包含任何 error.log :

root@li110-56:~/packages/basho-riak-782cc74/rel/riak# ls -l log/
total 648
-rw-r--r-- 1 root root    645 2012-01-10 12:21 erlang.log.1
-rw-r----- 1 root root 651183 2012-01-10 12:22 erl_crash.dump
-rw-r--r-- 1 root root    292 2012-01-10 12:21 run_erl.log

注意:它正常工作,可能是由于从 R14B04 降级到 R14B03 时留下重复项而导致的错误。我通过完全删除 /usr/lib/erlang 进行重试,它按预期工作。

I am trying to setup riak 3 node cluster using their very basic 45 minute tutorial, however my first node always fail to start with following error inside erlang.log.1:

=====
===== LOGGING STARTED Tue Jan 10 12:13:08 EST 2012
=====
Exec: /root/packages/basho-riak-782cc74/dev/dev1/erts-5.8.4/bin/erlexec -boot /root/packages/basho-riak-782cc74/dev/dev1/releases/1.0.2/riak             -embedded -config /root/packages/basho-riak-782cc74/dev/dev1/etc/app.config             -args_file /root/packages/basho-riak-782cc74/dev/dev1/etc/vm.args -- console
Root: /root/packages/basho-riak-782cc74/dev/dev1
Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:64] [hipe] [kernel-poll:true]


Crash dump was written to: log/erl_crash.dump
The code server called the unloaded module `erlang'

Here is the link i am following for my setup:
http://wiki.basho.com/Building-a-Development-Environment.html

I even tried make rel option but with same error.

# uname -a
Linux li110-56 3.0.4-x86_64-linode21 #1 SMP Thu Sep 1 21:28:01 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

Log directory doesn't contain any error.log :

root@li110-56:~/packages/basho-riak-782cc74/rel/riak# ls -l log/
total 648
-rw-r--r-- 1 root root    645 2012-01-10 12:21 erlang.log.1
-rw-r----- 1 root root 651183 2012-01-10 12:22 erl_crash.dump
-rw-r--r-- 1 root root    292 2012-01-10 12:21 run_erl.log

Note: Got it working, probably was an error because of duplicates left while downgrading from R14B04 to R14B03. I retried by completely removing /usr/lib/erlang and it worked as expected.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

心病无药医 2025-01-02 13:04:49

正如 Brian 所说,确保您系统上安装的 Erlang 版本与您安装的 Riak 版本兼容。 Riak 没有使用最新、最好的 Erlang 版本,这会导致问题。

As Brian said, make sure that the version of Erlang installed on your system is compatible with the version of Riak you installed. Riak isn't using the latest and greatest Erlang build and it will cause problems.

沧笙踏歌 2025-01-02 13:04:49

我相信首先你需要查看 erl_crash.dump

你可以找到崩溃的原因 - 它在 erl_crash.dump 中以“Slogan:”开头的字符串

I believe first of all you need to look at erl_crash.dump

You can find the cause of crashing - its string that starts with "Slogan:" in the erl_crash.dump

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文