Elastic Search is Not Starting
search cancel

Elastic Search is Not Starting

book

Article ID: 107857

calendar_today

Updated On:

Products

CA App Experience Analytics

Issue/Introduction

After logging into AXA, most dashboards do not display data. The Elastic Search process is not starting. 

Environment

AXA On Premise 17.3.x

Cause

Reviewing the /aoPlatform/jarvis/logs/elasticsearch.log, the following error is observed...
[WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [MASTER-DATA-<hostname>] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed to bind to [<ports]]; nested: BindException[Cannot assign requested address];
    ...
Caused by: org.elasticsearch.transport.BindTransportException: Failed to bind to [<ports>]
    ...
Caused by: java.net.BindException: Cannot assign requested address

This error occurs if the Elastic Search process cannot bind to the host or ip address assigned in 
 /aoPlatform/jarvis/elasticsearch-<version>/config/elasticsearch.yml. 

Resolution

To correct this issue...

1 - Verify the assigned ports mentioned in the error message, "Failed to bind to [<ports>]", are not in use on the server.
2 - Try updating  /aoPlatform/jarvis/elasticsearch-<version>/config/elasticsearch.yml 's network.host to all zeros
3 -Then restart Elastic Search