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 <[email protected]>
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,'[email protected]',[],
>                           {64,
>                            [{0,'[email protected]'},
>                             {22835963083295358096932575511191922182123945984,
>                              '[email protected]'},
>                             {45671926166590716193865151022383844364247891968,
>                              '[email protected]'},
>                             {68507889249886074290797726533575766546371837952,
>                              '[email protected]'},
>                             {91343852333181432387730302044767688728495783936,
>                              '[email protected]'},
>                             {114179815416476790484662877555959610910619729920,
>                              '[email protected]'},
>                             {137015778499772148581595453067151533092743675904,
>                              '[email protected]'},
>                             {159851741583067506678528028578343455274867621888,
>                              '[email protected]'},
>                             {182687704666362864775460604089535377456991567872,
>                              '[email protected]'},
>                             {205523667749658222872393179600727299639115513856,
>                              '[email protected]'},
>                             {228359630832953580969325755111919221821239459840,
>                              '[email protected]'},
>                             {251195593916248939066258330623111144003363405824,
>                              '[email protected]'},
>                             {274031556999544297163190906134303066185487351808,
>                              '[email protected]'},
>                             {296867520082839655260123481645494988367611297792,
>                              '[email protected]'},
>                             {319703483166135013357056057156686910549735243776,
>                              '[email protected]'},
>                             {342539446249430371453988632667878832731859189760,
>                              '[email protected]'},
>                             {365375409332725729550921208179070754913983135744,
>                              '[email protected]'},
>                             {388211372416021087647853783690262677096107081728,
>                              '[email protected]'},
>                             {411047335499316445744786359201454599278231027712,
>                              '[email protected]'},
>                             {433883298582611803841718934712646521460354973696,
>                              '[email protected]'},
>                             {456719261665907161938651510223838443642478919680,
>                              '[email protected]'},
>                             {479555224749202520035584085735030365824602865664,
>                              '[email protected]'},
>                             {502391187832497878132516661246222288006726811648,
>                              '[email protected]'},
>                             {525227150915793236229449236757414210188850757632,
>                              '[email protected]'},
>                             {548063113999088594326381812268606132370974703616,
>                              '[email protected]'},
>                             {570899077082383952423314387779798054553098649600,
>                              '[email protected]'},
>                             {593735040165679310520246963290989976735222595584,
>                              '[email protected]'},
>                             {616571003248974668617179538802181898917346541568,
>                              '[email protected]'},
>                             {639406966332270026714112114313373821099470487552,
>                              '[email protected]'},
>                             {662242929415565384811044689824565743281594433536,
>                              '[email protected]'},
>                             {685078892498860742907977265335757665463718379520,
>                              '[email protected]'},
>                             {707914855582156101004909840846949587645842325504,
>                              '[email protected]'},
>                             {730750818665451459101842416358141509827966271488,
>                              '[email protected]'},
>                             {753586781748746817198774991869333432010090217472,
>                              '[email protected]'},
>                             {776422744832042175295707567380525354192214163456,
>                              '[email protected]'},
>                             {799258707915337533392640142891717276374338109440,
>                              '[email protected]'},
>                             {822094670998632891489572718402909198556462055424,
>                              '[email protected]'},
>                             {844930634081928249586505293914101120738586001408,
>                              '[email protected]'},
>                             {867766597165223607683437869425293042920709947392,
>                              '[email protected]'},
>                             {890602560248518965780370444936484965102833893376,
>                              '[email protected]'},
>                             {913438523331814323877303020447676887284957839360,
>                              '[email protected]'},
>                             {936274486415109681974235595958868809467081785344,
>                              '[email protected]'},
>                             {959110449498405040071168171470060731649205731328,
>                              '[email protected]'},
>                             {981946412581700398168100746981252653831329677312,
>                              '[email protected]'},
>                             
> {1004782375664995756265033322492444576013453623296,
>                              '[email protected]'},
>                             
> {1027618338748291114361965898003636498195577569280,
>                              '[email protected]'},
>                             
> {1050454301831586472458898473514828420377701515264,
>                              '[email protected]'},
>                             
> {1073290264914881830555831049026020342559825461248,
>                              '[email protected]'},
>                             
> {1096126227998177188652763624537212264741949407232,
>                              '[email protected]'},
>                             
> {1118962191081472546749696200048404186924073353216,
>                              '[email protected]'},
>                             
> {1141798154164767904846628775559596109106197299200,
>                              '[email protected]'},
>                             
> {1164634117248063262943561351070788031288321245184,
>                              '[email protected]'},
>                             
> {1187470080331358621040493926581979953470445191168,
>                              '[email protected]'},
>                             
> {1210306043414653979137426502093171875652569137152,
>                              '[email protected]'},
>                             
> {1233142006497949337234359077604363797834693083136,
>                              '[email protected]'},
>                             
> {1255977969581244695331291653115555720016817029120,
>                              '[email protected]'},
>                             
> {1278813932664540053428224228626747642198940975104,
>                              '[email protected]'},
>                             
> {1301649895747835411525156804137939564381064921088,
>                              '[email protected]'},
>                             
> {1324485858831130769622089379649131486563188867072,
>                              '[email protected]'},
>                             
> {1347321821914426127719021955160323408745312813056,
>                              '[email protected]'},
>                             
> {1370157784997721485815954530671515330927436759040,
>                              '[email protected]'},
>                             
> {1392993748081016843912887106182707253109560705024,
>                              '[email protected]'},
>                             
> {1415829711164312202009819681693899175291684651008,
>                              '[email protected]'},
>                             
> {1438665674247607560106752257205091097473808596992,
>                              '[email protected]'}]},
>                           {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
> [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

Reply via email to