首页 > 其他 > 详细

CentOS7下源码包方式安装rabbitmq

时间:2016-11-25 16:45:10      阅读:2702      评论:0      收藏:0      [点我收藏+]
1.先安装erlang http://www.cnblogs.com/justphp/p/6093880.html
2.下载rabbitmq rpm包:
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.5.0/rabbitmq-server-3.5.0-1.noarch.rpm
3.安装rabbitmq
rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
rpm -ivh [rabbitmq-server-3.5.0-1.noarch.rpm
4.启动rabbitmq服务
service rabbitmq-server restart

 

查看状态 rabbitmqctl status 可能报错:
  • Error: unable to connect to node rabbit@localhost: nodedown
  • rabbit@localhost:
  • connected to epmd (port 4369) on localhost
  • epmd reports: node ‘rabbit‘ not running at all no other nodes on localhost
  • suggestion: start the node
解决办法:
rabbitmq-server remove
rabbitmq-server install

 

启动失败 service rabbitmq-server start 报错
  • 11月 25 23:06:58 localhost.localdomain systemd[1]: rabbitmq-server.service: control process exited, code=exited status=1
  • 11月 25 23:06:58 localhost.localdomain systemd[1]: Failed to start LSB: Enable AMQP service provided by RabbitMQ broker.
  • 11月 25 23:06:58 localhost.localdomain systemd[1]: Unit rabbitmq-server.service entered failed state.
  • 11月 25 23:06:58 localhost.localdomain systemd[1]: rabbitmq-server.service failed.
解决办法:
ps -aux|grep rabbitmq   //杀掉除grep外的pid

CentOS7下源码包方式安装rabbitmq

原文:http://www.cnblogs.com/justphp/p/6101736.html

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!