Skip to content

Instantly share code, notes, and snippets.

@pmn
Created March 21, 2011 01:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmn/878868 to your computer and use it in GitHub Desktop.
Save pmn/878868 to your computer and use it in GitHub Desktop.
webmachine crashing
Erlang R14B02 (erts-5.8.3) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]
=PROGRESS REPORT==== 20-Mar-2011::18:18:31 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.34.0>},
{name,alarm_handler},
{mfargs,{alarm_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 20-Mar-2011::18:18:31 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.35.0>},
{name,overload},
{mfargs,{overload,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 20-Mar-2011::18:18:31 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.33.0>},
{name,sasl_safe_sup},
{mfargs,
{supervisor,start_link,
[{local,sasl_safe_sup},sasl,safe]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=PROGRESS REPORT==== 20-Mar-2011::18:18:31 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.36.0>},
{name,release_handler},
{mfargs,{release_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 20-Mar-2011::18:18:31 ===
application: sasl
started_at: nonode@nohost
=PROGRESS REPORT==== 20-Mar-2011::18:18:31 ===
supervisor: {local,kernel_safe_sup}
started: [{pid,<0.41.0>},
{name,timer_server},
{mfargs,{timer,start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]
Eshell V5.8.3 (abort with ^G)
1>
=PROGRESS REPORT==== 20-Mar-2011::18:18:33 ===
supervisor: {local,crypto_sup}
started: [{pid,<0.48.0>},
{name,crypto_server},
{mfargs,{crypto_server,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 20-Mar-2011::18:18:33 ===
application: crypto
started_at: nonode@nohost
{"init terminating in do_boot",{{case_clause,{error,{not_started,inets}}},[{mydemo,ensure_started,1},{mydemo,start,0},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
@pmn
Copy link
Author

pmn commented Mar 21, 2011

Steps taken:

  1. git clone git://github.com/basho/webmachine.git
  2. cd webmachine
  3. scripts/new_webmachine.sh mydemo
  4. cd mydemo/
  5. ./start.sh

@gregorej
Copy link

I've got exactly the same problem. Using R13B03

@gregorej
Copy link

For some reason I did not notice the error trace (one with case_clause error). The solution is to add inets:start() in the first line of mydemo:start function

@pmn
Copy link
Author

pmn commented Mar 21, 2011

That fixed it for me, thanks from this Erlang noob :D

@capotej
Copy link

capotej commented Mar 25, 2011

Same error, and the fix worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment