2017-08-10 19 views
0

當我創建的RabbitMQ當我創建RabbitMQ的管理用戶,即有錯誤

[[email protected] ~]# rabbitmqctl add_user admin admin 

,即有錯誤,消息的用戶:

Creating user "admin" 
Error: {undef, 
      [{crypto,hash,[sha256,<<165,63,157,75,97,100,109,105,110>>],[]}, 
      {rabbit_password,hash,2, 
       [{file,"src/rabbit_password.erl"},{line,34}]}, 
      {rabbit_auth_backend_internal,add_user_sans_validation,2, 
       [{file,"src/rabbit_auth_backend_internal.erl"},{line,191}]}, 
      {rpc,'-handle_call_call/6-fun-0-',5, 
       [{file,"rpc.erl"},{line,205}]}]} 

而且我發現有ISN 't default user [guest]

[[email protected] ~]# rabbitmqctl list_users 
Listing users 

回答

0

{undef,[{crypto,表示您的Erlang安裝未完成。 加密庫丟失。

如果你正在使用的Centos我建議使用這種零依賴包:https://github.com/rabbitmq/erlang-rpm/releases/tag/v19.3.6.2

或者嘗試執行yum install erlang-crypto

如果你是Debian的嘗試與apt-get install erlang-crypto

+0

太感謝你了!我嘗試安裝零依賴包。這很有用 –