EDR Server: Services fail to start due to connection error with RabbitMQ
book
Article ID: 291991
calendar_today
Updated On:
Products
Carbon Black EDR (formerly Cb Response)
Issue/Introduction
Services fail to start. Logs show that RabbitMQ was the last service to start
/var/log/messages shows errors
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5005): Max retries exceeded with url: /api/aliveness-test/%2F (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb7286a07c0>: Failed to establish a new connection: [Errno 111] Connection refused'))
pyrabbit2.http.NetworkError: Error during request <class 'requests.exceptions.ConnectionError'> HTTPConnectionPool(host='localhost', port=5005): Max retries exceeded with url: /api/aliveness-test/%2F (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb7286a07c0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Environment
EDR Server: 7.6.1
Cause
Entry for ipv4 (127.0.0.1) is missing a connection reference to localhost in /etc/hosts.
Resolution
Add a reference to localhost for 127.0.0.1 in /etc/hosts