当前位置:   article > 正文

报错--Job for rabbitmq-server.service failed

报错--Job for rabbitmq-server.service failed

报错

[root@ct ~]# systemctl start rabbitmq-server
Job for rabbitmq-server.service failed because the control process exited with error code. See “systemctl status rabbitmq-server.service” and “journalctl -xe” for details.

在这里插入图片描述

解决

先杀死进程

ps -ef | grep rabbitmq       #查询进程号
ps -ef | grep rabbitmq | grep -v grep | awk '{print $2}' | xargs kill -9   #杀死进程
rabbitmq-server -detached    #启动
rabbitmqctl status           #查看状态         
  • 1
  • 2
  • 3
  • 4

再创建就可以了
创建消息队列用户,用于controler和node节点连接rabbitmq的认证

[root@ct ~]#  rabbitmqctl add_user openstack RABBIT_PASS
Creating user "openstack"
  • 1
  • 2
本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/928326
推荐阅读
相关标签
  

闽ICP备14008679号