Failed to start or stop RabbitMQ service

The Rabbitmq service is either stuck in terminating or starting state and couldn’t succesfully execute ” rabbitmqctl start_app  ” or  ” rabbitmqctl stop_app” to restore the issue with the messaging service.

Following are some of log snippets we see on the rabbitmq and horizon.log related to messaging/rabbitmq . 

Note : The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

#rabbitmq@.log :
2024-06-25 02:19:52.738969+00:00 [info] <0.440.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": using rabbit_msg_store_ets_index to provide index
2024-06-25 02:19:52.739338+00:00 [warning] <0.440.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": rebuilding indices from scratch
2024-06-25 02:19:52.742519+00:00 [error] <0.370.0> ** Generic server <0.370.0> terminating

 

Following are snippets related to RabbitMQ —– # horizon.log: 
2024-06-25T16:39:59,069 ERROR (Calc-V2-Tenant-Update-Notifier[user-provisioning]) [;;;] com.vmware.horizon.messaging.provider.rabbitmq.MessagingUtils - Setting up messaging provider connection failed.
java.net.ConnectException: Connection refused (Connection refused)

Read more here: Source link