前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >RabbitMQ基础2

RabbitMQ基础2

作者头像
franket
发布2022-05-04 22:21:46
1860
发布2022-05-04 22:21:46
举报
文章被收录于专栏:技术杂记

基础操作

启动服务

代码语言:javascript
复制
[root@h102 ~]# /etc/init.d/rabbitmq-server  status 
Status of node rabbit@h102 ...
Error: unable to connect to node rabbit@h102: nodedown

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

attempted to contact: [rabbit@h102]

rabbit@h102:
  * connected to epmd (port 4369) on h102
  * epmd reports: node 'rabbit' not running at all
                  no other nodes on h102
  * suggestion: start the node

current node details:
- node name: 'rabbitmq-cli-3191@h102'
- home dir: /var/lib/rabbitmq
- cookie hash: N3kEGl2Jm7amHtg0ViAg8w==

[root@h102 ~]# /etc/init.d/rabbitmq-server  start 
Starting rabbitmq-server: SUCCESS
rabbitmq-server.
[root@h102 ~]# /etc/init.d/rabbitmq-server  status
Status of node rabbit@h102 ...
[{pid,3416},
 {running_applications,[{rabbit,"RabbitMQ","3.5.6"},
                        {mnesia,"MNESIA  CXC 138 12","4.5"},
                        {os_mon,"CPO  CXC 138 46","2.2.7"},
                        {xmerl,"XML parser","1.2.10"},
                        {sasl,"SASL  CXC 138 11","2.1.10"},
                        {stdlib,"ERTS  CXC 138 10","1.17.5"},
                        {kernel,"ERTS  CXC 138 10","2.14.5"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:64] [kernel-poll:true]\n"},
 {memory,[{total,28066048},
          {connection_readers,0},
          {connection_writers,0},
          {connection_channels,0},
          {connection_other,2704},
          {queue_procs,2704},
          {queue_slave_procs,0},
          {plugins,0},
          {other_proc,9268312},
          {mnesia,60144},
          {mgmt_db,0},
          {msg_index,34152},
          {other_ets,795288},
          {binary,8712},
          {code,14756074},
          {atom,1366585},
          {other_system,1771373}]},
 {alarms,[]},
 {listeners,[{clustering,25672,"::"},{amqp,5672,"::"}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,784151347},
 {disk_free_limit,50000000},
 {disk_free,26819747840},
 {file_descriptors,[{total_limit,924},
                    {total_used,3},
                    {sockets_limit,829},
                    {sockets_used,1}]},
 {processes,[{limit,1048576},{used,124}]},
 {run_queue,0},
 {uptime,10}]
[root@h102 ~]# 

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 基础操作
    • 启动服务
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档