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)
Hi Jose,
Based on the provided logs, the Elastic Search service is either not found or not started. Would you please check in the task manager if the Elastic Search service exists and running? It should look as below.
If the Elastic Search service is in "Stopped" state, please right-click and start it manually.
Monitor the status for 30-40 seconds, and if the status stayed in the "Running" state, please restart your DMA.
If the status is changed back to the "Stopped" state, please check the Elastic Search log files as below:
- elasticsearch-service-x64.[date].log (C:\Program Files\Elasticsearch\logs)
- elasticsearch-service-x64-stderr.[date].log (C:\Program Files\Elasticsearch\logs)
- elasticsearch-service-x64-stdout.[date].log (C:\Program Files\Elasticsearch\logs)
Hi Jose,
Can you please share the DataMiner version you are running and a screenshot of your “C:Skyline DataMinerDb.xml” file?
Hi Jeeva,
Im using elasticsearch in Linux and service is up, I can enter by browser, but i dont know why didn;t work.