2016-07-22 1 views
1

brew install rabbitmqコマンドを使用してOS Xにrabbitmqサーバーをインストールしました。 私はrabbitmqctl start_appを実行すると、私は問題はここにあり、どのように私はそれを削除するには、正確にどのような次のエラーos xのrabbitmqctl start_appエラー:ノードrabbit @ localhostに接続できません:nodedown

Starting node [email protected] ... 
Error: unable to connect to node [email protected]: nodedown 

DIAGNOSTICS 
=========== 

attempted to contact: [[email protected]] 

[email protected]: 
    * connected to epmd (port 4369) on localhost 
    * epmd reports: node 'rabbit' not running at all 
        other nodes on localhost: ['rabbitmq-cli-50'] 
    * suggestion: start the node 

current node details: 
- node name: '[email protected]' 
- home dir: /Users/abeer 
- cookie hash: S1lhU2Pz5rrKNRd+lGv1og== 

を取得しますか?

+0

'rabbitmqctl start_app'これはrabbitmqを起動する方法ではありません。 '/ usr/local/sbin'の中に' rabbitmq-server'を入れてください – Gabriele

+0

私はバックグラウンドで実行したいです。私は 'brew services rabbitmq'を開始しようとしましたが、うまくいかなかった – esquarer

答えて

2

サーバは、rabbitmq-serverで起動できます。 [Source]

私がコメントから理解しているように、RMQをバックグラウンドで実行する必要があります。あなただけ

sudo ./rabbitmq-server & 
0

あなたは、私が使用しているので、私は、私のリモート・サーバにこの問題が発生したsudo

にsudoのRabbitMQサーバの起動

0

を使用する必要があることを行うためにホスト名を設定するコマンド:

hostnamectl set-hostname controller 

しかし、コマンドラインヘッダはまだlocalhost次のとおりです。

[[email protected] ~]# 

だから、私は今rabbitmq-serverを使用することができ、それを再接続し、リモート・サーバーを終了します。

関連する問題