我正在尝试使用他们非常基本的 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 重试,它按预期工作。