我安装了RabbitMQ,并且运行正常。然后,一旦我的系统内存已满,它便停止工作。我清理了系统内存,然后再次启动RabbitMQ,但没有启动。以下是我的身份。
root@qa-development-vm:/usr/# systemctl status rabbitmq-server.service
● rabbitmq-server.service - RabbitMQ broker
Loaded: loaded (/lib/systemd/system/rabbitmq-server.service; enabled)
Active: activating (start) since Thu 2018-12-06 06:13:31 UTC; 641ms ago
Process: 32243 ExecStop=/bin/sh -c while ps -p $MAINPID >/dev/null 2>&1; do sleep 1; done (code=exited, status=0/SUCCESS)
Process: 32105 ExecStop=/usr/lib/rabbitmq/bin/rabbitmqctl stop (code=exited, status=0/SUCCESS)
Main PID: 32253 (beam.smp)
CGroup: /system.slice/rabbitmq-server.service
├─32253 /usr/lib/erlang/erts-10.1.3/bin/beam.smp -W w -A 64 -P 1048576 -t 5000000 -stbt db -zdbbl 128000 -K true -- -root /usr/lib/erlang -progname erl -- -home ...
└─32465 erl_child_setup 1024
root@qa-development-vm:/usr/# journalctl -xn
-- Logs begin at Thu 2018-12-06 05:00:15 UTC, end at Thu 2018-12-06 06:13:46 UTC. --
Dec 06 06:13:46 qa-development-vm rabbitmqctl[400]: * connected to epmd (port 4369) on qa-development-vm
Dec 06 06:13:46 qa-development-vm rabbitmqctl[400]: * epmd reports: node 'rabbit' not running at all
Dec 06 06:13:46 qa-development-vm rabbitmqctl[400]: no other nodes on qa-development-vm
Dec 06 06:13:46 qa-development-vm rabbitmqctl[400]: * suggestion: start the node
Dec 06 06:13:46 qa-development-vm rabbitmqctl[400]: current node details:
Dec 06 06:13:46 qa-development-vm rabbitmqctl[400]: - node name: 'rabbitmq-cli-90@qa-development-vm'
Dec 06 06:13:46 qa-development-vm rabbitmqctl[400]: - home dir: /var/lib/rabbitmq
Dec 06 06:13:46 qa-development-vm rabbitmqctl[400]: - cookie hash: mF/Qt8msGSizqNbONVAZQw==
Dec 06 06:13:46 qa-development-vm systemd[1]: Failed to start RabbitMQ broker.
-- Subject: Unit rabbitmq-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit rabbitmq-server.service has failed.
--
-- The result is failed.
Dec 06 06:13:46 qa-development-vm systemd[1]: Unit rabbitmq-server.service entered failed state.
我很累this,但是对我来说什么都没有发生。我删除了所有日志,然后再次尝试启动服务器,但收到相同的错误,并且未生成任何日志文件。
我重新安装了它,然后又能正常工作了。但是我想要它的原因以及如何解决它,如果再次发生的话。
答案 0 :(得分:0)
如果大型邮件存储正在填充磁盘,则可以选择链接文档中的解决方案。请注意,这将导致消息丢失以及系统配置丢失:
没有提供足够的信息(“对我来说什么都没有做”对您没有帮助)进一步诊断。重新安装可能已正确删除了系统配置,但不必完全重新安装即可解决此问题。
注意: RabbitMQ团队监视the rabbitmq-users
mailing list,并且有时仅在StackOverflow上回答问题。