Skip to content

runtime error #9

@wuhuaxu

Description

@wuhuaxu

Ubuntu 12.04 64bit Runtime Error
wuhuaxu@WHX:~/pool/ecoinpool$./test_launch_ebitcoin.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B (erts-5.9) [source] [64-bit] [smp:4:4] [async-threads:0] [kernel-poll:false]

Eshell V5.9 (abort with ^G)
(ebitcoin_test@WHX)1> {"init terminating in do_boot",{{badmatch,{error,{not_started,asn1}}},[{ebitcoin_test_launch,start,0,[{file,"src/ebitcoin_test_launch.erl"},{line,31}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()


wuhuaxu@WHX:~/pool/ecoinpool$cat -n apps/ecoinpool/src/ecoinpool_test_launch.erl
1
2 %%
3 %% Copyright (C) 2011 Patrick "p2k" Schneider patrick.p2k.schneider@gmail.com
4 %%
5 %% This file is part of ecoinpool.
6 %%
7 %% ecoinpool is free software: you can redistribute it and/or modify
8 %% it under the terms of the GNU General Public License as published by
9 %% the Free Software Foundation, either version 3 of the License, or
10 %% (at your option) any later version.
11 %%
12 %% ecoinpool is distributed in the hope that it will be useful,
13 %% but WITHOUT ANY WARRANTY; without even the implied warranty of
14 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 %% GNU General Public License for more details.
16 %%
17 %% You should have received a copy of the GNU General Public License
18 %% along with ecoinpool. If not, see http://www.gnu.org/licenses/.
19 %%
20
21 -module(ecoinpool_test_launch).
22 -export([start/0]).
23
24 start() ->
25 ok = application:start(sasl),
26 ok = application:start(crypto),
27 ok = application:start(public_key),
28 ok = application:start(ssl),
29 ok = application:start(log4erl),
30 ok = application:start(ibrowse),
31 ok = application:start(couchbeam),
32 ok = application:start(mysql),
33 ok = application:start(epgsql),
34 ok = application:start(ebitcoin),
35 ok = application:start(ecoinpool),
36 file:write_file("ecoinpool.pid", os:getpid()).


Compile is ok
wuhuaxu@WHX:~/pool/ecoinpool$./rebar compile
==> meck (compile)
==> protobuffs (compile)
==> jsx (compile)
==> oauth (compile)
==> mimetypes (compile)
==> hackney (compile)
==> couchbeam (compile)
==> mochiweb (compile)
==> log4erl (compile)
==> mysql (compile)
==> epgsql (compile)
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)


wuhuaxu@WHX:~/pool/ecoinpool$tree deps/couchbeam/
deps/couchbeam/
├── doc
│   ├── couchbeam_app.md
│   ├── couchbeam_attachments.md
│   ├── couchbeam_changes.md
│   ├── couchbeam_changes_stream.md
│   ├── couchbeam_changes_sup.md
│   ├── couchbeam_deps.md
│   ├── couchbeam_doc.md
│   ├── couchbeam_ejson.md
│   ├── couchbeam_httpc.md
│   ├── couchbeam.md
│   ├── couchbeam_sup.md
│   ├── couchbeam_util.md
│   ├── couchbeam_uuids.md
│   ├── couchbeam_view.md
│   ├── couchbeam_view_stream.md
│   ├── couchbeam_view_sup.md
│   ├── gen_changes.md
│   ├── overview.edoc
│   └── README.md
├── ebin
│   ├── couchbeam.app
│   ├── couchbeam_app.beam
│   ├── couchbeam_attachments.beam
│   ├── couchbeam.beam
│   ├── couchbeam_changes.beam
│   ├── couchbeam_changes_stream.beam
│   ├── couchbeam_changes_sup.beam
│   ├── couchbeam_deps.beam
│   ├── couchbeam_doc.beam
│   ├── couchbeam_ejson.beam
│   ├── couchbeam_httpc.beam
│   ├── couchbeam_sup.beam
│   ├── couchbeam_util.beam
│   ├── couchbeam_uuids.beam
│   ├── couchbeam_view.beam
│   ├── couchbeam_view_stream.beam
│   ├── couchbeam_view_sup.beam
│   └── gen_changes.beam
├── examples
│   ├── changes.ebin
│   ├── changes_once.ebin
│   └── test_gen_changes.erl
├── include
│   └── couchbeam.hrl
├── LICENSE
├── Makefile
├── NEWS
├── NOTICE
├── package.exs
├── README.md
├── rebar
├── rebar.config
├── rebar_dev.config
├── src
│   ├── couchbeam_app.erl
│   ├── couchbeam.app.src
│   ├── couchbeam_attachments.erl
│   ├── couchbeam_changes.erl
│   ├── couchbeam_changes_stream.erl
│   ├── couchbeam_changes_sup.erl
│   ├── couchbeam_deps.erl
│   ├── couchbeam_doc.erl
│   ├── couchbeam_ejson.erl
│   ├── couchbeam.erl
│   ├── couchbeam_httpc.erl
│   ├── couchbeam_sup.erl
│   ├── couchbeam_util.erl
│   ├── couchbeam_uuids.erl
│   ├── couchbeam_view.erl
│   ├── couchbeam_view_stream.erl
│   ├── couchbeam_view_sup.erl
│   └── gen_changes.erl
└── t
├── 001-load.t
├── 002-server.t
├── 003-database.t
├── 004-document.t
├── 005-view.t
├── 006-attachment.t
├── 1M
└── etap.erl

6 directories, 76 files


I'm looking forward to your reply.
And ibrowse is download to the 'deps' directory and compled by myself. ./rebar get-deps doesn't install it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions