启动后台管理插件
[root@localhost opt]# rabbitmq-plugins enable rabbitmq_management
出错
[root@localhost opt]# /usr/lib64/erlang/erts-10.3.5.12/bin/beam.smp: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
bash: /usr/lib64/erlang/erts-10.3.5.12/bin/beam.smp:: No such file or directory
感谢博主 demnz 启发! 参考:https://blog.csdn.net/qq_43181853/article/details/104794097
转至 /usr/lib64目录
[root@localhost lib64]# ls libtinfo*
libtinfo.so.6 libtinfo.so.6.1
缺少libtinfo.so.5文件 copy libtinfo.so.6 重命名为 libtinfo.so.5
[root@localhost lib64]# cp libtinfo.so.6 libtinfo.so.5
[root@localhost lib64]# ls libtinfo*
libtinfo.so.5 libtinfo.so.6 libtinfo.so.6.1
再次启动
[root@localhost opt]# rabbitmq-plugins enable rabbitmq_management
Enabling plugins on node rabbit@localhost:
rabbitmq_management
The following plugins have been configured:
rabbitmq_management
rabbitmq_management_agent
rabbitmq_web_dispatch
Applying plugin configuration to rabbit@localhost...
The following plugins have been enabled:
rabbitmq_management
rabbitmq_management_agent
rabbitmq_web_dispatch
set 3 plugins.
Offline change; changes will take effect at broker restart.
|