RabbitMQノードを起動するにはどうすればいいですか? 質問する

RabbitMQノードを起動するにはどうすればいいですか? 質問する

RabbitMQ で何かをしようとすると、毎回このエラーが発生します。

attempted to contact: [fdbvhost@FORTE]

fdbvhost@FORTE:
  * connected to epmd (port 4369) on FORTE
  * epmd reports: node 'fdbvhost' not running at all
                  no other nodes on FORTE
  * suggestion: start the node

current node details:
- node name: 'rabbitmq-cli-54@FORTE'
- home dir: C:\Users\Jesus
- cookie hash: iuRlQy0F81aBpoY9aQqAzw==

rabbitmqctl -n fdbvhost statusこれは、 または を実行したときに得られる出力です/rabbitmqctl -n fdbvhost list_vhosts

試してみたrabbitmqctl -n fdbvhost startところ、次の出力が得られました。

Error: could not recognise command
Usage:
rabbitmqctl [-n <node>] [-t <timeout>] [-q] <command> [<command options>]
...

これでは起動しません。ドキュメントにはノードの起動に関する情報が何も見つかりません。ノード/vhost を実際に起動するにはどうすればいいですか?

ベストアンサー1

RabbitMQのインストールsbinディレクトリから次のコマンドを実行してみてください。

rabbitmq-server start -detached

何らかの理由でブローカー ノードが停止していた場合は、これによってブローカー ノードが起動されます。

おすすめ記事