0

I'm starting to use ubuntu with WSL and, after installing RabbitMQ:

sudo apt-get install rabbitmq-server

I try to start the server by doing:

sudo systemctl start rabbitmq-server.service

However I get the following error:

System has not been booted with systemd as init system (PID 1). Can't operate.

I have tried to apply sudo service start rabbitmq-server.service as this answer, but I get this error:

start: unrecognized service

furthermore, I restarted the computer following this answer with no success.

Any suggestions?

Alvaro
  • 1,430
  • 2
  • 23
  • 41

1 Answers1

2

Ok solution finally found!

I just applied this solution. It seems that from the pipenv the RabbitMQ didn't want to start a node.

Now by using the sudo su and restarting it worked:

sudo su
sudo service rabbitmq-server restart 
Alvaro
  • 1,430
  • 2
  • 23
  • 41