Hi Jared, Looking at the postinst, no, it does not start on install. This must be something that the enstratus installer is doing. (though on Debian systems, it is policy to start on install, but I understand why you don't here)
-Brian On Wed, Oct 24, 2012 at 2:16 PM, Jared Morrow <[email protected]> wrote: > Brian, > > I'm curious about this, did Riak start automatically on install of the > package? I know how many people hate this, so I specifically test for that > case when package testing. Maybe I overlooked something, so any > information would be really helpful. > > Thanks, > Jared > > > On Wed, Oct 24, 2012 at 12:14 PM, [email protected] < > [email protected]> wrote: > >> Thanks a ton Evan, >> >> That indeed seems to have done the trick! >> >> -Brian >> >> >> On Wed, Oct 24, 2012 at 1:29 PM, Evan Vigil-McClanahan < >> [email protected]> wrote: >> >>> This is an issue with our packaging. >>> >>> https://github.com/basho/node_package/issues/26 >>> >>> Riak starts without being configured, which writes ring file with the >>> defaults. When you restart it with your proper config, you get this >>> error. >>> >>> There's also a core issue to make the error more clear: >>> >>> https://github.com/basho/riak_core/issues/243 >>> >>> If you kill your ring directory and restart, everything should work >>> correctly. >>> >>> On Wed, Oct 24, 2012 at 9:26 AM, [email protected] >>> <[email protected]> wrote: >>> > I installed enstratus which makes use of riak and unfortunately, i >>> can't get >>> > riak to start. Here is the console output: >>> > >>> > Attempting to restart script through sudo -H -u riak >>> > Exec: /usr/lib/riak/erts-5.9.1/bin/erlexec -boot >>> > /usr/lib/riak/releases/1.2.0/riak -embedded -config >>> > /etc/riak/app.config -pa /usr/lib/riak/basho-patches >>> > -args_file /etc/riak/vm.args -- console >>> > Root: /usr/lib/riak >>> > Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:2:2] >>> [async-threads:64] >>> > [kernel-poll:true] >>> > >>> > >>> > =INFO REPORT==== 24-Oct-2012::12:25:46 === >>> > alarm_handler: {set,{system_memory_high_watermark,[]}} >>> > ** /usr/lib/riak/lib/observer-1.1/ebin/etop_txt.beam hides >>> > /usr/lib/riak/lib/basho-patches/etop_txt.beam >>> > ** Found 1 name clashes in code paths >>> > 12:25:46.667 [info] Application lager started on node '[email protected]' >>> > 12:25:46.762 [info] Upgrading legacy ring >>> > 12:25:46.991 [error] gen_server riak_core_capability terminated with >>> reason: >>> > no function clause matching orddict:fetch('[email protected]', []) line >>> 72 >>> > Erlang has closed >>> > >>> > =INFO REPORT==== 24-Oct-2012::12:25:47 === >>> > alarm_handler: {clear,system_memory_high_watermark} >>> > /usr/lib/riak/lib/os_mon-2.2.9/priv/bin/memsup: 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,[' >>> [email protected] >>> ',[]],[{file,[111,114,100,100,105,99,116,46,101,114,108]},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,[115,114,99,47,114,105,97,107,95,99,111,114,101,95,99,97,112,97,98,105,108,105,116,121,46,101,114,108]},{line,414}]},{riak_core_capability,handle_call,3,[{file,[115,114,99,47,114,105,97,107,95,99,111,114,101,95,99,97,112,97,98,105,108,105,116,121,46,101,114,108]},{line,208}]},{gen_server,handle_msg,5,[{file,[103,101,110,95,115,101,114,118,101,114,46,101,114,108]},{line,588}]},{proc_lib,init_p_do_apply,3,[{file,[112,114,111,99,95,108,105,98,46,101,114,108]},{line,227}]}]},{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,[' >>> [email protected]',[]],[{ >>> > >>> > >>> > _______________________________________________ >>> > riak-users mailing list >>> > [email protected] >>> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >>> > >>> >> >> >> _______________________________________________ >> riak-users mailing list >> [email protected] >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> >> >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
