RabbitMQ GUI Access Issue
RabbitMQ GUI Access Issue in RabbitMQ Issues.
RabbitMQ GUI Access Issue#
Unable to access the RabbitMQ User Interface (UI).
Solution:
- Nomad File Configuration: Change network_mode to "host " in the rabbitmq.nomad file.
-
Configuration File Update: Copy the rabbitmq.conf file from the Docker container to a local configuration path.
Edit rabbitmq.conf to update management.ssl.port=9203 . Reflect this change in the rabbitmq.nomad file's volume section.
-
Permission Settings: Set read-only (ro) access to prevent updates to the existing port number.
-
Hostname and Port Configuration: Add the hostname to the extra_hosts section.
In port_map , configure https=9203.
-
Firewall Settings: Add a rule for the RabbitMQ GUI port (9203) in the firewall.
- Service Restart: Restart the RabbitMQ service and verify access to the GUI.
RabbitMQ Getting Killed on RHEL8.2#
RabbitMQ fails to start, with errors indicating issues with the .erlang.cookie file and other startup exceptions.
Solution:
- Docker Entry point Script Modification: Edit the docker-entrypoint.sh script for RabbitMQ with the following changes:
- Update group and user IDs for RabbitMQ if necessary.
- Adjust ownership of RabbitMQ directories to rabbitmq:rabbitmq .
- Ensure the script runs the RabbitMQ server with the correct user permissions.
-
Script Mounting in Nomad File: Mount the updated docker-entrypoint.sh in the Nomad file:
"/HEAL/Appsone_Service/rabbitmq/docker-entrypoint.sh:/docker-entrypoint.sh:z"
Setting Queue Limit for Non-High Availability (HA)#
Follow the below steps to rectify the issue:
- Login to RabbitMQ UI.
- Navigate to Admin tab and click on "Admin " tab.
- On the right side, locate and click on "Policies ".
- Delete the Existing Policies.
-
Execute the following curl command from the Heal server where RabbitMQ is running:
curl -X PUT -k --user guest:guest -H 'content-type: application/json' --data '{"pattern": ".", "apply-to": "queues", "definition": {"max-length": 10000} }' https://<primaryiprabbitmq>:<rabbitmqwebport>/api/policies/%2f/ha-policyNote: Adjust the max-length value as per the specific requirement; the default is set to 10000.
-
After applying the policy, purge all the queues to ensure the changes take effect.
Note: Ensure to replace <primaryiprabbitmq> and <rabbitmqwebport> with the actual primary IP and RabbitMQ web port. The provided procedure helps set the queue limit for non-HA in RabbitMQ through the UI and curl command.
Windows KPI MQ Current Depth Data Collection Issue#
The Windows KPI collection stopped, and an error was encountered indicating that the service was unable to start due to an expected error.


Static Aggregated KPI Queues Got Unacknowledged (Unacked)#
Static Aggregated KPI queues got unacked in RabbitMQ, preventing anomalies from being generated regularly.
The error is as below:
ERROR c.h.e.d.core.ViolatedEventsProcess:634 - Validation of aggregated kpi data failed. Reason: OutOfOrder time ..., outOfOrderValue:... for KPI id ..., instance ... and account ....
Dropping the data point.
Solution :
Increase the following Consul key value from 10 to 50 and restart the event-detector module:
service/rabbitmq/eventdetector/aggregatedKpi/consumerSize
Unable to Start RabbitMQ#
After upgrading the RHEL Linux Server from version 8.9 to 8.10 , the RabbitMQ service is unable to start.
Symptoms : No logs are printed in the centralized_logs directory after restarting the systemctl services for Nomad , Consul , and Podman .
Solution:
-
Check the file permissions for the below file:
Appsone_Service/data/rabbitmq/.erlang.cookie -
Change the permissions from 755 to 400 .
-
Start the RabbitMQ service.
For Example:
chmod 400 Appsone_Service/data/rabbitmq/.erlang.cookie