RabbitMQ无法启动的解决方法分享
下文笔者讲述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,即完美解决此异常
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。