Riak crashes with dns in app.config- ip is ok

Olve Hansen olvesh at gmail.com
Tue Dec 20 06:40:52 EST 2011


Hi, I am testing Riak for the first time (on OS X Lion) but I am unable to
use my hostname in the app.config. If I use my ip it is ok, but if I use a
dns name specified in my /etc/hosts file it won't start. I tried to reip to
the new node name as well.

Whats up with that? The documentation states that this should be
possible... Anything I have missed?
Thanks,
Olve


mikkmac dev$ ./dev1/bin/riak console
Exec:
/Users/olve/utvikling/riak/source/riak-1.0.2/dev/dev1/erts-5.8.4/bin/erlexec
-boot
/Users/olve/utvikling/riak/source/riak-1.0.2/dev/dev1/releases/1.0.2/riak
-embedded -config
/Users/olve/utvikling/riak/source/riak-1.0.2/dev/dev1/etc/app.config
-args_file
/Users/olve/utvikling/riak/source/riak-1.0.2/dev/dev1/etc/vm.args -- console
Root: /Users/olve/utvikling/riak/source/riak-1.0.2/dev/dev1
Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:8:8] [rq:8]
[async-threads:64] [hipe] [kernel-poll:true]

12:19:19.660 [info] Application lager started on node 'dev1 at 127.0.0.1'
12:19:19.687 [info] Application sasl started on node 'dev1 at 127.0.0.1'
12:19:19.692 [info] Application cluster_info started on node 'dev1 at 127.0.0.1
'
12:19:19.708 [info] Application os_mon started on node 'dev1 at 127.0.0.1'
12:19:19.712 [info] alarm_handler:
{set,{{disk_almost_full,"/Volumes/Timemachine"},[]}}
12:19:19.719 [info] Application crypto started on node 'dev1 at 127.0.0.1'
** Found 0 name clashes in code paths
12:19:19.788 [info] Application webmachine started on node 'dev1 at 127.0.0.1'
12:19:19.796 [info] Application riak_sysmon started on node 'dev1 at 127.0.0.1'
12:19:19.908 [error] Supervisor riak_core_sup had child
[104,116,116,112,95,109,105,107,107,109,97,99,58,56,48,57,49] started with
webmachine_mochiweb:start([{name,"http_mikkmac:8091"},{ip,"mikkmac"},{port,8091},{nodelay,false},{log_dir,"log"},{backlog,128}...])
at undefined exit with reason
{'EXIT',{{badmatch,{error,einval}},[{mochiweb_socket_server,parse_options,2},{mochiweb_socket_server,start,1},{supervisor,do_start_child,2},{supervisor,start_children,3},{supervisor,init_children,2},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}}
in context start_error
12:19:19.910 [info] Application riak_core exited with reason:
{shutdown,{riak_core_app,start,[normal,[]]}}
12:19:19.911 [info] alarm_handler:
{clear,{disk_almost_full,"/Volumes/Timemachine"}}
{"Kernel pid
terminated",application_controller,"{application_start_failure,riak_core,{shutdown,{riak_core_app,start,[normal,[]]}}}"}

Crash dump was written to: log/erl_crash.dump
Kernel pid terminated (application_controller)
({application_start_failure,riak_core,{shutdown,{riak_core_app,start,[normal,[]]}}})
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20111220/1a99f06f/attachment.html>


More information about the riak-users mailing list