RabbitMQ无法启动的解决方法分享

戚薇 rabbitmq 发布时间:2023-05-31 22:17:50 阅读数:8754 1
下文笔者讲述rabbitmq启动失败的处理方法分享,如下所示
今天启动报以下错误
[root@java265 ~]systemctl start rabbitmq-server.service启动rabbitmq时报错:

	[root@java265 ~]# systemctl start rabbitmq-server
	May 11 22:15:08 testsb-f20 systemd[1]: Starting RabbitMQ broker...
	May 11 22:15:09 testsb-f20 rabbitmqctl[1186]: Waiting for 'rabbit@testsb-f20' ...
	May 11 22:15:09 testsb-f20 rabbitmqctl[1186]: pid is 1185 ...
	May 11 22:15:09 testsb-f20 systemd[1]: rabbitmq-server.service: main process exited, code=exited, status=1/FAILURE
	May 11 22:15:09 testsb-f20 rabbitmqctl[1186]: Error: process_not_running
	May 11 22:15:09 testsb-f20 systemd[1]: rabbitmq-server.service: control process exited, code=exited status=2
	[root@java265 ~]# rabbitmqctl status
	Status of node 'rabbit@java265' ...
	Error: unable to connect to node 'rabbit@java265': nodedown

	DIAGNOSTICS
	===========

	nodes in question: ['rabbit@java265']

	hosts, their running nodes and ports:
	- java265: [{rabbitmq9811,123456}]

	current node details:
	- node name: 'rabbitmq9811@java265'
	- home dir: /var/lib/rabbitmq
	- cookie hash: ****************==
出现这种问题,一般是由于配置文件的错误
    最后通过检查配置文件 /etc/rabbitmq/rabbitmq.config
	 发现远程用户配置多加了一个逗号
	 删除逗号,重启rabbitmq,即完美解决此异常
版权声明

本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。

本文链接: https://www.Java265.com/rabbitmq/2023/6668.html

最近发表

热门文章

好文推荐

Java265.com

https://www.java265.com

站长统计|粤ICP备14097017号-3

Powered By Java265.com信息维护小组

使用手机扫描二维码

关注我们看更多资讯

java爱好者