Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem start riak after upgrading from riak-2.1.1 to 2.2.2 [JIRA: RIAK-3400] #734

Open
emnvn opened this issue Apr 4, 2017 · 1 comment

Comments

@emnvn
Copy link

emnvn commented Apr 4, 2017

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

@Basho-JIRA Basho-JIRA changed the title Problem start riak after upgrading from riak-2.1.1 to 2.2.2 Problem start riak after upgrading from riak-2.1.1 to 2.2.2 [JIRA: RIAK-3400] Apr 4, 2017
@lukebakken
Copy link
Contributor

Could you provide the output of ls -la /var/lib/riak/?
What command are you using to start Riak?
Do you normally start Riak via init scripts?

@lukebakken lukebakken self-assigned this Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants