zoukankan      html  css  js  c++  java
  • 报错:搭建openstack,创建消息队列用户失败

    执行创建消息队列用户时:

    1 [root@ct ~]# rabbitmqctl add_user openstack RABBIT_PASS

    出现报错信息:

     1 Error: unable to connect to node rabbit@localhost: nodedown
     2 
     3 DIAGNOSTICS
     4 ===========
     5 
     6 attempted to contact: [rabbit@localhost]
     7 
     8 rabbit@localhost:
     9   * connected to epmd (port 4369) on localhost
    10   * epmd reports node 'rabbit' running on port 25672
    11   * TCP connection succeeded but Erlang distribution failed
    12 
    13   * Hostname mismatch: node "rabbit@ct" believes its host is different. Please ensure that hostnames resolve the same way locally and on "rabbit@ct"
    14 
    15 
    16 current node details:
    17 - node name: 'rabbitmq-cli-70@ct'
    18 - home dir: /var/lib/rabbitmq
    19 - cookie hash: JUOSnyAarD/iR1GN1NJGTQ==

    解决:无其他问题,原来是由于# bash 又开了一个shell,# exit 退出到原来的shell执行就行

     1 [root@ct ~]# exit
     2 exit
     3 [root@localhost yum.repos.d]# exit
     4 登出
     5 
     6 Connection closed by foreign host.
     7 
     8 Disconnected from remote host(最小化1) at 13:46:32.
     9 
    10 Type `help' to learn how to use Xshell prompt.
    11 [c:~]$ 
    12 
    13 Connecting to 192.168.247.11:22...  #重新连接
    14 Connection established.
    15 To escape to local shell, press 'Ctrl+Alt+]'.
    16 
    17 WARNING! The remote SSH server rejected X11 forwarding request.
    18 Last login: Fri Dec 11 19:42:30 2020
    19 [root@ct ~]# rabbitmqctl add_user openstack RABBIT_PASS
    20 Creating user "openstack"   #创建成功
  • 相关阅读:
    解析Zigbee技术在智能家居应用中的优缺点
    ZigBee无线网络技术在小区路灯照明系统的应用
    Zigbee技术特点
    梯度下降法-理解共轭梯度法
    感知机--理解系数向量和样本点递归
    fisher线性判别
    iso data 聚类算法
    近邻算法--类与类间最小损失函数
    聚类算法--理解最大最小距离分类
    类间距离测度方法
  • 原文地址:https://www.cnblogs.com/xuhao0705/p/14233070.html
Copyright © 2011-2022 走看看