This is a requirement for the HTTP socket - DNS may not adequately specify an *interface*, but an IP address will. Use the IPv4 address in the configuration.
On Tue, Dec 20, 2011 at 6:40 AM, Olve Hansen <[email protected]> wrote: > 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 '[email protected]' > 12:19:19.687 [info] Application sasl started on node '[email protected]' > 12:19:19.692 [info] Application cluster_info started on node ' > [email protected]' > 12:19:19.708 [info] Application os_mon started on node '[email protected]' > 12:19:19.712 [info] alarm_handler: > {set,{{disk_almost_full,"/Volumes/Timemachine"},[]}} > 12:19:19.719 [info] Application crypto started on node '[email protected]' > ** Found 0 name clashes in code paths > 12:19:19.788 [info] Application webmachine started on node '[email protected] > ' > 12:19:19.796 [info] Application riak_sysmon started on node ' > [email protected]' > 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,[]]}}}) > > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > -- Sean Cribbs <[email protected]> Developer Advocate Basho Technologies, Inc. http://www.basho.com/
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
