rabbitmq安装报 Failed to start LSB: Enable AMQP service provided by RabbitMQ broker错误

时间:2024-03-25 09:14:25

今天学习安装了rabbitmq
安装完成之后启动一直失败,如下图
rabbitmq安装报 Failed to start LSB: Enable AMQP service provided by RabbitMQ broker错误
网上的各种方法都试了还是不行
最后用用 rabbitmq-server start命令 提示
rabbitmq安装报 Failed to start LSB: Enable AMQP service provided by RabbitMQ broker错误
libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
找不到libtinfo.so.5这个依赖包
于是我打开lib 和lib64文件夹
rabbitmq安装报 Failed to start LSB: Enable AMQP service provided by RabbitMQ broker错误
所以根据/usr/lib/libncurses.so.5的链接方式, 在/usr/lib64下打个软链接:
sudo ln -s /usr/lib64/libncurses.so.6 /usr/lib64/libncurses.so.5
rabbitmq安装报 Failed to start LSB: Enable AMQP service provided by RabbitMQ broker错误
在启动就不报错了

最后我们启动rabbit服务,就可以正常启动了
rabbitmq安装报 Failed to start LSB: Enable AMQP service provided by RabbitMQ broker错误