2017-03-20 14 views
2

これは初めてrabbitmqを使用しています。rabbitmq-server bootがmac os x el capitanで失敗しました

私はその後、私は私の端末を再起動し、サーバを起動する

rabbitmq-server 

を入力

PATH=$PATH:/usr/local/sbin 

と私の.bash_profileにパスを挿入

brew update 
brew install rabbitmq 

で自作を通じてRabbitMQのインストール次のエラーが表示されました

   RabbitMQ 3.6.6. Copyright (C) 2007-2016 Pivotal Software, Inc. 
    ## ##  Licensed under the MPL. See http://www.rabbitmq.com/ 
    ## ## 
    ########## Logs: /usr/local/var/log/rabbitmq/[email protected] 
    ###### ##  /usr/local/var/log/rabbitmq/[email protected] 
    ########## 
       Starting broker... 


BOOT FAILED 
=========== 

Error description: 
    {could_not_start,rabbitmq_mqtt, 
     {{shutdown, 
      {failed_to_start_child,'rabbit_mqtt_listener_sup_:::1883', 
       {shutdown, 
        {failed_to_start_child, 
         {ranch_listener_sup,{acceptor,{0,0,0,0,0,0,0,0},1883}}, 
         {shutdown, 
          {failed_to_start_child,ranch_acceptors_sup, 
           {listen_error, 
            {acceptor,{0,0,0,0,0,0,0,0},1883}, 
            eaddrinuse}}}}}}}, 
     {rabbit_mqtt,start,[normal,[]]}}} 

Log files (may contain more information): 
    /usr/local/var/log/rabbitmq/[email protected] 
    /usr/local/var/log/rabbitmq/[email protected] 

{"init terminating in do_boot",{could_not_start,rabbitmq_mqtt,{{shutdown,{failed_to_start_child,'rabbit_mqtt_listener_sup_:::1883',{shutdown,{failed_to_start_child,{ranch_listener_sup,{acceptor,{0,0,0,0,0,0,0,0},1883}},{shutdown,{failed_to_start_child,ranch_acceptors_sup,{listen_error,{acceptor,{0,0,0,0,0,0,0,0},1883},eaddrinuse}}}}}}},{rabbit_mqtt,start,[normal,[]]}}}} 
init terminating in do_boot() 

Crash dump is being written to: erl_crash.dump...done 

私はrabbitmqctl statusを実行し、以下の結果

Status of 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-77'] 
    * suggestion: start the node 

current node details: 
- node name: '[email protected]' 
- home dir: /Users/Ling 
- cookie hash: 0YMYFZ/TBrgNjOy7lBAw4A== 

私は何をすべきでしょうか?私はすでにコンピュータを再起動してrabbitmqを再インストールしましたが、それでも問題は解決しませんでした。

答えて

3

eaddrinuseはErlangのエラーであるあなたの助けをありがとう、あなたは、他のプロセスによって

+1

権利を使用するポート1883を持っていただきありがとうございます。ポートを使用している蚊帳サーバがあります。私は、蚊のサーバーを停止し、rabbitmqを再起動することで問題を解決しました – Ling

関連する問題