# Elastic search not starting

**URL:** <https://discuss.elastic.co/t/elastic-search-not-starting/262886>\
**Category:** Elasticsearch\
**Created:** [February 1, 2021, 7:00pm UTC](https://discuss.elastic.co/t/elastic-search-not-starting/262886 "2021-02-01T19:00:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SumeshGopu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sumeshgopu/32/79231_2.png) [@SumeshGopu](https://discuss.elastic.co/u/SumeshGopu)\
**Post date:** [February 1, 2021, 7:00pm UTC](https://discuss.elastic.co/t/elastic-search-not-starting/262886/1 "2021-02-01T19:00:26Z")

</div>

Hello,

We have a simple elasticsearch setup.  
Yesterday the diskspace went full and I was not able to get into index management to delete old index.  
So I deleted the files from disk.  
Now elasticsearch wont start

I am running on a windows 2019 server

getting error

```auto
Caused by: org.elasticsearch.action.search.SearchPhaseExecutionException: Search rejected due to missing shards [[.kibana_task_manager_1][0]]. Consider using `allow_partial_search_results` setting to bypass this error.

health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
red open .apm-custom-link _aWvtxhsTgairMzpIjatHA 1 0                                                  
red open .kibana_task_manager_1 Msw7B2JjQZW2lYcyjk6BQw 1 0                                                  
red open winlogbeat-7.9.1-2020.11.17-000014 M5vFt0kcQGCt3eccwXEvGw 1 1                                                  
red open winlogbeat-7.9.1-2020.11.16-000013 -xYqiSsbQ9Sk_KjEQkiDqw 1 1                                                  
red open .apm-agent-configuration mJktuBDPTcGjXoVabrk0Lw 1 0                                                  
red open winlogbeat-7.9.1-2020.11.19-000016 3MJGeyIyS5GzEkOEN6FIJQ 1 1                                                  
red open winlogbeat-7.9.1-2020.11.18-000015 2asmAGBCR3GrRv052BU7Xw 1 1                                                  
red open winlogbeat-7.9.1-2020.11.15-000012 PmFFKQjyQ8anJdfe1Qg2zA 1 1                                                  
red open .kibana_1 8orVUZr9SjS-w7dRHoWTMw 1 0      

```

I have new error

```auto
[2021-02-02T08:53:52,129][WARN][r.suppressed] [xxxxxx] path: /_license, params: {human=false}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:220) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:325) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:605) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:651) [elasticsearch-7.9.1.jar:7.9.1]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
	at java.lang.Thread.run(Thread.java:832) [?:?]
[2021-02-02T08:53:53,705][WARN][o.e.c.c.ClusterFormationFailureHelper] [xxxxxx] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{xxxxxxxxx}{xah9Pu-yRkWx-omoY99kCQ}{oWyNvwVHQTiXjn19gRDNzQ}{10.xx.xx.xx}{10.xx.xx.xx:9300}{dilmrt}{ml.machine_memory=34358718464, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}]; discovery will continue using [[fe80::ed9c:f27b:ea45:7a79]:9300] from hosts providers and [{xxxxxxxx}{xah9Pu-yRkWx-omoY99kCQ}{oWyNvwVHQTiXjn19gRDNzQ}{10.xx.xx.xx}{10.xx.xx.xx:9300}{dilmrt}{ml.machine_memory=34358718464, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0

org.elasticsearch.discovery.MasterNotDiscoveredException: null
	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:220) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:325) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:605) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:651) [elasticsearch-7.9.1.jar:7.9.1]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
	at java.lang.Thread.run(Thread.java:832) [?:?]

```

Please help

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 1, 2021, 8:09pm UTC](https://discuss.elastic.co/t/elastic-search-not-starting/262886/2 "2021-02-01T20:09:25Z")

</div>

Welcome to our community! 😃

Can you please post more of your Elasticsearch log.

---

<div class="post-metadata">

**Author:** ![SumeshGopu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sumeshgopu/32/79231_2.png) [@SumeshGopu](https://discuss.elastic.co/u/SumeshGopu)\
**Post date:** [February 2, 2021, 8:06am UTC](https://discuss.elastic.co/t/elastic-search-not-starting/262886/3 "2021-02-02T08:06:02Z")

</div>

> [@SumeshGopu](#):
>
> `MasterNotDiscoveredException: null`

Added new the logs

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 2, 2021, 8:36am UTC](https://discuss.elastic.co/t/elastic-search-not-starting/262886/4 "2021-02-02T08:36:11Z")

</div>

Can you please post more of your Elasticsearch log, preferably the entire thing from startup.

---

<div class="post-metadata">

**Author:** ![SumeshGopu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sumeshgopu/32/79231_2.png) [@SumeshGopu](https://discuss.elastic.co/u/SumeshGopu)\
**Post date:** [February 2, 2021, 10:05am UTC](https://discuss.elastic.co/t/elastic-search-not-starting/262886/5 "2021-02-02T10:05:50Z")

</div>

Elasticsearch config file

```auto
# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
# Before you set out to tweak and tune the configuration, make sure you
# understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www.elastic.co/guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
#cluster.name: my-application
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
#node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
#path.data: /path/to/data
#
# Path to log files:
#
#path.logs: /path/to/logs
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
#bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
#
#network.host: 192.168.0.1
network.host: 0.0.0.0

#
# Set a custom port for HTTP:
#
#http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.seed_hosts: ["host1", "host2"]
#
discovery.seed_hosts: 
    - xxxxxxxxx.xxxxxx.org:9300
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
#cluster.initial_master_nodes: ["node-1", "node-2"]
#
# For more information, consult the discovery and cluster formation module documentation.
#
# ---------------------------------- Gateway -----------------------------------
#
# Block initial recovery after a full cluster restart until N nodes are started:
#
#gateway.recover_after_nodes: 3
#
# For more information, consult the gateway module documentation.
#
# ---------------------------------- Various -----------------------------------
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
cluster.routing.allocation.disk.threshold_enabled: false

```

---

<div class="post-metadata">

**Author:** ![SumeshGopu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sumeshgopu/32/79231_2.png) [@SumeshGopu](https://discuss.elastic.co/u/SumeshGopu)\
**Post date:** [February 2, 2021, 10:16am UTC](https://discuss.elastic.co/t/elastic-search-not-starting/262886/6 "2021-02-02T10:16:24Z")

</div>

```auto
[2021-02-02T10:58:18,672][WARN][o.e.c.c.ClusterFormationFailureHelper] [XXXXXXXXXX] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{XXXXXXXXXX}{xah9Pu-yRkWx-omoY99kCQ}{El_3_k80QuGfd9-r4gDpHg}{xxx.xxx.xxx.xxx}{xxx.xxx.xxx.xxx:9300}{dilmrt}{ml.machine_memory=34358718464, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}]; discovery will continue using [[::1]:9300] from hosts providers and [{XXXXXXXXXX}{xah9Pu-yRkWx-omoY99kCQ}{El_3_k80QuGfd9-r4gDpHg}{xxx.xxx.xxx.xxx}{xxx.xxx.xxx.xxx:9300}{dilmrt}{ml.machine_memory=34358718464, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2021-02-02T10:58:20,469][WARN][r.suppressed] [XXXXXXXXXX] path: /_license, params: {human=false}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:220) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:325) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:605) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:651) [elasticsearch-7.9.1.jar:7.9.1]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
	at java.lang.Thread.run(Thread.java:832) [?:?]
[2021-02-02T10:58:28,687][WARN][o.e.c.c.ClusterFormationFailureHelper] [XXXXXXXXXX] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{XXXXXXXXXX}{xah9Pu-yRkWx-omoY99kCQ}{El_3_k80QuGfd9-r4gDpHg}{xxx.xxx.xxx.xxx}{xxx.xxx.xxx.xxx:9300}{dilmrt}{ml.machine_memory=34358718464, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}]; discovery will continue using [[::1]:9300] from hosts providers and [{XXXXXXXXXX}{xah9Pu-yRkWx-omoY99kCQ}{El_3_k80QuGfd9-r4gDpHg}{xxx.xxx.xxx.xxx}{xxx.xxx.xxx.xxx:9300}{dilmrt}{ml.machine_memory=34358718464, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2021-02-02T10:58:35,341][WARN][r.suppressed] [XXXXXXXXXX] path: /.kibana_task_manager, params: {index=.kibana_task_manager}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:220) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:325) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:605) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:651) [elasticsearch-7.9.1.jar:7.9.1]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
	at java.lang.Thread.run(Thread.java:832) [?:?]
[2021-02-02T10:58:35,341][WARN][r.suppressed] [XXXXXXXXXX] path: /.kibana, params: {index=.kibana}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:220) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:325) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:605) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:651) [elasticsearch-7.9.1.jar:7.9.1]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
	at java.lang.Thread.run(Thread.java:832) [?:?]

```

---

<div class="post-metadata">

**Author:** ![SumeshGopu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sumeshgopu/32/79231_2.png) [@SumeshGopu](https://discuss.elastic.co/u/SumeshGopu)\
**Post date:** [February 4, 2021, 7:57am UTC](https://discuss.elastic.co/t/elastic-search-not-starting/262886/7 "2021-02-04T07:57:13Z")

</div>

Hello Any solution ?

---

<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:** [March 4, 2021, 7:57am UTC](https://discuss.elastic.co/t/elastic-search-not-starting/262886/8 "2021-03-04T07:57:23Z")

</div>

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