首页 > 其他分享 >创建rabbitmq用户时报错

创建rabbitmq用户时报错

时间:2023-12-18 17:02:02浏览次数:31  
标签:node 时报 创建 tool rabbitmq server rabbit bogon CLI

报错内容如下:

Error: unable to perform an operation on node 'rabbit@bogon'. Please see diagnostics information and suggestions below.

Most common reasons for this are:

  • Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
  • CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
  • Target node is not running

In addition to the diagnostics info below:

  • See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more
  • Consult server logs on node rabbit@bogon
  • If target node is configured to use long node names, don't forget to use --longnames with CLI tools

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

attempted to contact: [rabbit@bogon]

rabbit@bogon:

  • connected to epmd (port 4369) on bogon
  • epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic
  • can't establish TCP connection to the target node, reason: timeout (timed out)
  • suggestion: check if host 'bogon' resolves, is reachable and ports 25672, 4369 are not blocked by firewall

Current node details:

  • node name: 'rabbitmqcli-70-rabbit@bogon'
  • effective user's home directory: /var/lib/rabbitmq
  • Erlang cookie hash: C3OUV0vVss/JC0cw1+XMhw==

处理步骤:

1、查看自己的主机名:hostname

创建rabbitmq用户时报错_Linux

2、在hosts文件中加入自己的IP和主机名:vi  /etc/hosts

创建rabbitmq用户时报错_Erlang_02

接下来就可以正常创建用户了

标签:node,时报,创建,tool,rabbitmq,server,rabbit,bogon,CLI
From: https://blog.51cto.com/u_13890591/8875933

相关文章

  • hadoop启动时报错process information unavailable
    启动hadoop,jps查看报错[root@slave1home]#jps7798--processinformationunavailable7081--processinformationunavailable查看进程是否存在[root@slave1home]#ps-ef|grep7798root93127475023:19pts/200:00:00grep--color=auto7798......
  • Linux下4种快速创建大文件的方法
    1.使用dd命令创建大文件dd命令是实际写入硬盘,文件产生的速度取决于硬盘的读写速度,根据文件的大小,该命令将需要一些时间才能完成。创建一个名为test.img的2GB大小的文本文件,执行以下操作:ddif=/dev/zeroof=test.imgbs=2Gcount=1其中根据需要来更改块大小和块数。例如,......
  • 在Python中,你可以使用面向对象的方法来创建一个甘特图的模板。以下是一个使用`matplot
    在Python中,你可以使用`matplotlib`或者`plotly`库来制作甘特图¹²⁴⁵。以下是一些示例:**使用matplotlib制作甘特图**¹:```pythonimportmatplotlib.pyplotasplt#设置字体和负号显示plt.rcParams['font.sans-serif']=['SimHei']plt.rcParams['axes.unicode_minus']=F......
  • RabbitMQ
    RabbitMQ入门1、什么是MQ消息队列(MessageQueue),是基础数据结构中“先进先出”的一种数据结构。一般用来解决应用解耦、异步消息、流量削峰等问题,实现高性能、高可用、可伸缩和最终一致性架构。2、MQ的作用1、流量消峰当有一家商店,最多可以访问100人访问,这时人流量特别大......
  • python网站创建011:函数、序列化
    经典函数:JS经典函数定义function函数名(a1,a2){vara3=a1+a2returna3}varres=函数名(11,22)console.log(res) 那如何在浏览器中查看打印结果呢?  匿名函数:没名字的函数,如果只有一个地方用到,则直接使用......
  • Vue学习计划-Vue2--VueCLi(二)vuecli脚手架创建的项目内部主要文件分析
    1.文件分析1.补充:什么叫单文件组件?一个文件中只有一个组件vue-cli创建的项目中,.vue的文件都是单文件组件,例如App.vue2.进入分析1.package.json:项目依赖配置文件:如图,我们说主要的属性:name:项目的名称version:项目版本scripts:脚本入口serve:启动项目命......
  • JVM虚拟机系统性学习-对象的创建流程及对象的访问定位
    对象的创建流程与内存分配对象创建流程如下:Java中新创建的对象如何分配空间呢?new的对象先放Eden区(如果是大对象,直接放入老年代)当Eden区满了之后,程序还需要创建对象,则垃圾回收器会对Eden区进行垃圾回收在垃圾回收的时候,会将Eden区的幸存对象转移到SurvivorFrom区如果再......
  • JVM虚拟机系统性学习-对象的创建流程及对象的访问定位
    欢迎关注公众号:【11来了】可以查看深入理解Redis系列完整文章!作者为在读研究生,目前研二,计划在公众号记录学习常用中间件笔记,以及明年更新面试经历!对象的创建流程与内存分配对象创建流程如下:Java中新创建的对象如何分配空间呢?new的对象先放Eden区(如果是大对象,直接放入老年代)当......
  • Day02创建HelloWorld
    HelloWorld1.新建一个文件来,存放代码2.新建一个java文件文件后名为.javaHello.java【注意点】系统可能没有显示文件后缀名,我们需要手动打开3.編写代码publicclassHello{ publicstaticvoidmain(String[]args){ System.out.print("Hello,World!"); }}4.......
  • SpringBoot集成多个RabbitMq(多个MQ链接)
    ##2023年12月16日20:25:36 项目中使用RabbitMQ作为应用间信息互通,本次梳理下关于MQ的使用。1、引入依赖<!--引入依赖,使用v2.5.6版本--><dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-b......