Some problems and workarounds for deploying RABBITMQ on Windows

Source: Internet
Author: User
Tags rabbitmq

At present the company, just into the company took over a service, is a relatively complete service, of which several computers between the communication used to RABBITMQ, at first did not have any problems, and then later ransomware virus Wanner Cry came, the department of all servers installed a what antivirus software, After restarting the RABIBTMQ cluster there are some problems, after some learning, these problems are taken care of, now do a summary.

At first, I in accordance with the description of the official website, the four servers joined a cluster, but do not know why, in addition to the main node, the other three can not see the cluster state, because does not affect what, first put in that no tube, actually think up, because before the cluster configuration file did not delete, should first put C:\Users\ Delete the Rabbitmq folder under Administrator\appdata\roaming. Later, one of the servers always hit the disconnect error log, after the inspection, found that the RABBITMQ set of consumer-side cache pool is full, so this log. Dealing with consumer consumer issues, this is solved.

Because the previous configuration file has not been deleted, resulting in cluster problems, there are two servers successively disconnected from the cluster, with RABBITMQCTL join_cluster [email protected] command attempt to connect to the cluster, will report a bunch of messy errors. Similar to this:

Error: {cannot_start_mnesia,             {{ shutdown ,{failed_to_start_child,mnesia_kernel_sup,killed}},              {mnesia_sup,start,[normal,[]]}}}

Since RABBITMQ is written in Erlang, the installation is also based on the Erlang platform, and I do not understand the method in Erlang, so I can only see the error in Erlang, but do not know how to solve, so the use of the most primitive violence means, Re-install Erlang and RABBITMQ (in fact, the end of the task, and then delete the previous cluster configuration file can be, but did not know that people always have a slowly familiar process it). Three servers are more normal, uninstall RABBITMQ and Erlang, from the task Manager to end the Epmd.exe task, the installation path to delete the residual files, and then delete the cluster configuration file, reinstall is done. But there is a server very strange, after removing the RABBITMQ, the service actually still running, but also can stop and run. I feel like a ghost, I went to the registration table to find RABBITMQ registration information to delete, and then the problem, although the service RABBITMQ finally stopped, but no matter how the installation can not come to this service, Directly double-click Rabbitmq-server.bat to launch it will also be reported C:\program Files\erl7.0.3\erts-7.0.3\ bin\erlsrv:warning, could Not set correct service description (comment) error. Later in a fury, the Hklm/software/ericsson/erlang/erlsrv under Erlang's registry information was deleted, re-installed Erlang and RABBITMQ again with the cluster, OK.

Some problems and workarounds for deploying RABBITMQ on Windows

Related Article

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.