rabbitmq常用命令
启动服务:rabbitmq-server start & 出现:ERROR: node with name "rabbit" already running on "localhost" 解决步骤: 1、查找rabbitmq相关进程 ps -ef | grep rabbitmq 2、杀掉对应的进程 kill 进程ID 3、再次启动服务 rabbitmq-server start & 4、查看启动状态 lsof -i:5672 启动成功后: 日志路径 /usr/fy/software/rabbitmq/rabbitmq_server-3.6.15/var/log/rabbitmq/rabbit@localhost.log /usr/fy/software/rabbitmq/rabbitmq_server-3.6.15/var/log/rabbitmq/rabbit@localhost-sasl.log 关闭服务:rabbitmqctl stop