Hi Alvaro!

Thanks for your quick response.

Well after trying `riak start`, I do notice some processes hanging around:


<Steves-MacBook-Pro:shull> 0 [07-13 18:08] (master)~/Dev/prodar
! ps aux | grep riak
shull          19538   0.0  0.0  2434892    512 s006  R+    6:08PM
0:00.00 grep --color riak

<Steves-MacBook-Pro:shull> 0 [07-13 18:08] (master)~/Dev/prodar
! riak-1.1.4/bin/riak start
Riak failed to start within 15 seconds,
see the output of 'riak console' for more information.
If you want to wait longer, set the environment variable
WAIT_FOR_ERLANG to the number of seconds to wait.

<Steves-MacBook-Pro:shull> 0 [07-13 18:08] (master)~/Dev/prodar
! ps aux | grep riak
shull          19585   0.5  0.2  2564380  36508 s008  Ss+   6:08PM
0:02.45 /Users/shull/Dev/prodar/riak-1.1.4/erts-5.8.5/bin/beam.smp -K true
-A 64 -W w -- -root /Users/shull/Dev/prodar/riak-1.1.4 -progname riak --
-home /Users/shull -- -boot
/Users/shull/Dev/prodar/riak-1.1.4/releases/1.1.4/riak -embedded -config
/Users/shull/Dev/prodar/riak-1.1.4/etc/app.config -pa ./lib/basho-patches
-name [email protected] -setcookie riak -- console
shull          19829   0.0  0.0  2434892    572 s006  R+    6:09PM
0:00.00 grep --color riak
shull          19584   0.0  0.0  2434816    248   ??  S     6:08PM
0:00.00 /Users/shull/Dev/prodar/riak-1.1.4/erts-5.8.5/bin/run_erl -daemon
/tmp//Users/shull/Dev/prodar/riak-1.1.4/
/Users/shull/Dev/prodar/riak-1.1.4/log exec
/Users/shull/Dev/prodar/riak-1.1.4/bin/riak console
shull          19569   0.0  0.0  2434840    244   ??  S     6:08PM
0:00.00 /Users/shull/Dev/prodar/riak-1.1.4/erts-5.8.5/bin/epmd -daemon


If I kill these processes, `riak console` will start ok, but riak start
never does.  :(

-S

On Fri, Jul 13, 2012 at 6:04 PM, Alvaro Videla <[email protected]>wrote:

> You seem to be running Riak already or something in the same port.
>
> See the "duplicate name" part of the error.
>
> Regards,
>
> Alvaro
>
> Sent from my iPhone
>
> On Jul 14, 2012, at 2:53 AM, Steve Hull <[email protected]> wrote:
>
> Hi everyone!
>
> I recently attended a users' group / conference at the Basho offices in
> SF, led by Casey.
>
> Everything was working fine on my 2011 MBP, but when I got this new Retina
> MBP, I found that riak would not start properly.
>
> ! riak-1.1.4/bin/riak start
> Riak failed to start within 15 seconds,
> see the output of 'riak console' for more information.
> If you want to wait longer, set the environment variable
> WAIT_FOR_ERLANG to the number of seconds to wait.
>
> ! riak-1.1.4/bin/riak console
> Exec: /Users/shull/Dev/prodar/riak-1.1.4/erts-5.8.5/bin/erlexec -boot
> /Users/shull/Dev/prodar/riak-1.1.4/releases/1.1.4/riak
> -embedded -config /Users/shull/Dev/prodar/riak-1.1.4/etc/app.config
>     -pa ./lib/basho-patches             -args_file
> /Users/shull/Dev/prodar/riak-1.1.4/etc/vm.args -- console
> Root: /Users/shull/Dev/prodar/riak-1.1.4
> {error_logger,{{2012,7,13},{14,8,56}},"Protocol: ~p: register error:
> ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]}
>
> {error_logger,{{2012,7,13},{14,8,56}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.20.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.216>,<0.17.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size,233},{stack_size,24},{reductions,484}],[]]}
>
> {error_logger,{{2012,7,13},{14,8,56}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[['
> [email protected]
> ',longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
>
> {error_logger,{{2012,7,13},{14,8,56}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
>
> {error_logger,{{2012,7,13},{14,8,56}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
> {"Kernel pid
> terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}
>
> Crash dump was written to: ./log/erl_crash.dump
> Kernel pid terminated (application_controller)
> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
>
>
>
> Any ideas?  I tried with `brew install riak` but same outcome.
>
> -S
>
> --
> *Steve Hull *| *TaskRabbit *|Software Engineer
> *P:* 510.928.4719
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>


-- 
*Steve Hull *| *TaskRabbit *|Software Engineer
*P:* 510.928.4719
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to