The below does to make sense to me.
root@ip-10-204-150-22:/var/log/riak# riak console
Attempting to restart script through sudo -H -u riak
!!!!
!!!! WARNING: ulimit -n is 1024; 4096 is the recommended minimum.
!!!!
Exec: /usr/lib/riak/erts-5.9.1/bin/erlexec -boot
/usr/lib/riak/releases/1.3.1/riak -embedded -config
/etc/riak/app.config -pa
/usr/lib/riak/lib/basho-patches -args_file /etc/riak/vm.args --
console
Root: /usr/lib/riak
{error_logger,{{2013,6,14},{1,49,23}},"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,[{file,"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,{{2013,6,14},{1,49,23}},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.197>,<0.18.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,528}],[]]}
{error_logger,{{2013,6,14},{1,49,23}},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,{{2013,6,14},{1,49,23}},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,{{2013,6,14},{1,49,23}},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,[]]}}})
On Fri, Jun 14, 2013 at 9:26 AM, David Montgomery <[email protected]
> wrote:
> Ps
>
> Wen i did riak-admin reip [email protected] [email protected]
>
> Attempting to restart script through sudo -H -u riak
> Backed up existing ring file to
> "/var/lib/riak/ring/riak_core_ring.default.20130614011624.BAK"
> New ring file written to
> "/var/lib/riak/ring/riak_core_ring.default.20130614012331"
>
>
>
> riak ping
> Attempting to restart script through sudo -H -u riak
> !!!!
> !!!! WARNING: ulimit -n is 1024; 4096 is the recommended minimum.
> !!!!
> Node '[email protected]' not responding to pings.
>
>
> riak start
> Attempting to restart script through sudo -H -u riak
> !!!!
> !!!! WARNING: ulimit -n is 1024; 4096 is the recommended minimum.
> !!!!
> 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.
>
>
> Where is the missing documentation?
>
>
>
>
>
>
> On Fri, Jun 14, 2013 at 9:02 AM, David Montgomery <
> [email protected]> wrote:
>
>> Hi,
>>
>> Why will riak not work on ec2 with a single node?
>>
>> 1) I have my sec groups open for all ports. This should be a no brainier.
>>
>> 2) Using the python client =
>> riak.RiakClient(host=riak_host,port=8087,transport_class=riak.transports.pbc.RiakPbcTransport)
>> where riak_host is the public ip address of the machine
>>
>> 3) I when into app.config vm.args and replaces 127.0.0.1 in the relevant
>> places with the public ip address
>>
>> 4) I restarted riak
>>
>> 5) Yet..I cant remote write to riak.
>>
>> I am using the latest version of rial for ubuntu 12.04 installed wit the
>> deb package.
>>
>> So...what is the issue?
>>
>>
>>
>>
>> Thanks
>>
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com