rabbitMQ无法启动解决

========2018.09========

在按照某些blog的步骤安装rabbitMQ之后,不能启动rabbitMQ,尝试启动就报如下错误:

Error: unable to connect to node rabbit@588cab0040a2: nodedown

谷歌百度搜索得到两种原因,一种说法是cookie的问题,此问题是Windows平台,但我的系统是GUN/Linux;第二种说法是hostname的问题,虽然系统平台对应,但仍然不能解决问题,之后在rabbitMQ官网看到如下文档:

 RabbitMqMinimum required Erlang/OTPMaximum  supported  Erlang/OTPNotes
3.7.7 
  • 19.3.6.4
  • 21.0.x
  • RabbitMQ 3.7.7 is the first version to support Erlang/OTP 21
  • Erlang/OTP 21 includes file I/O efficiency improvements
  • For the best TLS support, the latest version of Erlang/OTP 21.0.x is recommended
  • Versions prior to 19.3.6.4 have known bugs (e.g. ERL-430ERL-448) that can prevent RabbitMQ nodes from accepting connections (including from CLI tools) and stopping
  • Versions prior to 19.3.6.4 are vulnerable to the ROBOT attack (CVE-2017-1000385)
  • On Windows, Erlang/OTP 20.2 changed default cookie file location
 
  • 19.3
  • 20.3.x
  • For the best TLS support, the latest version of Erlang/OTP 20.3.x is recommended
  • We recommend Erlang/OTP 19.3.6.4 or later, earlier versions have known bugs (e.g. ERL-430ERL-448) that can prevent RabbitMQ nodes from accepting connections (including from CLI tools) and stopping
  • Versions prior to 19.3.6.4 are vulnerable to the ROBOT attack (CVE-2017-1000385)
  • On Windows, Erlang/OTP 20.2 changed default cookie file location
 
  • 19.3
  • 20.3.x
 
  • R16B03
  • 20.1.x
  • For the best TLS support, the latest version of Erlang/OTP 20.1.x is recommended
  • We recommend Erlang/OTP 19.3.6.4 or later, earlier versions have known bugs (e.g. ERL-430ERL-448) that can prevent RabbitMQ nodes from accepting connections (including from CLI tools) and stopping
  • Versions prior to 19.3.6.4 are vulnerable to the ROBOT attack (CVE-2017-1000385)
 
  • R16B03
  • 19.3.x
  • For the best TLS support, the latest version of Erlang/OTP 19.3.x is recommended
  • We recommend Erlang/OTP 19.3.6.4 or later, earlier versions have known bugs (e.g. ERL-430ERL-448) that can prevent RabbitMQ nodes from accepting connections (including from CLI tools) and stopping
  • Versions prior to 19.3.6.4 are vulnerable to the ROBOT attack (CVE-2017-1000385)
 
  • R16B03
  • 18.3.x
  • Erlang 18.x versions have known bugs (e.g. ERL-430ERL-448) that can prevent RabbitMQ nodes from accepting connections (including from CLI tools) and stopping
  • All Erlang versions supported by these releases are vulnerable to the ROBOT attack (CVE-2017-1000385)
 
  • R14B04
  • 17.5.x
  • RabbitMQ 3.5 was released 2015-03-11, and reached end of life 2017-09-11, we strongly discourage its use
 
  • R13B03
  • 16B03
  • RabbitMQ 3.4 was released 2014-10-21, and reached end of life 2017-05-31, we strongly discourage its use

========2018.09========

=======2021.03=========

docker中安装rabbit后尝试启动,报错

Error: unable to perform an operation on node 'rabbit@295b7b00bed0'. Please see diagnostics information and suggestions below. 

在/var/log/rabbitmq/startup_err中看到错误提示:

Error: This RabbitMQ version cannot run on Erlang 22.1.5 (erts 10.5.3): minimum required version is 22.3 (erts 10.7)

得知版本不匹配,按照要求安装22.3后解决

=======2021.03=========

原文地址:https://www.cnblogs.com/pluse/p/9698703.html