S
S
sashapakistan2018-12-09 12:21:32
ubuntu
sashapakistan, 2018-12-09 12:21:32

How to fix error while installing RabbitMQ ubuntu 18?

Installed RabbitMQ as follows:

echo "deb http://www.rabbitmq.com/debian/ testing main"  | sudo tee  /etc/apt/sources.list.d/rabbitmq.list > /dev/null
wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
sudo apt-key add rabbitmq-signing-key-public.asc
sudo apt-get update
sudo apt-get install rabbitmq-server
But during installation it gives an error:
log
Active: failed (Result: exit-code) since Sun 2018-12-09 12:13:32 MSK; 10ms ag                                                                                                                                                             o
  Process: 14198 ExecStartPost=/usr/lib/rabbitmq/bin/rabbitmq-server-wait (code=                                                                                                                                                             exited, status=70)
  Process: 14197 ExecStart=/usr/sbin/rabbitmq-server (code=exited, status=1/FAIL                                                                                                                                                             URE)
 Main PID: 14197 (code=exited, status=1/FAILURE)
Dec 09 12:13:32 192333.simplecloud.ru systemd[1]: rabbitmq-server.service: Faile                                                                                                                                                             d with result 'exit-code'.

I found on the forums that I just need to change /etc/hosts and /etc/hostname, but it’s not clear how and what to change there

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2018-12-09
@2ord

In my opinion, adding the debian testing repository to Ubuntu was a mistake. Most likely package dependencies were broken.
It's easier to remove this repository and install the stock version of RabbitMQ included in the Ubuntu repository.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question