Skip to content

Instantly share code, notes, and snippets.

@ryanneufeld
Last active January 13, 2016 19:30
Show Gist options
  • Save ryanneufeld/58b6ce8a7b01970d04b9 to your computer and use it in GitHub Desktop.
Save ryanneufeld/58b6ce8a7b01970d04b9 to your computer and use it in GitHub Desktop.
root@vagrant:/etc/riak# diff -Naur riak.conf riak.conf.orig
--- riak.conf 2016-01-13 19:25:42.173339497 +0000
+++ riak.conf.orig 2016-01-13 19:25:26.517172746 +0000
@@ -99,11 +99,11 @@
## Name of the Erlang node
##
-## Default: riak@0.0.0.0
+## Default: riak@127.0.0.1
##
## Acceptable values:
## - text
-nodename = riak@0.0.0.0
+nodename = riak@127.0.0.1
## Cookie for distributed node communication. All nodes in the
## same cluster should use the same cookie or they will not be able to
@@ -278,20 +278,20 @@
## listener.http.<name> is an IP address and TCP port that the Riak
## HTTP interface will bind.
##
-## Default: 0.0.0.0:8098
+## Default: 127.0.0.1:8098
##
## Acceptable values:
-## - an IP/port pair, e.g. 0.0.0.0:10011
-listener.http.internal = 0.0.0.0:8098
+## - an IP/port pair, e.g. 127.0.0.1:10011
+listener.http.internal = 127.0.0.1:8098
## listener.protobuf.<name> is an IP address and TCP port that the Riak
## Protocol Buffers interface will bind.
##
-## Default: 0.0.0.0:8087
+## Default: 127.0.0.1:8087
##
## Acceptable values:
-## - an IP/port pair, e.g. 0.0.0.0:10011
-listener.protobuf.internal = 0.0.0.0:8087
+## - an IP/port pair, e.g. 127.0.0.1:10011
+listener.protobuf.internal = 127.0.0.1:8087
## The maximum length to which the queue of pending connections
## may grow. If set, it must be an integer > 0. If you anticipate a
@@ -308,8 +308,8 @@
## HTTPS interface will bind.
##
## Acceptable values:
-## - an IP/port pair, e.g. 0.0.0.0:10011
-## listener.https.internal = 0.0.0.0:8098
+## - an IP/port pair, e.g. 127.0.0.1:10011
+## listener.https.internal = 127.0.0.1:8098
## How Riak will repair out-of-sync keys. Some features require
## this to be set to 'active', including search.
root@vagrant:/etc/riak# service riak start
!!!!
!!!! WARNING: ulimit -n is 1024; 65536 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.
config is OK
-config /var/lib/riak/generated.configs/app.2016.01.13.19.26.35.config -args_file /var/lib/riak/generated.configs/vm.2016.01.13.19.26.35.args -vm_args /var/lib/riak/generated.configs/vm.2016.01.13.19.26.35.args
!!!!
!!!! WARNING: ulimit -n is 1024; 65536 is the recommended minimum.
!!!!
Exec: /usr/lib/riak/erts-5.10.3/bin/erlexec -boot /usr/lib/riak/releases/2.1.3/riak -config /var/lib/riak/generated.configs/app.2016.01.13.19.26.35.config -args_file /var/lib/riak/generated.configs/vm.2016.01.13.19.26.35.args -vm_args /var/lib/riak/generated.configs/vm.2016.01.13.19.26.35.args -pa /usr/lib/riak/lib/basho-patches -- console
Root: /usr/lib/riak
Erlang R16B02_basho8 (erts-5.10.3) [source] [64-bit] [smp:2:2] [async-threads:64] [kernel-poll:true] [frame-pointer]
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
{"Kernel pid terminated",application_controller,"{application_start_failure,riak_core,{bad_return,{{riak_core_app,start,[normal,[]]},{'EXIT',{{function_clause,[{orddict,fetch,['riak@0.0.0.0',[{'riak@127.0.0.1',[{{riak_control,member_info_version},[v1,v0]},{{riak_core,bucket_types},[true,false]},{{riak_core,fold_req_version},[v2,v1]},{{riak_core,net_ticktime},[true,false]},{{riak_core,resizable_ring},[true,false]},{{riak_core,security},[true,false]},{{riak_core,staged_joins},[true,false]},{{riak_core,vnode_routing},[proxy,legacy]},{{riak_kv,anti_entropy},[enabled_v1,disabled]},{{riak_kv,crdt},[[pncounter,riak_dt_pncounter,riak_dt_orswot,riak_dt_map],[pncounter],[]]},{{riak_kv,crdt_epoch_versions},[[{riak_dt_map,2},{riak_dt_orswot,2},{riak_dt_pncounter,2}],[{riak_dt_pncounter,2}]]},{{riak_kv,handoff_data_encoding},[encode_raw,encode_zlib]},{{riak_kv,index_backpressure},[true,false]},{{riak_kv,legacy_keylisting},[false]},{{riak_kv,listkeys_backpressure},[true,false]},{{riak_kv,mapred_2i_pipe},[true,false]},{{riak_kv,mapred_system},[pipe]},{{riak_kv,object_format},[v1,v0]},{{riak_kv,put_fsm_ack_execute},[enabled,disabled]},{{riak_kv,secondary_index_version},[v3,v2,v1]},{{riak_kv,vclock_data_encoding},[encode_zlib,encode_raw]},{{riak_kv,vnode_vclocks},[true,false]},{{riak_pipe,trace_format},[ordsets,sets]}]}]],[{file,\"orddict.erl\"},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,\"src/riak_core_capability.erl\"},{line,441}]},{riak_core_capability,handle_call,3,[{file,\"src/riak_core_capability.erl\"},{line,213}]},{gen_server,handle_msg,5,[{file,\"gen_server.erl\"},{line,585}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,239}]}]},{gen_server,call,[riak_core_capability,{register,{riak_core,vnode_routing},{capability,[proxy,legacy],legacy,{riak_core,legacy_vnode_routing,[{true,legacy},{false,proxy}]}}},infinity]}}}}}}"}
Crash dump was written to: /var/log/riak/erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,riak_core,{bad_return,{{riak_core_app,start,[normal,[]]},{'EXIT',{{function_clause,[{orddict,fetch,['riak@0.0.0.0',[{'riak@
root@vagrant:/etc/riak#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment