操作系统是redhat。 我运行命令“./rabbitmq-server& amp;”启动rabbitmq作为一个守护进程,它工作正常。
大约2小时后: 命令“./rabbitmqctl status”给出节点
我检查了日志,但似乎没有崩溃原因:
rabbitmq/log/rabbit@prod.log:
=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/rabbit@prod.log
sasl log : rabbitmq/log/rabbit@prod-sasl.log
database dir : rabbitmq/mnesia/rabbit@prod
rabbitmq/log/rabbit@prod-sasl.log:
=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}]
我需要一些想法,因为我无能为力。
答案 0 :(得分:0)
RabbitMQ团队监控the rabbitmq-users
mailing list,有时只回答StackOverflow上的问题。
RabbitMQ 3.2.3
是一个不再受支持的古老版本。您应该使用Erlang 19.3或更高版本的最新版本。请查看安装说明here。
最后,您应该通过初始脚本或systemd
启动RabbitMQ,而不是通过rabbitmq-server
命令启动。请参阅this section。