Hi,
I have this error, wheew find this service, im using external elastic search, was work fine, but i needed re install DMA, then have this error.
2021/08/09 23:25:45.685|SLLog|ApplyLogLevels|CRU|-1|Log Levels: Info: 0; Error: 0; Debug: 0 (from LogSettings.xml)
2021/08/09 23:26:55.137|SLDBConnection|ElasticConnection.UpdateHealthNodes()|INF|0|27|System.InvalidOperationException: Failed to retrieve shard information.
at SLSearch.Elastic.ElasticHealthMonitor.UpdateState(IHealthContext context)
2021/08/09 23:26:55.246|SLDBConnection|SLDBConnection|INF|0|27|Indexing cluster health: RED. All nodes in the Indexing cluster are down.
2021/08/09 23:26:55.248|SLDBConnection|ServiceRepairHealing.Repair|INF|0|27|Attempting to start service: elasticsearch-service-x64
2021/08/09 23:26:55.249|SLDBConnection|ServiceRepairHealing.Repair|INF|0|27|Starting of elasticsearch-service-x64 failed, retrying in 1 minute.
2021/08/09 23:26:55.250|SLDBConnection|ServiceRepairHealing.Repair|ERR|0|27|Starting of elasticsearch-service-x64 failed - Reason: System.InvalidOperationException: Service elasticsearch-service-x64 was not found on computer '.'. ---> System.ComponentModel.Win32Exception: The specified service does not exist as an installed service
Hi Jose,
Since you reinstalled DataMiner, a good practice is to delete all the indexes from your Elasticsearch engine. There are two possible options:
- By removing all the folders inside the data path. The data path is defined in the elasticsearch.yml. By default, the data path is set as follows /var/lib/elasticsearch
- Using the Delete Index API. You can use e.g. CURL to perform this action. Keep in mind that if you plan to use wildcards (e.g. _all), you will need to update first the elasticsearch.yml (see Path Parameters -> action.destructive_requires_name)