我一直在尝试按照official guide
让riak在macbook上运行我试过拉过tarball并从源代码安装。结果是相同的
这是riak console
的输出:
config is OK
-config /Users/jistone/riak-2.0.4/rel/riak/data/generated.configs/app.2015.02.16.22.22.49.config -args_file /Users/jistone/riak-2.0.4/rel/riak/data/generated.configs/vm.2015.02.16.22.22.49.args -vm_args /Users/jistone/riak-2.0.4/rel/riak/data/generated.configs/vm.2015.02.16.22.22.49.args
!!!!
!!!! WARNING: ulimit -n is 256; 65536 is the recommended minimum.
!!!!
Exec: /Users/jistone/riak-2.0.4/rel/riak/bin/../erts-5.10.3/bin/erlexec -boot /Users/jistone/riak-2.0.4/rel/riak/bin/../releases/2.0.4/riak -config /Users/jistone/riak-2.0.4/rel/riak/data/generated.configs/app.2015.02.16.22.22.49.config -args_file /Users/jistone/riak-2.0.4/rel/riak/data/generated.configs/vm.2015.02.16.22.22.49.args -vm_args /Users/jistone/erlang/rktar/riak-2.0.4/rel/riak/data/generated.configs/vm.2015.02.16.22.22.49.args -pa /Users/jistone/riak-2.0.4/rel/riak/bin/../lib/basho-patches -- console
Root: /Users/jistone/riak-2.0.4/rel/riak/bin/..
Erlang R16B02-basho5 (erts-5.10.3) [source] [smp:8:8] [async-threads:64] [hipe] [kernel-poll:true]
{"Kernel pid terminated",application_controller,"{application_start_failure,erlang_js,{{bad_return_value,{error,{load_error,\"Failed to load erlang_js_drv.so\"}}},{erlang_js,start,[normal,[]]}}}"}
Crash dump was written to: ./log/erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,erlang_js,{{bad_return_value,{error,{load_error,"Failed to load erlang_js_drv.so"}}},{erlang_js,start,[normal,[]]}}})
erlang_js_drv.so
确实存在:
$ find ./ -name erlang_js_drv.so
.//lib/erlang_js-1.3.0-0-g07467d8/priv/erlang_js_drv.so
所以我不确定该消息是什么。我该如何进一步调试?