一看必會系列:解決linux Error: unable to perform an operation on node ‘[email protected]

來源:本站原創 IT必備工具 超過4,270 views圍觀 0條評論

[[email protected] ~]# netstat -ntlp |grep 15672
tcp        0      0 0.0.0.0:15672           0.0.0.0:*               LISTEN      87342/beam.smp     
[[email protected] ~]# rabbitmqctl list_users

 

報錯
Error: unable to perform an operation on node ‘[email protected]’. Please see diagnostics information and suggestions below.

Most common reasons for this are:

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

attempted to contact: [‘[email protected]’]

[email protected]:
  * connected to epmd (port 4369) on rabbit-api-001
  * node [email protected] up, ‘rabbit’ application running

Current node details:
* node name: ‘[email protected]
* effective user’s home directory: /var/lib/rabbitmq
* Erlang cookie hash: PQXNPBxSq3gugPGiKks0lQ==
 
 
解決

將本機IP 寫入HOST即可
  重寫hosts  echo 9.2.2.4 rabbit-api-001 >> /etc/hosts
1032  cat /etc/hosts
測試  ping rabbit-api-001
重啟  systemctl restart rabbitmq-server
 
驗證 正常
rabbitmqctl list_users
Listing users …
ddd    [administrator]

文章出自:CCIE那點事 http://www.qdxgqk.live/ 版權所有。本站文章除注明出處外,皆為作者原創文章,可自由引用,但請注明來源。 禁止全文轉載。
本文鏈接:http://www.qdxgqk.live/?p=3986轉載請注明轉自CCIE那點事
如果喜歡:點此訂閱本站
  • 相關文章
  • 為您推薦
  • 各種觀點
?
暫時還木有人評論,坐等沙發!
發表評論

您必須 [ 登錄 ] 才能發表留言!

?
?
萌宠夺宝游戏