sshがサーバーとの接続を失ったとき、私はriak-shellになっていました。再接続した後、私は次のようにします。riak-shellの実行中のインスタンスに戻るにはどうすればよいですか?
sudo riak-shell
とget:
An instance of riak-shell is already running
だから、私は、問題のRiakにノードを再起動します。これは問題を解決していないようだ。私は殺すためにps -aux
を使用して何も表示されません。ドキュメントによると、一度に実行できるインスタンスは1つだけです。それは理にかなって、私は別のノードからRiakにシェルを実行して、任意のノードに接続しようとすると、私は今、次を得る:
Error: invalid function call : connection_EXT:connect ["[email protected]<<<ip_address_elided>>>"]
You can connect to a specific node (whether in your riak_shell.config
or not) by typing 'connect "[email protected]";' substituting your
node name for dev1.
You may need to change the Erlang cookie to do this.
See also the 'reconnect' command.
Unhandled message received is {#Ref<0.0.0.135>,disconnected}
riak-shell(3)>
私は、このプロセスの間にクッキーを変更していない、とクッキーがに表示されます同じである(少なくとも/etc/riak/riak_shell.config
)。独自のErlangのVMで(私はAWS上でRiakにTS AMIを実行しています)
ありがとうございました。私はこれが動作することを確認することができました。 – augb