Rabbitmq starts service rabbitmq-server restart with the following error:
Enter journalctl -xe according to the error message
Find out the errors in the red box
Solution:
Enter the following codes in /etc/rabbitmq/rabbitmq-env.conf
NODENAME=rabbit@localhost