ubuntu - 无法在 Ubuntu 18.04 上安装 Rabbitmq-server

标签 ubuntu rabbitmq ubuntu-18.04

我一直在尝试将 rabbitmq-server 安装到我的 Ubuntu 机器中,但它不断给出以下错误:
enter image description here

我在互联网上浏览了很多文章,他们都说我必须改变我的

/etc/hostname -- currently only 'localhost'



或者

/etc/host -- see below current config enter image description here



但是,我添加或更改什么都没有关系,rabbitmq-server 永远不会启动,因此安装没有完成。

有谁知道我该如何解决?
预先感谢大家的帮助。

最佳答案

我设法通过以下方式解决了我的问题:

卸载 Rabbitmq 和 Erlang。

然后按照本教程重新安装它(好吧,为什么不......)
https://www.rabbitmq.com/install-debian.html

事情现在似乎运行正常。

关于ubuntu - 无法在 Ubuntu 18.04 上安装 Rabbitmq-server,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53248034/

相关文章:

git - 警告 : LF will be replaced by CRLF in Git

python-3.x - "no module named torch"。但是在 Ubuntu 18.04.02 服务器版中安装了带有 conda 的 pytorch 1.3.0

ubuntu - 如何静态链接库以构建共享库

php - 无法添加 PPA : 'ppa:ondrej/php5-5.6'

java - 在rabbitmq消息中添加额外的字符

java - MySQL、MongoDB、RabbitMQ 的事务原子性

c++ - 如何限制缓存内存ubuntu?

postgresql - bash : etc/postgresql/8. 4/main/pg_hba.conf: 没有那个文件或目录

java - 通过一个 spring-rabbit 服务中的一个消费者同时处理多个 amqp 消息

docker - Nginx 缓存大小不会超过 344GB