安裝好rabbitmq后啟動成功
通過頁面訪問15672端口正常:?
想要通過rabbitmqctl list_users命令查看用戶信息時
報錯:unable to perform an operation on node 'rabbit@Host'. Please see diagnostics information and suggestions below.?
查看rabbitmq的日志信息報錯:
根據(jù)翻譯以為是ip和主機名不能解析
通過添加ip 主機名信息
vi /etc/hosts
添加后再次嘗試命令rabbitmqctl list_users查看用戶信息
無效,仍然同樣的錯誤。
根據(jù)網(wǎng)上推論是erlang和rabbitmq的.erlang.cookie不同步產(chǎn)生的錯誤
通過命令查找./erlang.cookie
find / -name .erlang.cookie
?由于不清楚兩個cookie的關(guān)系,要使用哪個替換哪個,所以提前對文件備份
?
?
?嘗試替換root下的.erlang.cookie
?替換成功后,再次嘗試使用命令rabbitmqctl list_users查看用戶信息
文章來源:http://www.zghlxwxcb.cn/news/detail-823256.html
?成功?。?!文章來源地址http://www.zghlxwxcb.cn/news/detail-823256.html
到了這里,關(guān)于rabbitmq正常啟動下,報錯:unable to perform an operation on node ‘rabbit@Host‘.的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!