Ulf <br><br>Thanks ... The issue was my version of Erlang (R13) instead of R15B (which is required). Had to recompile from source on Ubuntu 10.04 LTS... but it's all working now. <br><br><br>Regards<br>Milind<br><br><br>
<div class="gmail_quote">On Fri, May 18, 2012 at 2:47 PM, Ulf Wiger <span dir="ltr"><<a href="mailto:ulf@feuerlabs.com" target="_blank">ulf@feuerlabs.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word"><div><br></div><div>What were commands (1) and (2)?</div><div><br></div><div><div>uwair:0518 uwiger$ git clone <a>git://github.com/esl/gproc.git</a></div><div>Cloning into gproc...</div><div>
remote: Counting objects: 1042, done.</div><div>remote: Compressing objects: 100% (293/293), done.</div><div>remote: Total 1042 (delta 754), reused 995 (delta 715)</div><div>Receiving objects: 100% (1042/1042), 1.03 MiB | 324 KiB/s, done.</div>
<div>Resolving deltas: 100% (754/754), done.</div><div>uwair:0518 uwiger$ cd gproc</div><div>uwair:gproc uwiger$ rebar get-deps compile</div><div>==> gproc (get-deps)</div><div>…</div><div>==> gproc (compile)</div><div>
Compiled src/gproc_sup.erl</div><div>Compiled src/gproc_ps.erl</div><div>Compiled src/gproc_init.erl</div><div>Compiled src/gproc_monitor.erl</div><div>Compiled src/gproc_info.erl</div><div>Compiled src/gproc_app.erl</div>
<div>Compiled src/gproc_lib.erl</div><div>Compiled src/gproc_dist.erl</div><div>Compiled src/gproc.erl</div><div>uwair:gproc uwiger$ unset ERL_LIBS</div><div>uwair:gproc uwiger$ erl -pa ebin</div><div>Erlang R15B (erts-5.9) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false]</div>
<div><br></div><div>Eshell V5.9 (abort with ^G)</div><div>1> application:start(gproc).</div><div>ok</div></div><div><div>2> gproc:reg({n,l,foo}).</div><div>true</div><div>3> gproc:where({n,l,foo}).</div><div><0.31.0></div>
</div><div><br></div><div>A possibility for the badarg exception would be that the table already exists.</div><div><br></div><div>What version of Erlang/OTP are you using?</div><div>I believe the read_concurrency & write_concurrency options were added to ETS in R14B.</div>
<div><br></div><div>BR,</div><div>Ulf W</div><br><div><div><div class="h5"><div>On 18 May 2012, at 23:38, Milind Parikh wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5">application:start(sasl).<br>
application:start(gproc) fails with log attached below. <br><br>I have <br><br>0. Downloaded the latest copy of gproc (from github)<br>1. Downloaded the latest copy of rebar (from github)<br>2. copied the latest rebar into gproc<br>
3. ./rebar get-deps in gproc<br>4. ./rebar compile in gproc. <br><br>and am trying to follow <a href="http://rustyklophaus.com/articles/20090916-GProcErlangGlobalProcessRegistry.html" target="_blank">http://rustyklophaus.com/articles/20090916-GProcErlangGlobalProcessRegistry.html</a><br>
<br>I must be missing something trivial. Any help would be appreciated. <br><br>Thanks<br>Milind<br><br><br><br>+++++++++++++++ LOG ++++++++++++++++++++++++++++<br><br>(a@abc-laptop)3> application:start(gproc).<br><br>
=SUPERVISOR REPORT==== 18-May-2012::14:12:25 ===<br> Supervisor: {local,gproc_sup}<br> Context: start_error<br> Reason: {'EXIT',<br> {badarg,<br> [{ets,new,<br>
[gproc,<br> [ordered_set,public,named_table,<br> {write_concurrency,true},<br> {read_concurrency,true}]]},<br>
{gproc,create_tabs,0},<br> {gproc,start_link,0},<br> {supervisor,do_start_child,2},<br> {supervisor,start_children,3},<br>
{supervisor,init_children,2},<br> {gen_server,init_it,6},<br> {proc_lib,init_p_do_apply,3}]}}<br> Offender: [{pid,undefined},<br> {name,gproc},<br>
{mfa,{gproc,start_link,[]}},<br> {restart_type,permanent},<br> {shutdown,2000},<br> {child_type,worker}]<br><br><br>=INFO REPORT==== 18-May-2012::14:12:25 ===<br>
application: gproc<br> exited: {shutdown,{gproc_app,start,[normal,[]]}}<br> type: temporary<br>{error,{shutdown,{gproc_app,start,[normal,[]]}}}<br><br><br></div></div>
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br><div>
<div><div>Ulf Wiger, Co-founder & Developer Advocate, Feuerlabs Inc.</div><div><a href="http://feuerlabs.com" target="_blank">http://feuerlabs.com</a></div></div><div><br></div><br>
</div>
<br></div></blockquote></div><br>