当测试运行ecoinpool https://github.com/p2k/ecoinpool时,我正面临一个错误。Ecoinpool安装 - 与couchdb错误
操作系统是debian。
[email protected]:~/ecoinpool# ./test_launch.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:4:4] [async-threads:0] [kernel-poll:true]
Eshell V5.9.1 (abort with ^G)
([email protected])1> [12:29:23.245][ebitcoin/fatal] config_db - couchbeam:open_or_create_db/3 returned an error:
{ok,"401",
[{"Server","CouchDB/1.2.0 (Erlang OTP/R15B01)"},
{"Date","Thu, 30 Aug 2012 12:29:23 GMT"},
{"Content-Type","application/json"},
{"Content-Length","67"},
{"Cache-Control","must-revalidate"}],
<<"{\"error\":\"unauthorized\",\"reason\":\"Name or password is incorrect.\"}\n">>}
{"init terminating in do_boot",{{badmatch,{error,{shutdown,{ebitcoin_app,start,[normal,[]]}}}},[{ecoinpool_test_launch,start,0,[{file,"src/ecoinpool_test_launch.erl"},{line,34}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot()
[email protected]:~/ecoinpool#
编辑 这是我现在面临的错误,可惜我无法解释我是如何来到这里,但未经授权的错误消失。
[email protected]:~/ecoinpool# ./test_launch.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:4:4] [async-threads:0] [kernel-poll:true]
Eshell V5.9.1 (abort with ^G)
([email protected])1> {"init terminating in do_boot",{{badmatch,{error,{shutdown,{ebitcoin_app,start,[normal,[]]}}}},[{ecoinpool_test_launch,start,0,[{file,"src/ecoinpool_test_launch.erl"},{line,34}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot()
[email protected]:~/ecoinpool#
编辑........... – Chriusz
我已在此发布新错误: http://stackoverflow.com/questions/12231780/couchdb-init-terminating-in-do-boot- badmatch-error-shutdown – Chriusz