gpt4 book ai didi

linux - 更改 IP 后 RIAK 节点未启动

转载 作者:行者123 更新时间:2023-12-01 14:59:58 26 4
gpt4 key购买 nike

我正在 Raspberry Pi 上设置 Riak 集群。不幸的是,我在更改 IP 地址后收到以下错误消息。我使用的版本:Debian Jessie(树莓派)riak(Github 克隆 Mar2017)riak-cs2.1.1支柱-2.1.1

使用本指南,我尝试更改各种 .conf 文件中的 IP 地址。 https://docs.riak.com/riak/kv/latest/using/cluster-operations/changing-cluster-info/index.html

Works on 127.0.0.1:

$ ~/riak/rel/riak/bin/riak-admin test
Successfully completed 1 read/write cycle to 'riak@127.0.0.1'


Error Message (after changing IP:192.168.178.61):

sudo ./riak console
config is OK
-config /home/pi/neu/riak/rel/riak/data/generated.configs/app.2020.01.02.23.37.52.config -args_file /home/pi/neu/riak/rel/riak/data/generated.configs/vm.2020.01.02.23.37.52.args -vm_args /home/pi/neu/riak/rel/riak/data/generated.configs/vm.2020.01.02.23.37.52.args
Exec: /home/pi/neu/riak/rel/riak/bin/../erts-5.10.3/bin/erlexec -boot /home/pi/neu/riak/rel/riak/bin/../releases/2.2.3/riak -config /home/pi/neu/riak/rel/riak/data/generated.configs/app.2020.01.02.23.37.52.config -args_file /home/pi/neu/riak/rel/riak/data/generated.configs/vm.2020.01.02.23.37.52.args -vm_args /home/pi/neu/riak/rel/riak/data/generated.configs/vm.2020.01.02.23.37.52.args -pa /home/pi/neu/riak/rel/riak/bin/../lib/basho-patches -- console
Root: /home/pi/neu/riak/rel/riak/bin/..
Erlang R16B02_basho10 (erts-5.10.3) [source] [smp:4:4] [async-threads:64] [hipe] [kernel-poll:true] [frame-pointer]

[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): 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,['riak@192.168.178.61',[]],[{file,\"orddict.erl\"},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,\"src/riak_core_capability.erl\"},{line,441}]},{riak_core_capability,handle_call,3,[{file,\"src/riak_core_capability.erl\"},{line,213}]},{gen_server,handle_msg,5,[{file,\"gen_server.erl\"},{line,585}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,239}]}]},{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: ./log/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,['riak@192.168.178.61',[

最佳答案

https://github.com/basho/riak/issues/999

martinsumner 3 天前评论:

如果您没有完成重命名(或删除目录的内容)环目录的步骤,我可能会看到这个。你这样做了吗?

另外能确认下是单节点还是多节点重命名场景吗?

Ei3rb0mb3r 1 分钟前评论:

非常感谢您的快速反馈!删除ring目录文件后错误解决。

   ../riak/rel/riak/data/ring/ rm -rf *

关于linux - 更改 IP 后 RIAK 节点未启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59571184/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com