# Linux Service Fails to Start

**URL:** <https://discuss.elastic.co/t/linux-service-fails-to-start/373089>\
**Category:** Elastic Search\
**Created:** [January 11, 2025, 1:49pm UTC](https://discuss.elastic.co/t/linux-service-fails-to-start/373089 "2025-01-11T13:49:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arrmo](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@arrmo](https://discuss.elastic.co/u/arrmo)\
**Post date:** [January 11, 2025, 1:49pm UTC](https://discuss.elastic.co/t/linux-service-fails-to-start/373089/1 "2025-01-11T13:49:56Z")

</div>

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!!

```auto
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

```

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [January 11, 2025, 2:42pm UTC](https://discuss.elastic.co/t/linux-service-fails-to-start/373089/2 "2025-01-11T14:42:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![arrmo](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@arrmo](https://discuss.elastic.co/u/arrmo)\
**Post date:** [January 11, 2025, 5:01pm UTC](https://discuss.elastic.co/t/linux-service-fails-to-start/373089/3 "2025-01-11T17:01:05Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 8, 2025, 5:01pm UTC](https://discuss.elastic.co/t/linux-service-fails-to-start/373089/4 "2025-02-08T17:01:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
