Linux Service Fails to Start

Hi,

Having all kinds of issues getting Elasticsearch (for Graylog) to start. It seems I (again) have messed up shards ... OK, I'd like to delete them, but all the curl commands won't work, as the service isn't running. Is there a way to do this, without starting the service (as it won't)? FYI, my log for the service failing is below. Thanks!!

Caused by: org.elasticsearch.action.search.SearchPhaseExecutionException: Search rejected due to missing shards [[.kibana_task_manager_7.17.25_001][0]]. Consider using `allow_partial_search_results` setting to bypass this error.
        at org.elasticsearch.action.search.AbstractSearchAsyncAction.run(AbstractSearchAsyncAction.java:227) ~[elasticsearch-7.17.25.jar:7.17.25]
        at org.elasticsearch.action.search.AbstractSearchAsyncAction.executePhase(AbstractSearchAsyncAction.java:454) [elasticsearch-7.17.25.jar:7.17.25]
        ... 79 more

Helo and welcome,

The log you shared seems related to search issues, not starting issues.

Please share the errors you get when trying to start Elastisearch.

First off, thanks for the quick reply! I tried (again) to restart ... and nothing at all in the log (I did a tail -f ... not a thing). So I fully removed Elasticsearch, rebooted and reinstalled. Now it starts. Just need to figure out how to remove all the UNASSIGNED shards. I seem to have to keep setting the number_of_replicas to 0 for some reason. But even then, I have 3 left that I can't do that for. Hmm.

Any pointers are appreciated of course. Thanks!