Hi Sahil,

Please check that you don't have another Riak or Erlang node running with
the same name. The error right in the middle, "{error,duplicate_name}"
indicates trying to register a node name that is already registered.



On Tue, Feb 11, 2014 at 4:55 AM, Sahil Verma <[email protected]>wrote:

>  Version: 1.4.7-1.el6
>
>
>
> riak start times out after 15 seconds. I can get the same version of riak
> to start on another server, but not this one. I do make sure no riak
> processes are running before doing riak start, so there shouldn’t be a port
> number conflict.
>
>
>
> Anything else I can look at for finding the root cause?
>
>
>
> riak console output is:
>
>
>
> config is OK
>
> Exec: /usr/lib64/riak/erts-5.9.1/bin/erlexec -boot
> /usr/lib64/riak/releases/1.4.7/riak              -config
> /etc/riak/app.config             -pa
> /usr/lib64/riak/lib/basho-patches             -args_file /etc/riak/vm.args
>
> -- console
>
> Root: /usr/lib64/riak
>
> {error_logger,{{2014,2,10},{19,43,19}},"Protocol: ~p: register error:
> ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1,[{file,"inet_tcp_dist.erl"},{line,70}]},{net_kernel,start_protos,4,[{fil
>
>
> e,"net_kernel.erl"},{line,1314}]},{net_kernel,start_protos,3,[{file,"net_kernel.erl"},{line,1307}]},{net_kernel,init_node,2,[{file,"net_kernel.erl"},{line,1197}]},{net_kernel,init,1,[{file,"net_kernel.erl"},{line,357}]},
>
>
> {gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}]}
>
>
> {error_logger,{{2014,2,10},{19,43,19}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6,[{file,"gen_server.erl"},
>
>
> {line,320}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.205>,<0.18.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{st
>
> atus,running},{heap_size,610},{stack_size,24},{reductions,508}],[]]}
>
>
> {error_logger,{{2014,2,10},{19,43,19}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_li
>
> nk,[['[email protected]
> ',longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
>
>
> {error_logger,{{2014,2,10},{19,43,20}},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,{{2014,2,10},{19,43,20}},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: /var/log/riak/erl_crash.dump
>
> Kernel pid terminated (application_controller)
> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
>
>
>
>
>
> Thanks
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>


-- 
Sean Cribbs <[email protected]>
Software Engineer
Basho Technologies, Inc.
http://basho.com/
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to