Error: unable to connect to node : nodedown



  • On a new installation you see the following.

    Full Error:

    $ rabbitmqctl cluster_status
    Cluster status of node 'rabbit@ip-172-31-19-23' ...
    Error: unable to connect to node 'rabbit@ip-172-31-19-23': nodedown
    
    DIAGNOSTICS
    ===========
    
    attempted to contact: ['rabbit@ip-172-31-19-23']
    
    rabbit@ip-172-31-19-23:
      * connected to epmd (port 4369) on ip-172-31-19-23
      * epmd reports: node 'rabbit' not running at all
                      no other nodes on ip-172-31-19-23
      * suggestion: start the node
    
    current node details:
    - node name: 'rabbitmq-cli-22@ip-172-31-19-23'
    - home dir: /var/lib/rabbitmq
    - cookie hash: mAGXrW2YL1CEtwanvc4MTg==
    

    In fact running any rabbitmqctlcommand will generate this error.

    If you see this error try the following:

    $ sudo rm -rf /var/log/rabbitmq/*
    
    sudo service rabbitmq-server start
    

    Run cluster_status again.

    $ rabbitmqctl cluster_status
    

Log in to reply
 

© Lightnetics 2024