操作系统是RedHat。我运行命令“./rabbitmq-server &”来启动rabbitmq作为一个守护进程,它工作正常。
大约2小时后:命令“./rabbitmqctl status”关闭节点
我检查了日志,但似乎没有崩溃的原因:
rabbitmq/log/ email protected(https://stackoverflow.com/cdn-cgi/l/email-protection):
=INFO REPORT==== 5-Jun-2018::21:15:05 ===
accepting AMQP connection <0.1567.0> (10.11.250.20:60033 -> 10.11.250.20:5672)
=INFO REPORT==== 5-Jun-2018::21:15:05 ===
accepting AMQP connection <0.1576.0> (10.11.250.20:60038 -> 10.11.250.20:5672)
"That's when I notice that node is down and I start the server again "
=INFO REPORT==== 6-Jun-2018::04:39:28 ===
Starting RabbitMQ 3.2.3 on Erlang R16B03-1
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL. See http://www.rabbitmq.com/
=INFO REPORT==== 6-Jun-2018::04:39:28 ===
node : rabbit@prod
home dir : /home
config file(s) : (none)
cookie hash : drMb4wUv2N33/CO4rvIpdg==
log : rabbitmq/log/[email protected]
sasl log : rabbitmq/log/ra[email protected]
database dir : rabbitmq/mnesia/rabbit@prod
rabbitmq/log/ email protected(https://stackoverflow.com/cdn-cgi/l/email-protection):
=SUPERVISOR REPORT==== 5-Jun-2018::18:24:59 ===
Supervisor: {<0.1367.0>,rabbit_channel_sup_sup}
Context: shutdown_error
Reason: shutdown
Offender: [{nb_children,1},
{name,channel_sup},
{mfargs,{rabbit_channel_sup,start_link,[]}},
{restart_type,temporary},
{shutdown,infinity},
{child_type,supervisor}]
我需要一些想法什么可能是什么原因,因为我是一无所知。
1条答案
按热度按时间wljmcqd81#
RabbitMQ
3.2.3
是一个旧版本,不再支持。您应该使用Erlang 19.3或更高版本的最新版本。安装说明here最后,您应该通过init脚本或
systemd
启动RabbitMQ,而不是通过rabbitmq-server
命令。请参阅本节。