# Need help in recovering indices

**URL:** <https://discuss.elastic.co/t/need-help-in-recovering-indices/9860>\
**Category:** Elasticsearch\
**Created:** [November 28, 2012, 10:40am UTC](https://discuss.elastic.co/t/need-help-in-recovering-indices/9860 "2012-11-28T10:40:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajan](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@ajan](https://discuss.elastic.co/u/ajan)\
**Post date:** [November 28, 2012, 10:40am UTC](https://discuss.elastic.co/t/need-help-in-recovering-indices/9860/1 "2012-11-28T10:40:15Z")

</div>

When I restarted ES node it indicates these errors, how do I recover  
these indices

[2012-11-28 05:34:41,626][DEBUG][gateway.local] [Rasputin, Mikhail]  
[alert][2]: not allocating, number\_of\_allocated\_shards\_found [1],  
required\_number [2]  
[2012-11-28 05:34:41,626][DEBUG][gateway.local] [Rasputin, Mikhail]  
[managedobject][4]: not allocating, number\_of\_allocated\_shards\_found  
[1], required\_number [2]  
[2012-11-28 05:34:41,626][DEBUG][gateway.local] [Rasputin, Mikhail]  
[alert][1]: not allocating, number\_of\_allocated\_shards\_found [1],  
required\_number [2]  
[2012-11-28 05:34:41,626][DEBUG][gateway.local] [Rasputin, Mikhail]  
[alert][4]: not allocating, number\_of\_allocated\_shards\_found [1],  
required\_number [2]  
[2012-11-28 05:34:41,626][DEBUG][gateway.local] [Rasputin, Mikhail]  
[alert][3]: not allocating, number\_of\_allocated\_shards\_found [1],  
required\_number [2]  
[2012-11-28 05:34:41,627][DEBUG][gateway.local] [Rasputin, Mikhail]  
[group][2]: not allocating, number\_of\_allocated\_shards\_found [1],  
required\_number [2]  
[2012-11-28 05:34:41,627][DEBUG][gateway.local] [Rasputin, Mikhail]  
[group][0]: not allocating, number\_of\_allocated\_shards\_found [1],  
required\_number [2]  
[2012-11-28 05:34:41,627][DEBUG][gateway.local] [Rasputin, Mikhail]  
[managedobject][3]: not allocating, number\_of\_allocated\_shards\_found  
[1], required\_number [2]  
[2012-11-28 05:34:41,627][DEBUG][gateway.local] [Rasputin, Mikhail]  
[managedobject][2]: not allocating, number\_of\_allocated\_shards\_found  
[1], required\_number [2]  
[2012-11-28 05:34:41,627][DEBUG][gateway.local] [Rasputin, Mikhail]  
[alert][0]: not allocating, number\_of\_allocated\_shards\_found [1],  
required\_number [2]

--

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [November 28, 2012, 10:44am UTC](https://discuss.elastic.co/t/need-help-in-recovering-indices/9860/2 "2012-11-28T10:44:59Z")

</div>

Hi Ajan

On Wed, 2012-11-28 at 02:40 -0800, ajan wrote:

> When I restarted ES node it indicates these errors, how do I recover  
> these indices
> 
> [2012-11-28 05:34:41,626][DEBUG][gateway.local] [Rasputin, Mikhail]  
> [alert][2]: not allocating, number\_of\_allocated\_shards\_found [1],  
> required\_number [2]

Start another node

clint

--

---

<div class="post-metadata">

**Author:** ![ajan](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@ajan](https://discuss.elastic.co/u/ajan)\
**Post date:** [November 28, 2012, 10:56am UTC](https://discuss.elastic.co/t/need-help-in-recovering-indices/9860/3 "2012-11-28T10:56:37Z")

</div>

another node on the same machine?

On Nov 28, 3:44 pm, Clinton Gormley [cl...@traveljury.com](mailto:cl...@traveljury.com) wrote:

> Hi Ajan
> 
> On Wed, 2012-11-28 at 02:40 -0800, ajan wrote:
> 
> > When I restarted ES node it indicates these errors, how do I recover  
> > these indices
> 
> > [2012-11-28 05:34:41,626][DEBUG][gateway.local] [Rasputin, Mikhail]  
> > [alert][2]: not allocating, number\_of\_allocated\_shards\_found [1],  
> > required\_number [2]
> 
> Start another node
> 
> clint

--

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [November 28, 2012, 11:04am UTC](https://discuss.elastic.co/t/need-help-in-recovering-indices/9860/4 "2012-11-28T11:04:04Z")

</div>

On Wed, 2012-11-28 at 02:56 -0800, ajan wrote:

> another node on the same machine?

It could be on the same machine, but it just needs a second node in the  
cluster.

Or check your config - something in there is saying "I need at least two  
nodes to recover"

clint

> On Nov 28, 3:44 pm, Clinton Gormley [cl...@traveljury.com](mailto:cl...@traveljury.com) wrote:
> 
> > Hi Ajan
> > 
> > On Wed, 2012-11-28 at 02:40 -0800, ajan wrote:
> > 
> > > When I restarted ES node it indicates these errors, how do I recover  
> > > these indices
> > 
> > > [2012-11-28 05:34:41,626][DEBUG][gateway.local] [Rasputin, Mikhail]  
> > > [alert][2]: not allocating, number\_of\_allocated\_shards\_found [1],  
> > > required\_number [2]
> > 
> > Start another node
> > 
> > clint

--

---

<div class="post-metadata">

**Author:** ![ajan](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@ajan](https://discuss.elastic.co/u/ajan)\
**Post date:** [November 28, 2012, 11:38am UTC](https://discuss.elastic.co/t/need-help-in-recovering-indices/9860/5 "2012-11-28T11:38:06Z")

</div>

Great, thanks it worked.

It looks like the order to start cluster nodes is important.

On Nov 28, 4:04 pm, Clinton Gormley [cl...@traveljury.com](mailto:cl...@traveljury.com) wrote:

> On Wed, 2012-11-28 at 02:56 -0800, ajan wrote:
> 
> > another node on the same machine?
> 
> It could be on the same machine, but it just needs a second node in the  
> cluster.
> 
> Or check your config - something in there is saying "I need at least two  
> nodes to recover"
> 
> clint
> 
> > On Nov 28, 3:44 pm, Clinton Gormley [cl...@traveljury.com](mailto:cl...@traveljury.com) wrote:
> > 
> > > Hi Ajan
> 
> > > On Wed, 2012-11-28 at 02:40 -0800, ajan wrote:
> > > 
> > > > When I restarted ES node it indicates these errors, how do I recover  
> > > > these indices
> 
> > > > [2012-11-28 05:34:41,626][DEBUG][gateway.local] [Rasputin, Mikhail]  
> > > > [alert][2]: not allocating, number\_of\_allocated\_shards\_found [1],  
> > > > required\_number [2]
> 
> > > Start another node
> 
> > > clint

--

---

<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, 3:02am UTC](https://discuss.elastic.co/t/need-help-in-recovering-indices/9860/6 "2017-07-06T03:02:28Z")

</div>


