[RabbitMQ] Error:unable to connect to node Rabbit@compute1:nodedown (CentOS7.0)

Source: Internet
Author: User

Today, when building OpenStack, you need to install RABBITMQ, but after installing rabbitmq-server with Yum Install, the following error occurred while modifying the guest user password according to the official OpenStack documentation:

[[Email protected] ~]# rabbitmqctl Change_password guest rabbit123changing password forUser"Guest" ... error:unable to connect to node [email protected]: Nodedown Diagnostics===========nodesinchquestion: [[email protected]]hosts, their running nodes and ports:-Controller: [{rabbitmqctl3435,40060}]current node Details:-node Name: [Email protected]-Homedir:/var/lib/RABBITMQ-Cookie hash:kkwnl06ar+v86hehvtp8/g==[[Email protected]~]#

As everyone knows, this is not the command to change the password in addition to the problem, but the installation after the start of the problem. After starting the service, at the command-line input:rabbitmqctl status, the same problem occurs as follows:

[Email protected] ~]# rabbitmqctl statusstatus of node [email protected] ... error:unable to connect to node [email protected]: Nodedown Diagnostics===========  in question: [[email protected]]hosts, their running nodes and ports: -Controller: [{rabbitmqctl3560,54352}]current node Details:- node name: [Email protected]< /c7>dir:/var/lib/rabbitmq-Cookie hash:kkwnl06ar+v86hehvtp8/g==

Some people on the internet said it was a hostname problem, and it turned out to be a test.

  Solution: Execute the following two commands:

#/sbin/service Rabbitmq-server Stop
#/sbin/service Rabbitmq-server Start
# RABBITMQCTL status tested correctly with the following results:

[Email protected] home]#/sbin/service rabbitmq-Server stopredirecting to/bin/systemctl Stop rabbitmq-Server.service[[email protected] home]#/sbin/service rabbitmq-Server startredirecting to/bin/systemctl Start rabbitmq-Server.service[[email protected] home]# rabbitmqctl statusstatus of node [email protected] ... [{PID,22133}, {running_applications,[{rabbit,"RabbitMQ","3.1.5"}, {Os_mon,"CPO CXC 138","2.2.14"}, {Mnesia,"MNESIA CXC 138","4.11"}, {Xmerl,"XML Parser","1.3.6"}, {SASL,"SASL CXC 138","2.3.4"}, {stdlib,"ERTS CXC 138","1.19.4"}, {kernel,"ERTS CXC 138","2.16.4"}]}, {Os,{unix,linux}}, {erlang_version,"Erlang r16b03-1 (erts-5.10.4) [source] [64-bit] [smp:6:6] [async-threads:30] [hipe] [kernel-poll:true]\n"}, {memory,[{total,36056032}, {Connection_procs,2800}, {Queue_procs,5600}, {plugins,0}, {other_proc,13586448}, {Mnesia,59920}, {mgmt_db,0}, {msg_index,22280}, {other_ets,739304}, {binary,7880}, {code,16441504}, {atom,594537}, {Other_system,4595759}]}, {Vm_memory_high_watermark,0.4}, {vm_memory_limit,6663997030}, {disk_free_limit,1000000000}, {disk_free,82596229120}, {file_descriptors,[{total_limit,924}, {total_used,3}, {sockets_limit,829}, {sockets_used,1}]}, {processes,[{limit,1048576},{used,127}]}, {run_queue,0}, {Uptime,7}]... Done. [Email protected] home]#

Re-enter the Change Password command:rabbitmqctl Change_password guest Rabbit123 Success

[Email protected] ~ for"guest"   ...  Done

[RabbitMQ] Error:unable to connect to node [email protected]: Nodedown (CentOS7.0)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.