The following error occurs when rabbitmq adds a user
Error description:
{could_not_start,rabbit,
{notsup,
[{crypto,sha256,1,[{file,"crypto.erl"},{line,857}]},
{rabbit_password,hash,2,
[{file,"src/rabbit_password.erl"},{line,34}]},
{rabbit_auth_backend_internal,add_user,2,
[{file,"src/rabbit_auth_backend_internal.erl"},{line,173}]},
{rabbit,insert_default_data,0,
[{file,"src/rabbit.erl"},{line,565}]},
{rabbit_boot_steps,'-run_step/2-lc$^1/1-1-',1,
[{file,"src/rabbit_boot_steps.erl"},{line,49}]},
{rabbit_boot_steps,run_step,2,
[{file,"src/rabbit_boot_steps.erl"},{line,49}]},
{rabbit_boot_steps,'-run_boot_steps/1-lc$^0/1-0-',1,
[{file,"src/rabbit_boot_steps.erl"},{line,26}]},
{rabbit_boot_steps,run_boot_steps,1,
[{file,"src/rabbit_boot_steps.erl"},{line,26}]}]}}
Because the crypto module of erlang is not installed correctly, when installing erlang, the following prompt may appear after configure
crypto : No usable OpenSSL found
jinterface : Java compiler disabled by user
odbc : ODBC library - link check failed
orber : No C++ compiler found
ssh : No usable OpenSSL found
ssl : No usable OpenSSL found
Two packages, openssl and openssl-devel, need to be installed. Before, only the openssl package was installed in the system.