Can't start Riak Search

Sean Cribbs sean at basho.com
Fri Feb 18 09:43:12 EST 2011


The "eaccess" error comes from either lacking file permissions or the proper directory structure. In this case, it looks like bitcask could not access the data directory.  Make sure those directories exist and belong to the "riak" user (there's no "riaksearch" user).

Sean Cribbs <sean at basho.com>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On Feb 18, 2011, at 9:38 AM, Mike Stoddart wrote:

> I installed the new FC13 Riak Search 64bit RPM (onto FC12) but I'm
> having issues. I uninstalled Riak and deleted the old database files.
> I had to manually create the riaksearch user/group as well as the
> /var/lib/riaksearch/bitcask and /var/lib/riaksearch/ring directories.
> 
> =INFO REPORT==== 18-Feb-2011::09:34:13 ===
> Spidermonkey VM (thread stack: 8MB, max heap: 8MB, pool:
> riak_kv_js_hook) host starting (<0.168.0>)
> 
> =ERROR REPORT==== 18-Feb-2011::09:34:13 ===
> ** Generic server riak_kv_vnode_master terminating
> ** Last message in was {0,get_vnode}
> ** When Server state == {state,12308,[],undefined,riak_kv_vnode,
>                               riak_kv_legacy_vnode}
> ** Reason for termination ==
> ** {{badmatch,{error,{{badmatch,{error,eacces}},
>                      [{bitcask,open,2},
>                       {riak_kv_bitcask_backend,start,2},
>                       {riak_kv_vnode,init,1},
>                       {riak_core_vnode,init,1},
>                       {gen_fsm,init_it,6},
>                       {proc_lib,init_p_do_apply,3}]}}},
>    [{riak_core_vnode_master,get_vnode,2},
>     {riak_core_vnode_master,handle_call,3},
>     {gen_server,handle_msg,5},
>     {proc_lib,init_p_do_apply,3}]}
> 
> =ERROR REPORT==== 18-Feb-2011::09:34:13 ===
> ** gen_event handler riak_core_ring_handler crashed.
> ** Was installed in riak_core_ring_events
> ** Last event was: {ring_update,
>                       {chstate,'riak at 127.0.0.1',[],
>                           {64,
>                            [{0,'riak at 127.0.0.1'},
>                             {22835963083295358096932575511191922182123945984,
>                              'riak at 127.0.0.1'},
>                             {45671926166590716193865151022383844364247891968,
>                              'riak at 127.0.0.1'},
>                             {68507889249886074290797726533575766546371837952,
>                              'riak at 127.0.0.1'},
>                             {91343852333181432387730302044767688728495783936,
>                              'riak at 127.0.0.1'},
>                             {114179815416476790484662877555959610910619729920,
>                              'riak at 127.0.0.1'},
>                             {137015778499772148581595453067151533092743675904,
>                              'riak at 127.0.0.1'},
>                             {159851741583067506678528028578343455274867621888,
>                              'riak at 127.0.0.1'},
>                             {182687704666362864775460604089535377456991567872,
>                              'riak at 127.0.0.1'},
>                             {205523667749658222872393179600727299639115513856,
>                              'riak at 127.0.0.1'},
>                             {228359630832953580969325755111919221821239459840,
>                              'riak at 127.0.0.1'},
>                             {251195593916248939066258330623111144003363405824,
>                              'riak at 127.0.0.1'},
>                             {274031556999544297163190906134303066185487351808,
>                              'riak at 127.0.0.1'},
>                             {296867520082839655260123481645494988367611297792,
>                              'riak at 127.0.0.1'},
>                             {319703483166135013357056057156686910549735243776,
>                              'riak at 127.0.0.1'},
>                             {342539446249430371453988632667878832731859189760,
>                              'riak at 127.0.0.1'},
>                             {365375409332725729550921208179070754913983135744,
>                              'riak at 127.0.0.1'},
>                             {388211372416021087647853783690262677096107081728,
>                              'riak at 127.0.0.1'},
>                             {411047335499316445744786359201454599278231027712,
>                              'riak at 127.0.0.1'},
>                             {433883298582611803841718934712646521460354973696,
>                              'riak at 127.0.0.1'},
>                             {456719261665907161938651510223838443642478919680,
>                              'riak at 127.0.0.1'},
>                             {479555224749202520035584085735030365824602865664,
>                              'riak at 127.0.0.1'},
>                             {502391187832497878132516661246222288006726811648,
>                              'riak at 127.0.0.1'},
>                             {525227150915793236229449236757414210188850757632,
>                              'riak at 127.0.0.1'},
>                             {548063113999088594326381812268606132370974703616,
>                              'riak at 127.0.0.1'},
>                             {570899077082383952423314387779798054553098649600,
>                              'riak at 127.0.0.1'},
>                             {593735040165679310520246963290989976735222595584,
>                              'riak at 127.0.0.1'},
>                             {616571003248974668617179538802181898917346541568,
>                              'riak at 127.0.0.1'},
>                             {639406966332270026714112114313373821099470487552,
>                              'riak at 127.0.0.1'},
>                             {662242929415565384811044689824565743281594433536,
>                              'riak at 127.0.0.1'},
>                             {685078892498860742907977265335757665463718379520,
>                              'riak at 127.0.0.1'},
>                             {707914855582156101004909840846949587645842325504,
>                              'riak at 127.0.0.1'},
>                             {730750818665451459101842416358141509827966271488,
>                              'riak at 127.0.0.1'},
>                             {753586781748746817198774991869333432010090217472,
>                              'riak at 127.0.0.1'},
>                             {776422744832042175295707567380525354192214163456,
>                              'riak at 127.0.0.1'},
>                             {799258707915337533392640142891717276374338109440,
>                              'riak at 127.0.0.1'},
>                             {822094670998632891489572718402909198556462055424,
>                              'riak at 127.0.0.1'},
>                             {844930634081928249586505293914101120738586001408,
>                              'riak at 127.0.0.1'},
>                             {867766597165223607683437869425293042920709947392,
>                              'riak at 127.0.0.1'},
>                             {890602560248518965780370444936484965102833893376,
>                              'riak at 127.0.0.1'},
>                             {913438523331814323877303020447676887284957839360,
>                              'riak at 127.0.0.1'},
>                             {936274486415109681974235595958868809467081785344,
>                              'riak at 127.0.0.1'},
>                             {959110449498405040071168171470060731649205731328,
>                              'riak at 127.0.0.1'},
>                             {981946412581700398168100746981252653831329677312,
>                              'riak at 127.0.0.1'},
>                             {1004782375664995756265033322492444576013453623296,
>                              'riak at 127.0.0.1'},
>                             {1027618338748291114361965898003636498195577569280,
>                              'riak at 127.0.0.1'},
>                             {1050454301831586472458898473514828420377701515264,
>                              'riak at 127.0.0.1'},
>                             {1073290264914881830555831049026020342559825461248,
>                              'riak at 127.0.0.1'},
>                             {1096126227998177188652763624537212264741949407232,
>                              'riak at 127.0.0.1'},
>                             {1118962191081472546749696200048404186924073353216,
>                              'riak at 127.0.0.1'},
>                             {1141798154164767904846628775559596109106197299200,
>                              'riak at 127.0.0.1'},
>                             {1164634117248063262943561351070788031288321245184,
>                              'riak at 127.0.0.1'},
>                             {1187470080331358621040493926581979953470445191168,
>                              'riak at 127.0.0.1'},
>                             {1210306043414653979137426502093171875652569137152,
>                              'riak at 127.0.0.1'},
>                             {1233142006497949337234359077604363797834693083136,
>                              'riak at 127.0.0.1'},
>                             {1255977969581244695331291653115555720016817029120,
>                              'riak at 127.0.0.1'},
>                             {1278813932664540053428224228626747642198940975104,
>                              'riak at 127.0.0.1'},
>                             {1301649895747835411525156804137939564381064921088,
>                              'riak at 127.0.0.1'},
>                             {1324485858831130769622089379649131486563188867072,
>                              'riak at 127.0.0.1'},
>                             {1347321821914426127719021955160323408745312813056,
>                              'riak at 127.0.0.1'},
>                             {1370157784997721485815954530671515330927436759040,
>                              'riak at 127.0.0.1'},
>                             {1392993748081016843912887106182707253109560705024,
>                              'riak at 127.0.0.1'},
>                             {1415829711164312202009819681693899175291684651008,
>                              'riak at 127.0.0.1'},
>                             {1438665674247607560106752257205091097473808596992,
>                              'riak at 127.0.0.1'}]},
>                           {dict,0,16,16,8,80,48,
>                               {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
>                                []},
>                               {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
>                                 []}}}}}
> ** When handler state == {state}
> ** Reason == {{{badmatch,{error,{{badmatch,{error,eacces}},
>                                 [{bitcask,open,2},
>                                  {riak_kv_bitcask_backend,start,2},
>                                  {riak_kv_vnode,init,1},
>                                  {riak_core_vnode,init,1},
>                                  {gen_fsm,init_it,6},
>                                  {proc_lib,init_p_do_apply,3}]}}},
>               [{riak_core_vnode_master,get_vnode,2},
>                {riak_core_vnode_master,handle_call,3},
>                {gen_server,handle_msg,5},
>                {proc_lib,init_p_do_apply,3}]},
>              {gen_server,call,[riak_kv_vnode_master,{0,get_vnode},infinity]}}
> Eshell V5.7.5  (abort with ^G)
> 
> Any suggestions appreciated.
> Thanks
> Mike
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list