# Cluster State Red

**URL:** <https://discuss.elastic.co/t/cluster-state-red/15248>\
**Category:** Elasticsearch\
**Created:** [January 15, 2014, 4:28pm UTC](https://discuss.elastic.co/t/cluster-state-red/15248 "2014-01-15T16:28:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dantuff](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@dantuff](https://discuss.elastic.co/u/dantuff)\
**Post date:** [January 15, 2014, 4:28pm UTC](https://discuss.elastic.co/t/cluster-state-red/15248/1 "2014-01-15T16:28:37Z")

</div>

I have 5 nodes in my cluster (I have set replicas to 0 for now), the status  
is not moving from red:

curl -XGET '[http://localhost:9200/\_cluster/health?pretty=true](http://localhost:9200/_cluster/health?pretty=true)'  
{  
"cluster\_name" : "my-cluster",  
"status" : "red",  
"timed\_out" : false,  
"number\_of\_nodes" : 5,  
"number\_of\_data\_nodes" : 5,  
"active\_primary\_shards" : 0,  
"active\_shards" : 0,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 5  
}

active\_shards:0 and unassinged\_shards:5 can't be good

There is only a warn in the logs:

[WARN][discovery] [Running Man] waited for 30s and no initial stat

All of the nodes have joined the cluster, and I can't see errors in any of  
the node's logs but a search query gives the following error:

{"error":"SearchPhaseExecutionException[Failed to execute phase [query],  
all shards failed]","status":503}

any ideas on how to resolve this?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e59c4dbc-0795-4f89-8d5b-7c4ee0723451%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e59c4dbc-0795-4f89-8d5b-7c4ee0723451%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 1:56am UTC](https://discuss.elastic.co/t/cluster-state-red/15248/2 "2017-07-06T01:56:42Z")

</div>


