-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
Description
Hello,
I m upgrading one riak node in my Riak cluster from version 2.1.2 to version 2.2.2, All steps are success. But when I start riak, Riak will automatically stop after some seconds. I see the log "
2017-04-04 08:00:23.043 [error] <0.1443.0> Supervisor yz_solr_sup had child yz_solr_proc started with yz_solr_proc:start_link("/var/lib/riak/yz", "/var/lib/riak/yz_temp", 8093, 8985) at undefined exit with reason no match of right hand value {error,eacces} in yz_misc:copy_files/3 line 72 in context start_error
2017-04-04 08:00:23.043 [error] <0.1444.0> CRASH REPORT Process <0.1444.0> with 0 neighbours exited with reason: no match of right hand value {error,eacces} in yz_misc:copy_files/3 line 72 in gen_server:init_it/6 line 328
2017-04-04 08:00:23.043 [error] <0.1442.0> Supervisor yz_sup had child yz_solr_sup started with yz_solr_sup:start_link() at undefined exit with reason {shutdown,{failed_to_start_child,yz_solr_proc,{{badmatch,{error,eacces}},[{yz_misc,copy_files,3,[{file,"src/yz_misc.erl"},{line,72}]},{yz_solr_proc,upgrade_solr_config,3,[{file,"src/yz_solr_proc.erl"},{line,402}]},{yz_solr_proc,'-check_solr_index_versions/1-lc$^0/1-0-',3,[{file,"src/yz_solr_proc.erl"},{line,382}]},{yz_solr_proc,check_solr_index_versions,1,[{file,"src/yz_solr_proc.erl"},{line,382}]},{yz_solr_proc,init,1,[{file,"src/yz_solr_proc.erl"},{line,108}]},{gen_server,init_it,6,[{file,...},...]},...]}}} in context start_error
2017-04-04 08:00:23.044 [error] <0.640.0> CRASH REPORT Process <0.640.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,yz_solr_sup,{shutdown,{failed_to_start_child,yz_solr_proc,{{badmatch,{error,eacces}},[{yz_misc,copy_files,3,[{file,"src/yz_misc.erl"},{line,72}]},{yz_solr_proc,upgrade_solr_config,3,[{file,"src/yz_solr_proc.erl"},{line,402}]},{yz_solr_proc,'-check_solr_index_versions/1-lc$^0/1-0-',3,[{file,"src/yz_solr_proc.erl"},{line,382}]},{yz_solr_proc,check_solr_index_versions,1,[{file,"src/yz_solr_proc.erl"},{line,382}]},{yz_solr_proc,init,1,[{file,"src/yz_solr_proc...."},...]},...]}}}}},...} in application_master:init/4 line 133
2017-04-04 08:00:23.044 [info] <0.7.0> Application yokozuna exited with reason: {{shutdown,{failed_to_start_child,yz_solr_sup,{shutdown,{failed_to_start_child,yz_solr_proc,{{badmatch,{error,eacces}},[{yz_misc,copy_files,3,[{file,"src/yz_misc.erl"},{line,72}]},{yz_solr_proc,upgrade_solr_config,3,[{file,"src/yz_solr_proc.erl"},{line,402}]},{yz_solr_proc,'-check_solr_index_versions/1-lc$^0/1-0-',3,[{file,"src/yz_solr_proc.erl"},{line,382}]},{yz_solr_proc,check_solr_index_versions,1,[{file,"src/yz_solr_proc.erl"},{line,382}]},{yz_solr_proc,init,1,[{file,"src/yz_solr_proc...."},...]},...]}}}}},...}
"
I see the error of eacces but I check permission is ok. I don't know how to solve this problem.
Hope someone can help me to fix.
Thanks very much