# Elasticsearch 1.2 Delete and Reinstall

**URL:** <https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036>\
**Category:** Elasticsearch\
**Created:** [June 11, 2014, 7:51am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036 "2014-06-11T07:51:07Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![seja12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seja12/32/115567_2.png) [@seja12](https://discuss.elastic.co/u/seja12)\
**Post date:** [June 11, 2014, 7:51am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/1 "2014-06-11T07:51:07Z")

</div>

I recently upgraded to elasticsearch 1.2.1 and have since seen most of my  
scripts stop working. Nothing seems to work properly and I think I may have  
messed up during the upgrade. How can I properly delete elasticsearch and  
all associated data so I can reinstall it from scratch (all data, indices,  
etc removed).

--  
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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [June 11, 2014, 4:41pm UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/2 "2014-06-11T16:41:07Z")

</div>

Regarding your problem, are you perhaps running into the fact that dynamic  
scripts are now disabled by default since 1.2?

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

In terms of deleting the existing version, it all depends on how you  
installed Elasticsearch. If you did not override the defaults for the  
various directories, you can just delete the directory.

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

--  
Ivan

On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:

> I recently upgraded to elasticsearch 1.2.1 and have since seen most of my  
> scripts stop working. Nothing seems to work properly and I think I may have  
> messed up during the upgrade. How can I properly delete elasticsearch and  
> all associated data so I can reinstall it from scratch (all data, indices,  
> etc removed).
> 
> --  
> 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![seja12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seja12/32/115567_2.png) [@seja12](https://discuss.elastic.co/u/seja12)\
**Post date:** [June 12, 2014, 5:42am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/3 "2014-06-12T05:42:32Z")

</div>

I tried deleting the directories an reinstalling but somehow it keeps  
loading in my old environment even when I try to rm -rf the directories  
after shutting down the server? Where is elasticsearch hiding these files?

On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> Regarding your problem, are you perhaps running into the fact that dynamic  
> scripts are now disabled by default since 1.2?
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> 
> In terms of deleting the existing version, it all depends on how you  
> installed Elasticsearch. If you did not override the defaults for the  
> various directories, you can just delete the directory.
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> 
> --  
> Ivan
> 
> On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> 
> > I recently upgraded to elasticsearch 1.2.1 and have since seen most of my  
> > scripts stop working. Nothing seems to work properly and I think I may have  
> > messed up during the upgrade. How can I properly delete elasticsearch and  
> > all associated data so I can reinstall it from scratch (all data, indices,  
> > etc removed).
> > 
> > --  
> > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAPrW288%2BSqpFOu5\_BNu07-W9yfH1r2UjmTAT%3DWch63OikA7rcA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW288%2BSqpFOu5_BNu07-W9yfH1r2UjmTAT%3DWch63OikA7rcA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![seja12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seja12/32/115567_2.png) [@seja12](https://discuss.elastic.co/u/seja12)\
**Post date:** [June 12, 2014, 6:00am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/4 "2014-06-12T06:00:01Z")

</div>

I should add that I want to do a 100% clean install it keeps trying to  
initiate a recovery which is creating problems.

On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:

> I tried deleting the directories an reinstalling but somehow it keeps  
> loading in my old environment even when I try to rm -rf the directories  
> after shutting down the server? Where is elasticsearch hiding these files?
> 
> On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:
> 
> > Regarding your problem, are you perhaps running into the fact that  
> > dynamic scripts are now disabled by default since 1.2?
> > 
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > 
> > In terms of deleting the existing version, it all depends on how you  
> > installed Elasticsearch. If you did not override the defaults for the  
> > various directories, you can just delete the directory.
> > 
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > 
> > --  
> > Ivan
> > 
> > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > 
> > > I recently upgraded to elasticsearch 1.2.1 and have since seen most of  
> > > my scripts stop working. Nothing seems to work properly and I think I may  
> > > have messed up during the upgrade. How can I properly delete elasticsearch  
> > > and all associated data so I can reinstall it from scratch (all data,  
> > > indices, etc removed).
> > > 
> > > --  
> > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [June 12, 2014, 6:04am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/5 "2014-06-12T06:04:23Z")

</div>

Is it a single node cluster?

Howe are you installing things; deb, rpm, zip?  
How are you uninstalling it?  
Exact commands for the above will be helpful 🙂

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:

> I should add that I want to do a 100% clean install it keeps trying to  
> initiate a recovery which is creating problems.
> 
> On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> 
> > I tried deleting the directories an reinstalling but somehow it keeps  
> > loading in my old environment even when I try to rm -rf the directories  
> > after shutting down the server? Where is elasticsearch hiding these files?
> > 
> > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:
> > 
> > > Regarding your problem, are you perhaps running into the fact that  
> > > dynamic scripts are now disabled by default since 1.2?
> > > 
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > 
> > > In terms of deleting the existing version, it all depends on how you  
> > > installed Elasticsearch. If you did not override the defaults for the  
> > > various directories, you can just delete the directory.
> > > 
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > 
> > > --  
> > > Ivan
> > > 
> > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > 
> > > > I recently upgraded to elasticsearch 1.2.1 and have since seen most of  
> > > > my scripts stop working. Nothing seems to work properly and I think I may  
> > > > have messed up during the upgrade. How can I properly delete elasticsearch  
> > > > and all associated data so I can reinstall it from scratch (all data,  
> > > > indices, etc removed).
> > > > 
> > > > --  
> > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > .  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![seja12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seja12/32/115567_2.png) [@seja12](https://discuss.elastic.co/u/seja12)\
**Post date:** [June 12, 2014, 6:09am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/6 "2014-06-12T06:09:26Z")

</div>

I originally installed it with:

cd ~  
wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz)  
-O elasticsearch.tar.gz

tar -xf elasticsearch.tar.gz  
rm elasticsearch.tar.gz  
mv elasticsearch-\* elasticsearch  
sudo mv elasticsearch /usr/local/share

curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master)  
| tar -xz  
mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
rm -Rf _servicewrapper_  
sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
sudo /etc/init.d/elasticsearch start

I then deleted all of these directories using rm -rf as specified in past  
messages. I then reinstalled it using an RPM using:

rpm -Uvh elasticsearch-1.2.1.noarch.rpm

It seems to me that there must be some hidden place where it is storing all  
of the settings. Thanks!

On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
wrote:

> Is it a single node cluster?
> 
> Howe are you installing things; deb, rpm, zip?  
> How are you uninstalling it?  
> Exact commands for the above will be helpful 🙂
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> 
> > I should add that I want to do a 100% clean install it keeps trying to  
> > initiate a recovery which is creating problems.
> > 
> > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > wrote:
> > 
> > > I tried deleting the directories an reinstalling but somehow it keeps  
> > > loading in my old environment even when I try to rm -rf the directories  
> > > after shutting down the server? Where is elasticsearch hiding these files?
> > > 
> > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:
> > > 
> > > > Regarding your problem, are you perhaps running into the fact that  
> > > > dynamic scripts are now disabled by default since 1.2?
> > > > 
> > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > 
> > > > In terms of deleting the existing version, it all depends on how you  
> > > > installed Elasticsearch. If you did not override the defaults for the  
> > > > various directories, you can just delete the directory.
> > > > 
> > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > 
> > > > --  
> > > > Ivan
> > > > 
> > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > 
> > > > > I recently upgraded to elasticsearch 1.2.1 and have since seen most of  
> > > > > my scripts stop working. Nothing seems to work properly and I think I may  
> > > > > have messed up during the upgrade. How can I properly delete elasticsearch  
> > > > > and all associated data so I can reinstall it from scratch (all data,  
> > > > > indices, etc removed).
> > > > > 
> > > > > --  
> > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > .  
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit  
> > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > .  
> > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAPrW28\_MfNsfCBK4j6D%3DcoWnurB%3DuDVz1a9tZKGTQiJ\_\_r7a7A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_MfNsfCBK4j6D%3DcoWnurB%3DuDVz1a9tZKGTQiJ__r7a7A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![seja12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seja12/32/115567_2.png) [@seja12](https://discuss.elastic.co/u/seja12)\
**Post date:** [June 12, 2014, 6:10am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/7 "2014-06-12T06:10:12Z")

</div>

I should add that I have also tried uninstalling the RPM and reinstalling  
it. I used rpm -e elasticsearch-1.2.1 for the uninstall.

On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:

> I originally installed it with:
> 
> cd ~  
> wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> 
> tar -xf elasticsearch.tar.gz  
> rm elasticsearch.tar.gz  
> mv elasticsearch-\* elasticsearch  
> sudo mv elasticsearch /usr/local/share
> 
> curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> 
> mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> rm -Rf _servicewrapper_  
> sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> sudo /etc/init.d/elasticsearch start
> 
> I then deleted all of these directories using rm -rf as specified in past  
> messages. I then reinstalled it using an RPM using:
> 
> rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> 
> It seems to me that there must be some hidden place where it is storing  
> all of the settings. Thanks!
> 
> On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> wrote:
> 
> > Is it a single node cluster?
> > 
> > Howe are you installing things; deb, rpm, zip?  
> > How are you uninstalling it?  
> > Exact commands for the above will be helpful 🙂
> > 
> > Regards,  
> > Mark Walkom
> > 
> > Infrastructure Engineer  
> > Campaign Monitor  
> > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > 
> > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > 
> > > I should add that I want to do a 100% clean install it keeps trying to  
> > > initiate a recovery which is creating problems.
> > > 
> > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > wrote:
> > > 
> > > > I tried deleting the directories an reinstalling but somehow it keeps  
> > > > loading in my old environment even when I try to rm -rf the directories  
> > > > after shutting down the server? Where is elasticsearch hiding these files?
> > > > 
> > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:
> > > > 
> > > > > Regarding your problem, are you perhaps running into the fact that  
> > > > > dynamic scripts are now disabled by default since 1.2?
> > > > > 
> > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > 
> > > > > In terms of deleting the existing version, it all depends on how you  
> > > > > installed Elasticsearch. If you did not override the defaults for the  
> > > > > various directories, you can just delete the directory.
> > > > > 
> > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > 
> > > > > --  
> > > > > Ivan
> > > > > 
> > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > 
> > > > > > I recently upgraded to elasticsearch 1.2.1 and have since seen most  
> > > > > > of my scripts stop working. Nothing seems to work properly and I think I  
> > > > > > may have messed up during the upgrade. How can I properly delete  
> > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > (all data, indices, etc removed).
> > > > > > 
> > > > > > --  
> > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > .  
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to a topic in the  
> > > > > Google Groups "elasticsearch" group.  
> > > > > To unsubscribe from this topic, visit  
> > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > .  
> > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > > 
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [June 12, 2014, 6:12am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/8 "2014-06-12T06:12:45Z")

</div>

You may have a data directory under /usr/local/share/elasticsearch, or  
under /usr/share/elasticsearch, if it's there and you don't want the data,  
delete them.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 12 June 2014 16:10, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:

> I should add that I have also tried uninstalling the RPM and reinstalling  
> it. I used rpm -e elasticsearch-1.2.1 for the uninstall.
> 
> On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> 
> > I originally installed it with:
> > 
> > cd ~  
> > wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> > 
> > tar -xf elasticsearch.tar.gz  
> > rm elasticsearch.tar.gz  
> > mv elasticsearch-\* elasticsearch  
> > sudo mv elasticsearch /usr/local/share
> > 
> > curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> > 
> > mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> > rm -Rf _servicewrapper_  
> > sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> > sudo /etc/init.d/elasticsearch start
> > 
> > I then deleted all of these directories using rm -rf as specified in past  
> > messages. I then reinstalled it using an RPM using:
> > 
> > rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> > 
> > It seems to me that there must be some hidden place where it is storing  
> > all of the settings. Thanks!
> > 
> > On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > wrote:
> > 
> > > Is it a single node cluster?
> > > 
> > > Howe are you installing things; deb, rpm, zip?  
> > > How are you uninstalling it?  
> > > Exact commands for the above will be helpful 🙂
> > > 
> > > Regards,  
> > > Mark Walkom
> > > 
> > > Infrastructure Engineer  
> > > Campaign Monitor  
> > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > 
> > > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > 
> > > > I should add that I want to do a 100% clean install it keeps trying  
> > > > to initiate a recovery which is creating problems.
> > > > 
> > > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > wrote:
> > > > 
> > > > > I tried deleting the directories an reinstalling but somehow it keeps  
> > > > > loading in my old environment even when I try to rm -rf the directories  
> > > > > after shutting down the server? Where is elasticsearch hiding these files?
> > > > > 
> > > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:
> > > > > 
> > > > > > Regarding your problem, are you perhaps running into the fact that  
> > > > > > dynamic scripts are now disabled by default since 1.2?
> > > > > > 
> > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > > 
> > > > > > In terms of deleting the existing version, it all depends on how you  
> > > > > > installed Elasticsearch. If you did not override the defaults for the  
> > > > > > various directories, you can just delete the directory.
> > > > > > 
> > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > > 
> > > > > > --  
> > > > > > Ivan
> > > > > > 
> > > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > 
> > > > > > > I recently upgraded to elasticsearch 1.2.1 and have since seen most  
> > > > > > > of my scripts stop working. Nothing seems to work properly and I think I  
> > > > > > > may have messed up during the upgrade. How can I properly delete  
> > > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > > (all data, indices, etc removed).
> > > > > > > 
> > > > > > > --  
> > > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > .  
> > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > 
> > > > > > --  
> > > > > > You received this message because you are subscribed to a topic in  
> > > > > > the Google Groups "elasticsearch" group.  
> > > > > > To unsubscribe from this topic, visit  
> > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > .  
> > > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > .
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> 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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![seja12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seja12/32/115567_2.png) [@seja12](https://discuss.elastic.co/u/seja12)\
**Post date:** [June 12, 2014, 6:24am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/9 "2014-06-12T06:24:57Z")

</div>

Neither have data directories. I also deleted all files I could find  
located at /var/lib/elasticsearch including  
/var/lib/elasticsearch/elasticsearch/nodes/0/indices, /etc/elasticsearch,  
their parent directories and every other directory I could find. I then  
again reinstalled and the data again appears at  
/var/lib/elasticsearch/elasticsearch/nodes/0/indices.

[root@254020-web1 home]# ls /usr/local/share/elasticsearch

ls: /usr/local/share/elasticsearch: No such file or directory

[root@254020-web1 home]# ls /usr/share/elasticsearch/

LICENSE.txt NOTICE.txt README.textile bin lib plugins

On Thu, Jun 12, 2014 at 9:12 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
wrote:

> You may have a data directory under /usr/local/share/elasticsearch, or  
> under /usr/share/elasticsearch, if it's there and you don't want the data,  
> delete them.
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 12 June 2014 16:10, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> 
> > I should add that I have also tried uninstalling the RPM and reinstalling  
> > it. I used rpm -e elasticsearch-1.2.1 for the uninstall.
> > 
> > On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > wrote:
> > 
> > > I originally installed it with:
> > > 
> > > cd ~  
> > > wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> > > 
> > > tar -xf elasticsearch.tar.gz  
> > > rm elasticsearch.tar.gz  
> > > mv elasticsearch-\* elasticsearch  
> > > sudo mv elasticsearch /usr/local/share
> > > 
> > > curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> > > 
> > > mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> > > rm -Rf _servicewrapper_  
> > > sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> > > sudo /etc/init.d/elasticsearch start
> > > 
> > > I then deleted all of these directories using rm -rf as specified in  
> > > past messages. I then reinstalled it using an RPM using:
> > > 
> > > rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> > > 
> > > It seems to me that there must be some hidden place where it is storing  
> > > all of the settings. Thanks!
> > > 
> > > On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > wrote:
> > > 
> > > > Is it a single node cluster?
> > > > 
> > > > Howe are you installing things; deb, rpm, zip?  
> > > > How are you uninstalling it?  
> > > > Exact commands for the above will be helpful 🙂
> > > > 
> > > > Regards,  
> > > > Mark Walkom
> > > > 
> > > > Infrastructure Engineer  
> > > > Campaign Monitor  
> > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > 
> > > > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > 
> > > > > I should add that I want to do a 100% clean install it keeps trying  
> > > > > to initiate a recovery which is creating problems.
> > > > > 
> > > > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > wrote:
> > > > > 
> > > > > > I tried deleting the directories an reinstalling but somehow it keeps  
> > > > > > loading in my old environment even when I try to rm -rf the directories  
> > > > > > after shutting down the server? Where is elasticsearch hiding these files?
> > > > > > 
> > > > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:
> > > > > > 
> > > > > > > Regarding your problem, are you perhaps running into the fact that  
> > > > > > > dynamic scripts are now disabled by default since 1.2?
> > > > > > > 
> > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > > > 
> > > > > > > In terms of deleting the existing version, it all depends on how you  
> > > > > > > installed Elasticsearch. If you did not override the defaults for the  
> > > > > > > various directories, you can just delete the directory.
> > > > > > > 
> > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > > > 
> > > > > > > --  
> > > > > > > Ivan
> > > > > > > 
> > > > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > 
> > > > > > > > I recently upgraded to elasticsearch 1.2.1 and have since seen most  
> > > > > > > > of my scripts stop working. Nothing seems to work properly and I think I  
> > > > > > > > may have messed up during the upgrade. How can I properly delete  
> > > > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > > > (all data, indices, etc removed).
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > > .  
> > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > 
> > > > > > > --  
> > > > > > > You received this message because you are subscribed to a topic in  
> > > > > > > the Google Groups "elasticsearch" group.  
> > > > > > > To unsubscribe from this topic, visit  
> > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > .  
> > > > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > .
> > > > > > > 
> > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > > 
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit  
> > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > .  
> > > > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > 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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [June 12, 2014, 6:27am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/10 "2014-06-12T06:27:26Z")

</div>

Just to clarify, is it just the directory that appears again at  
/var/lib/elasticsearch/elasticsearch/nodes/0/indices, or are you saying the  
indexed data in the shards is reappearing as well?

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 12 June 2014 16:24, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:

> Neither have data directories. I also deleted all files I could find  
> located at /var/lib/elasticsearch including  
> /var/lib/elasticsearch/elasticsearch/nodes/0/indices, /etc/elasticsearch,  
> their parent directories and every other directory I could find. I then  
> again reinstalled and the data again appears at  
> /var/lib/elasticsearch/elasticsearch/nodes/0/indices.
> 
> [root@254020-web1 home]# ls /usr/local/share/elasticsearch
> 
> ls: /usr/local/share/elasticsearch: No such file or directory
> 
> [root@254020-web1 home]# ls /usr/share/elasticsearch/
> 
> LICENSE.txt NOTICE.txt README.textile bin lib plugins
> 
> On Thu, Jun 12, 2014 at 9:12 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> wrote:
> 
> > You may have a data directory under /usr/local/share/elasticsearch, or  
> > under /usr/share/elasticsearch, if it's there and you don't want the data,  
> > delete them.
> > 
> > Regards,  
> > Mark Walkom
> > 
> > Infrastructure Engineer  
> > Campaign Monitor  
> > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > 
> > On 12 June 2014 16:10, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > 
> > > I should add that I have also tried uninstalling the RPM and  
> > > reinstalling it. I used rpm -e elasticsearch-1.2.1 for the uninstall.
> > > 
> > > On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > wrote:
> > > 
> > > > I originally installed it with:
> > > > 
> > > > cd ~  
> > > > wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> > > > 
> > > > tar -xf elasticsearch.tar.gz  
> > > > rm elasticsearch.tar.gz  
> > > > mv elasticsearch-\* elasticsearch  
> > > > sudo mv elasticsearch /usr/local/share
> > > > 
> > > > curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> > > > 
> > > > mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> > > > rm -Rf _servicewrapper_  
> > > > sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> > > > sudo /etc/init.d/elasticsearch start
> > > > 
> > > > I then deleted all of these directories using rm -rf as specified in  
> > > > past messages. I then reinstalled it using an RPM using:
> > > > 
> > > > rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> > > > 
> > > > It seems to me that there must be some hidden place where it is storing  
> > > > all of the settings. Thanks!
> > > > 
> > > > On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom \<[markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)
> > > > 
> > > > > wrote:
> > > > 
> > > > > Is it a single node cluster?
> > > > > 
> > > > > Howe are you installing things; deb, rpm, zip?  
> > > > > How are you uninstalling it?  
> > > > > Exact commands for the above will be helpful 🙂
> > > > > 
> > > > > Regards,  
> > > > > Mark Walkom
> > > > > 
> > > > > Infrastructure Engineer  
> > > > > Campaign Monitor  
> > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > 
> > > > > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > 
> > > > > > I should add that I want to do a 100% clean install it keeps trying  
> > > > > > to initiate a recovery which is creating problems.
> > > > > > 
> > > > > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > wrote:
> > > > > > 
> > > > > > > I tried deleting the directories an reinstalling but somehow it  
> > > > > > > keeps loading in my old environment even when I try to rm -rf the  
> > > > > > > directories after shutting down the server? Where is elasticsearch hiding  
> > > > > > > these files?
> > > > > > > 
> > > > > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com)  
> > > > > > > wrote:
> > > > > > > 
> > > > > > > > Regarding your problem, are you perhaps running into the fact that  
> > > > > > > > dynamic scripts are now disabled by default since 1.2?
> > > > > > > > 
> > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > > > > 
> > > > > > > > In terms of deleting the existing version, it all depends on how  
> > > > > > > > you installed Elasticsearch. If you did not override the defaults for the  
> > > > > > > > various directories, you can just delete the directory.
> > > > > > > > 
> > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > Ivan
> > > > > > > > 
> > > > > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > 
> > > > > > > > > I recently upgraded to elasticsearch 1.2.1 and have since seen  
> > > > > > > > > most of my scripts stop working. Nothing seems to work properly and I think  
> > > > > > > > > I may have messed up during the upgrade. How can I properly delete  
> > > > > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > > > > (all data, indices, etc removed).
> > > > > > > > > 
> > > > > > > > > --  
> > > > > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > .  
> > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > You received this message because you are subscribed to a topic in  
> > > > > > > > the Google Groups "elasticsearch" group.  
> > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > .  
> > > > > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > .
> > > > > > > > 
> > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > 
> > > > > > --  
> > > > > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > .
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to a topic in the  
> > > > > Google Groups "elasticsearch" group.  
> > > > > To unsubscribe from this topic, visit  
> > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > .  
> > > > > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > > 
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > 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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > To unsubscribe from this group and all its topics, 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/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> 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/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![seja12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seja12/32/115567_2.png) [@seja12](https://discuss.elastic.co/u/seja12)\
**Post date:** [June 12, 2014, 6:33am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/11 "2014-06-12T06:33:01Z")

</div>

I don't see data, but I see it searching for the shards in the log files.  
Other functionality regarding the JDBC rivers don't seem to be working  
either in 1.2.1, but its extremely hard to debug those issues when my log  
files are constantly being filled with the following every minute or so.

[root@254020-web1 home]# tail /var/log/elasticsearch/elasticsearch.log  
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)  
at  
sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)  
at java.nio.channels.FileChannel.open(FileChannel.java:287)  
at java.nio.channels.FileChannel.open(FileChannel.java:334)  
at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)  
at  
org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)  
at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)  
at  
org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)  
... 3 more  
[2014-06-12 02:30:01,513][WARN][cluster.action.shard] [Metalhead]  
[blurays][3] sending failed shard for [blurays][3],  
node[UqeMw\_y7RN-FQ3tuBNEdng], [R], s[INITIALIZING], indexUUID  
[z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
[RecoveryFailedException[[blurays][3]: Recovery failed from  
[Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
192.168.100.218:9301]] into [Metalhead][UqeMw\_y7RN-FQ3tuBNEdng][  
[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
files with total size of [71b]]; nested:  
NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
]]  
[root@254020-web1 home]#

On Thu, Jun 12, 2014 at 9:27 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
wrote:

> Just to clarify, is it just the directory that appears again at  
> /var/lib/elasticsearch/elasticsearch/nodes/0/indices, or are you saying  
> the indexed data in the shards is reappearing as well?
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 12 June 2014 16:24, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> 
> > Neither have data directories. I also deleted all files I could find  
> > located at /var/lib/elasticsearch including  
> > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, /etc/elasticsearch,  
> > their parent directories and every other directory I could find. I then  
> > again reinstalled and the data again appears at  
> > /var/lib/elasticsearch/elasticsearch/nodes/0/indices.
> > 
> > [root@254020-web1 home]# ls /usr/local/share/elasticsearch
> > 
> > ls: /usr/local/share/elasticsearch: No such file or directory
> > 
> > [root@254020-web1 home]# ls /usr/share/elasticsearch/
> > 
> > LICENSE.txt NOTICE.txt README.textile bin lib plugins
> > 
> > On Thu, Jun 12, 2014 at 9:12 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > wrote:
> > 
> > > You may have a data directory under /usr/local/share/elasticsearch, or  
> > > under /usr/share/elasticsearch, if it's there and you don't want the data,  
> > > delete them.
> > > 
> > > Regards,  
> > > Mark Walkom
> > > 
> > > Infrastructure Engineer  
> > > Campaign Monitor  
> > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > 
> > > On 12 June 2014 16:10, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > 
> > > > I should add that I have also tried uninstalling the RPM and  
> > > > reinstalling it. I used rpm -e elasticsearch-1.2.1 for the uninstall.
> > > > 
> > > > On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > wrote:
> > > > 
> > > > > I originally installed it with:
> > > > > 
> > > > > cd ~  
> > > > > wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> > > > > 
> > > > > tar -xf elasticsearch.tar.gz  
> > > > > rm elasticsearch.tar.gz  
> > > > > mv elasticsearch-\* elasticsearch  
> > > > > sudo mv elasticsearch /usr/local/share
> > > > > 
> > > > > curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> > > > > 
> > > > > mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> > > > > rm -Rf _servicewrapper_  
> > > > > sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> > > > > sudo /etc/init.d/elasticsearch start
> > > > > 
> > > > > I then deleted all of these directories using rm -rf as specified in  
> > > > > past messages. I then reinstalled it using an RPM using:
> > > > > 
> > > > > rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> > > > > 
> > > > > It seems to me that there must be some hidden place where it is  
> > > > > storing all of the settings. Thanks!
> > > > > 
> > > > > On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom \<  
> > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > 
> > > > > > Is it a single node cluster?
> > > > > > 
> > > > > > Howe are you installing things; deb, rpm, zip?  
> > > > > > How are you uninstalling it?  
> > > > > > Exact commands for the above will be helpful 🙂
> > > > > > 
> > > > > > Regards,  
> > > > > > Mark Walkom
> > > > > > 
> > > > > > Infrastructure Engineer  
> > > > > > Campaign Monitor  
> > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > 
> > > > > > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > 
> > > > > > > I should add that I want to do a 100% clean install it keeps  
> > > > > > > trying to initiate a recovery which is creating problems.
> > > > > > > 
> > > > > > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > > wrote:
> > > > > > > 
> > > > > > > > I tried deleting the directories an reinstalling but somehow it  
> > > > > > > > keeps loading in my old environment even when I try to rm -rf the  
> > > > > > > > directories after shutting down the server? Where is elasticsearch hiding  
> > > > > > > > these files?
> > > > > > > > 
> > > > > > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com)  
> > > > > > > > wrote:
> > > > > > > > 
> > > > > > > > > Regarding your problem, are you perhaps running into the fact that  
> > > > > > > > > dynamic scripts are now disabled by default since 1.2?
> > > > > > > > > 
> > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > > > > > 
> > > > > > > > > In terms of deleting the existing version, it all depends on how  
> > > > > > > > > you installed Elasticsearch. If you did not override the defaults for the  
> > > > > > > > > various directories, you can just delete the directory.
> > > > > > > > > 
> > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > > > > > 
> > > > > > > > > --  
> > > > > > > > > Ivan
> > > > > > > > > 
> > > > > > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > > 
> > > > > > > > > > I recently upgraded to elasticsearch 1.2.1 and have since seen  
> > > > > > > > > > most of my scripts stop working. Nothing seems to work properly and I think  
> > > > > > > > > > I may have messed up during the upgrade. How can I properly delete  
> > > > > > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > > > > > (all data, indices, etc removed).
> > > > > > > > > > 
> > > > > > > > > > --  
> > > > > > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > .  
> > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > 
> > > > > > > > > --  
> > > > > > > > > You received this message because you are subscribed to a topic in  
> > > > > > > > > the Google Groups "elasticsearch" group.  
> > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > .  
> > > > > > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > .
> > > > > > > > > 
> > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > 
> > > > > > > --  
> > > > > > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > .
> > > > > > > 
> > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > 
> > > > > > --  
> > > > > > You received this message because you are subscribed to a topic in  
> > > > > > the Google Groups "elasticsearch" group.  
> > > > > > To unsubscribe from this topic, visit  
> > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > .  
> > > > > > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > .
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > 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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > > To unsubscribe from this group and all its topics, 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/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > 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/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [June 12, 2014, 6:36am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/12 "2014-06-12T06:36:18Z")

</div>

Why does it mention this path /home/programs/elasticsearch-1.2.1/  
data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 12 June 2014 16:33, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:

> I don't see data, but I see it searching for the shards in the log files.  
> Other functionality regarding the JDBC rivers don't seem to be working  
> either in 1.2.1, but its extremely hard to debug those issues when my log  
> files are constantly being filled with the following every minute or so.
> 
> [root@254020-web1 home]# tail /var/log/elasticsearch/elasticsearch.log  
> at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)  
> at  
> sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)  
> at java.nio.channels.FileChannel.open(FileChannel.java:287)  
> at java.nio.channels.FileChannel.open(FileChannel.java:334)  
> at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)  
> at  
> org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)  
> at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)  
> at  
> org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)  
> ... 3 more  
> [2014-06-12 02:30:01,513][WARN][cluster.action.shard] [Metalhead]  
> [blurays][3] sending failed shard for [blurays][3],  
> node[UqeMw\_y7RN-FQ3tuBNEdng], [R], s[INITIALIZING], indexUUID  
> [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> [RecoveryFailedException[[blurays][3]: Recovery failed from  
> [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> 192.168.100.218:9301]] into [Metalhead][UqeMw\_y7RN-FQ3tuBNEdng][  
> [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> files with total size of [71b]]; nested:  
> NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> ]]  
> [root@254020-web1 home]#
> 
> On Thu, Jun 12, 2014 at 9:27 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> wrote:
> 
> > Just to clarify, is it just the directory that appears again at  
> > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, or are you saying  
> > the indexed data in the shards is reappearing as well?
> > 
> > Regards,  
> > Mark Walkom
> > 
> > Infrastructure Engineer  
> > Campaign Monitor  
> > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > 
> > On 12 June 2014 16:24, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > 
> > > Neither have data directories. I also deleted all files I could find  
> > > located at /var/lib/elasticsearch including  
> > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, /etc/elasticsearch,  
> > > their parent directories and every other directory I could find. I then  
> > > again reinstalled and the data again appears at  
> > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices.
> > > 
> > > [root@254020-web1 home]# ls /usr/local/share/elasticsearch
> > > 
> > > ls: /usr/local/share/elasticsearch: No such file or directory
> > > 
> > > [root@254020-web1 home]# ls /usr/share/elasticsearch/
> > > 
> > > LICENSE.txt NOTICE.txt README.textile bin lib plugins
> > > 
> > > On Thu, Jun 12, 2014 at 9:12 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > wrote:
> > > 
> > > > You may have a data directory under /usr/local/share/elasticsearch, or  
> > > > under /usr/share/elasticsearch, if it's there and you don't want the data,  
> > > > delete them.
> > > > 
> > > > Regards,  
> > > > Mark Walkom
> > > > 
> > > > Infrastructure Engineer  
> > > > Campaign Monitor  
> > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > 
> > > > On 12 June 2014 16:10, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > 
> > > > > I should add that I have also tried uninstalling the RPM and  
> > > > > reinstalling it. I used rpm -e elasticsearch-1.2.1 for the uninstall.
> > > > > 
> > > > > On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > wrote:
> > > > > 
> > > > > > I originally installed it with:
> > > > > > 
> > > > > > cd ~  
> > > > > > wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> > > > > > 
> > > > > > tar -xf elasticsearch.tar.gz  
> > > > > > rm elasticsearch.tar.gz  
> > > > > > mv elasticsearch-\* elasticsearch  
> > > > > > sudo mv elasticsearch /usr/local/share
> > > > > > 
> > > > > > curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> > > > > > 
> > > > > > mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> > > > > > rm -Rf _servicewrapper_  
> > > > > > sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> > > > > > sudo /etc/init.d/elasticsearch start
> > > > > > 
> > > > > > I then deleted all of these directories using rm -rf as specified in  
> > > > > > past messages. I then reinstalled it using an RPM using:
> > > > > > 
> > > > > > rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> > > > > > 
> > > > > > It seems to me that there must be some hidden place where it is  
> > > > > > storing all of the settings. Thanks!
> > > > > > 
> > > > > > On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom \<  
> > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > 
> > > > > > > Is it a single node cluster?
> > > > > > > 
> > > > > > > Howe are you installing things; deb, rpm, zip?  
> > > > > > > How are you uninstalling it?  
> > > > > > > Exact commands for the above will be helpful 🙂
> > > > > > > 
> > > > > > > Regards,  
> > > > > > > Mark Walkom
> > > > > > > 
> > > > > > > Infrastructure Engineer  
> > > > > > > Campaign Monitor  
> > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > 
> > > > > > > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > 
> > > > > > > > I should add that I want to do a 100% clean install it keeps  
> > > > > > > > trying to initiate a recovery which is creating problems.
> > > > > > > > 
> > > > > > > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > > > wrote:
> > > > > > > > 
> > > > > > > > > I tried deleting the directories an reinstalling but somehow it  
> > > > > > > > > keeps loading in my old environment even when I try to rm -rf the  
> > > > > > > > > directories after shutting down the server? Where is elasticsearch hiding  
> > > > > > > > > these files?
> > > > > > > > > 
> > > > > > > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com)  
> > > > > > > > > wrote:
> > > > > > > > > 
> > > > > > > > > > Regarding your problem, are you perhaps running into the fact  
> > > > > > > > > > that dynamic scripts are now disabled by default since 1.2?
> > > > > > > > > > 
> > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > > > > > > 
> > > > > > > > > > In terms of deleting the existing version, it all depends on how  
> > > > > > > > > > you installed Elasticsearch. If you did not override the defaults for the  
> > > > > > > > > > various directories, you can just delete the directory.
> > > > > > > > > > 
> > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > > > > > > 
> > > > > > > > > > --  
> > > > > > > > > > Ivan
> > > > > > > > > > 
> > > > > > > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > > > 
> > > > > > > > > > > I recently upgraded to elasticsearch 1.2.1 and have since seen  
> > > > > > > > > > > most of my scripts stop working. Nothing seems to work properly and I think  
> > > > > > > > > > > I may have messed up during the upgrade. How can I properly delete  
> > > > > > > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > > > > > > (all data, indices, etc removed).
> > > > > > > > > > > 
> > > > > > > > > > > --  
> > > > > > > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > .  
> > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > 
> > > > > > > > > > --  
> > > > > > > > > > You received this message because you are subscribed to a topic  
> > > > > > > > > > in the Google Groups "elasticsearch" group.  
> > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > .  
> > > > > > > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > .
> > > > > > > > > > 
> > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > .
> > > > > > > > 
> > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > 
> > > > > > > --  
> > > > > > > You received this message because you are subscribed to a topic in  
> > > > > > > the Google Groups "elasticsearch" group.  
> > > > > > > To unsubscribe from this topic, visit  
> > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > .  
> > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > .
> > > > > > > 
> > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > 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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > > 
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit  
> > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > .  
> > > > To unsubscribe from this group and all its topics, 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/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > 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/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > To unsubscribe from this group and all its topics, 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/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> 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/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![seja12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seja12/32/115567_2.png) [@seja12](https://discuss.elastic.co/u/seja12)\
**Post date:** [June 12, 2014, 6:49am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/13 "2014-06-12T06:49:34Z")

</div>

That directory is being created automatically every time I start  
elasticsearch.

[root@254020-web1 programs]# service elasticsearch stop

Stopping elasticsearch: [OK]

[root@254020-web1 programs]# ls

elasticsearch-1.2.1

[root@254020-web1 programs]# rm -rf \*

[root@254020-web1 programs]# ls

[root@254020-web1 programs]# service elasticsearch start

Starting elasticsearch: [OK]

[root@254020-web1 programs]# ls

[root@254020-web1 programs]# tail /var/log/elasticsearch/elasticsearch.log

at  
sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)

at java.nio.channels.FileChannel.open(FileChannel.java:287)

at java.nio.channels.FileChannel.open(FileChannel.java:334)

at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)

at  
org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)

at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)

at  
org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)

... 3 more

[2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
Faustus] [blurays][2] sending failed shard for [blurays][2],  
node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
[z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
[RecoveryFailedException[[blurays][2]: Recovery failed from  
[Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
nested: RecoveryEngineException[[blurays][2] Phase[1] Execution failed];  
nested: RecoverFilesRecoveryException[[blurays][2] Failed to transfer [4]  
files with total size of [6.6kb]]; nested:  
NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/2/index/\_  
0.si]; ]]

[2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
Faustus] [blurays][3] sending failed shard for [blurays][3],  
node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
[z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
[RecoveryFailedException[[blurays][3]: Recovery failed from  
[Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
files with total size of [71b]]; nested:  
NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
]]

[root@254020-web1 programs]# ls

elasticsearch-1.2.1

[root@254020-web1 programs]#

On Thu, Jun 12, 2014 at 9:36 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
wrote:

> Why does it mention this path /home/programs/elasticsearch-1.2.1/  
> data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 12 June 2014 16:33, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> 
> > I don't see data, but I see it searching for the shards in the log files.  
> > Other functionality regarding the JDBC rivers don't seem to be working  
> > either in 1.2.1, but its extremely hard to debug those issues when my log  
> > files are constantly being filled with the following every minute or so.
> > 
> > [root@254020-web1 home]# tail /var/log/elasticsearch/elasticsearch.log  
> > at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)  
> > at  
> > sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)  
> > at java.nio.channels.FileChannel.open(FileChannel.java:287)  
> > at java.nio.channels.FileChannel.open(FileChannel.java:334)  
> > at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)  
> > at  
> > org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)  
> > at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)  
> > at  
> > org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)  
> > ... 3 more  
> > [2014-06-12 02:30:01,513][WARN][cluster.action.shard] [Metalhead]  
> > [blurays][3] sending failed shard for [blurays][3],  
> > node[UqeMw\_y7RN-FQ3tuBNEdng], [R], s[INITIALIZING], indexUUID  
> > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > [RecoveryFailedException[[blurays][3]: Recovery failed from  
> > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > 192.168.100.218:9301]] into [Metalhead][UqeMw\_y7RN-FQ3tuBNEdng][  
> > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> > nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> > files with total size of [71b]]; nested:  
> > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> > ]]  
> > [root@254020-web1 home]#
> > 
> > On Thu, Jun 12, 2014 at 9:27 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > wrote:
> > 
> > > Just to clarify, is it just the directory that appears again at  
> > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, or are you saying  
> > > the indexed data in the shards is reappearing as well?
> > > 
> > > Regards,  
> > > Mark Walkom
> > > 
> > > Infrastructure Engineer  
> > > Campaign Monitor  
> > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > 
> > > On 12 June 2014 16:24, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > 
> > > > Neither have data directories. I also deleted all files I could find  
> > > > located at /var/lib/elasticsearch including  
> > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, /etc/elasticsearch,  
> > > > their parent directories and every other directory I could find. I then  
> > > > again reinstalled and the data again appears at  
> > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices.
> > > > 
> > > > [root@254020-web1 home]# ls /usr/local/share/elasticsearch
> > > > 
> > > > ls: /usr/local/share/elasticsearch: No such file or directory
> > > > 
> > > > [root@254020-web1 home]# ls /usr/share/elasticsearch/
> > > > 
> > > > LICENSE.txt NOTICE.txt README.textile bin lib plugins
> > > > 
> > > > On Thu, Jun 12, 2014 at 9:12 AM, Mark Walkom \<[markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)
> > > > 
> > > > > wrote:
> > > > 
> > > > > You may have a data directory under /usr/local/share/elasticsearch, or  
> > > > > under /usr/share/elasticsearch, if it's there and you don't want the data,  
> > > > > delete them.
> > > > > 
> > > > > Regards,  
> > > > > Mark Walkom
> > > > > 
> > > > > Infrastructure Engineer  
> > > > > Campaign Monitor  
> > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > 
> > > > > On 12 June 2014 16:10, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > 
> > > > > > I should add that I have also tried uninstalling the RPM and  
> > > > > > reinstalling it. I used rpm -e elasticsearch-1.2.1 for the uninstall.
> > > > > > 
> > > > > > On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > wrote:
> > > > > > 
> > > > > > > I originally installed it with:
> > > > > > > 
> > > > > > > cd ~  
> > > > > > > wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> > > > > > > 
> > > > > > > tar -xf elasticsearch.tar.gz  
> > > > > > > rm elasticsearch.tar.gz  
> > > > > > > mv elasticsearch-\* elasticsearch  
> > > > > > > sudo mv elasticsearch /usr/local/share
> > > > > > > 
> > > > > > > curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> > > > > > > 
> > > > > > > mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> > > > > > > rm -Rf _servicewrapper_  
> > > > > > > sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> > > > > > > sudo /etc/init.d/elasticsearch start
> > > > > > > 
> > > > > > > I then deleted all of these directories using rm -rf as specified in  
> > > > > > > past messages. I then reinstalled it using an RPM using:
> > > > > > > 
> > > > > > > rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> > > > > > > 
> > > > > > > It seems to me that there must be some hidden place where it is  
> > > > > > > storing all of the settings. Thanks!
> > > > > > > 
> > > > > > > On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom \<  
> > > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > > 
> > > > > > > > Is it a single node cluster?
> > > > > > > > 
> > > > > > > > Howe are you installing things; deb, rpm, zip?  
> > > > > > > > How are you uninstalling it?  
> > > > > > > > Exact commands for the above will be helpful 🙂
> > > > > > > > 
> > > > > > > > Regards,  
> > > > > > > > Mark Walkom
> > > > > > > > 
> > > > > > > > Infrastructure Engineer  
> > > > > > > > Campaign Monitor  
> > > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > > 
> > > > > > > > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > 
> > > > > > > > > I should add that I want to do a 100% clean install it keeps  
> > > > > > > > > trying to initiate a recovery which is creating problems.
> > > > > > > > > 
> > > > > > > > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser \<[sokser@gmail.com](mailto:sokser@gmail.com)
> > > > > > > > > 
> > > > > > > > > > wrote:
> > > > > > > > > 
> > > > > > > > > > I tried deleting the directories an reinstalling but somehow it  
> > > > > > > > > > keeps loading in my old environment even when I try to rm -rf the  
> > > > > > > > > > directories after shutting down the server? Where is elasticsearch hiding  
> > > > > > > > > > these files?
> > > > > > > > > > 
> > > > > > > > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com)  
> > > > > > > > > > wrote:
> > > > > > > > > > 
> > > > > > > > > > > Regarding your problem, are you perhaps running into the fact  
> > > > > > > > > > > that dynamic scripts are now disabled by default since 1.2?
> > > > > > > > > > > 
> > > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > > > > > > > 
> > > > > > > > > > > In terms of deleting the existing version, it all depends on how  
> > > > > > > > > > > you installed Elasticsearch. If you did not override the defaults for the  
> > > > > > > > > > > various directories, you can just delete the directory.
> > > > > > > > > > > 
> > > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > > > > > > > 
> > > > > > > > > > > --  
> > > > > > > > > > > Ivan
> > > > > > > > > > > 
> > > > > > > > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > I recently upgraded to elasticsearch 1.2.1 and have since seen  
> > > > > > > > > > > > most of my scripts stop working. Nothing seems to work properly and I think  
> > > > > > > > > > > > I may have messed up during the upgrade. How can I properly delete  
> > > > > > > > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > > > > > > > (all data, indices, etc removed).
> > > > > > > > > > > > 
> > > > > > > > > > > > --  
> > > > > > > > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > .  
> > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > 
> > > > > > > > > > > --  
> > > > > > > > > > > You received this message because you are subscribed to a topic  
> > > > > > > > > > > in the Google Groups "elasticsearch" group.  
> > > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > > .  
> > > > > > > > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > .
> > > > > > > > > > > 
> > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > 
> > > > > > > > > --  
> > > > > > > > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > .
> > > > > > > > > 
> > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > You received this message because you are subscribed to a topic in  
> > > > > > > > the Google Groups "elasticsearch" group.  
> > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > .  
> > > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > .
> > > > > > > > 
> > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > 
> > > > > > --  
> > > > > > 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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > .
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to a topic in the  
> > > > > Google Groups "elasticsearch" group.  
> > > > > To unsubscribe from this topic, visit  
> > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > .  
> > > > > To unsubscribe from this group and all its topics, 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/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > > 
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > 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/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > > To unsubscribe from this group and all its topics, 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/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > 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/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [June 12, 2014, 6:51am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/14 "2014-06-12T06:51:20Z")

</div>

Can you put your config in a gist/pastebin then, you must have set the data  
directory to that at some point and it's still reading it.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 12 June 2014 16:49, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:

> That directory is being created automatically every time I start  
> elasticsearch.
> 
> [root@254020-web1 programs]# service elasticsearch stop
> 
> Stopping elasticsearch: [OK]
> 
> [root@254020-web1 programs]# ls
> 
> elasticsearch-1.2.1
> 
> [root@254020-web1 programs]# rm -rf \*
> 
> [root@254020-web1 programs]# ls
> 
> [root@254020-web1 programs]# service elasticsearch start
> 
> Starting elasticsearch: [OK]
> 
> [root@254020-web1 programs]# ls
> 
> [root@254020-web1 programs]# tail  
> /var/log/elasticsearch/elasticsearch.log
> 
> at  
> sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)
> 
> at java.nio.channels.FileChannel.open(FileChannel.java:287)
> 
> at java.nio.channels.FileChannel.open(FileChannel.java:334)
> 
> at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)
> 
> at  
> org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)
> 
> at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)
> 
> at  
> org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)
> 
> ... 3 more
> 
> [2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
> Faustus] [blurays][2] sending failed shard for [blurays][2],  
> node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
> [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> [RecoveryFailedException[[blurays][2]: Recovery failed from  
> [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> 192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
> [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> nested: RecoveryEngineException[[blurays][2] Phase[1] Execution failed];  
> nested: RecoverFilesRecoveryException[[blurays][2] Failed to transfer [4]  
> files with total size of [6.6kb]]; nested:  
> NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/2/index/\_  
> 0.si]; ]]
> 
> [2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
> Faustus] [blurays][3] sending failed shard for [blurays][3],  
> node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
> [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> [RecoveryFailedException[[blurays][3]: Recovery failed from  
> [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> 192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
> [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> files with total size of [71b]]; nested:  
> NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> ]]
> 
> [root@254020-web1 programs]# ls
> 
> elasticsearch-1.2.1
> 
> [root@254020-web1 programs]#
> 
> On Thu, Jun 12, 2014 at 9:36 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> wrote:
> 
> > Why does it mention this path /home/programs/elasticsearch-1.2.1/  
> > data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1
> > 
> > Regards,  
> > Mark Walkom
> > 
> > Infrastructure Engineer  
> > Campaign Monitor  
> > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > 
> > On 12 June 2014 16:33, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > 
> > > I don't see data, but I see it searching for the shards in the log  
> > > files. Other functionality regarding the JDBC rivers don't seem to be  
> > > working either in 1.2.1, but its extremely hard to debug those issues when  
> > > my log files are constantly being filled with the following every minute or  
> > > so.
> > > 
> > > [root@254020-web1 home]# tail /var/log/elasticsearch/elasticsearch.log  
> > > at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)  
> > > at  
> > > sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)  
> > > at java.nio.channels.FileChannel.open(FileChannel.java:287)  
> > > at java.nio.channels.FileChannel.open(FileChannel.java:334)  
> > > at  
> > > org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)  
> > > at  
> > > org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)  
> > > at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)  
> > > at  
> > > org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)  
> > > ... 3 more  
> > > [2014-06-12 02:30:01,513][WARN][cluster.action.shard] [Metalhead]  
> > > [blurays][3] sending failed shard for [blurays][3],  
> > > node[UqeMw\_y7RN-FQ3tuBNEdng], [R], s[INITIALIZING], indexUUID  
> > > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > > [RecoveryFailedException[[blurays][3]: Recovery failed from  
> > > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > > 192.168.100.218:9301]] into [Metalhead][UqeMw\_y7RN-FQ3tuBNEdng][  
> > > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > > nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> > > nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> > > files with total size of [71b]]; nested:  
> > > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> > > ]]  
> > > [root@254020-web1 home]#
> > > 
> > > On Thu, Jun 12, 2014 at 9:27 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > wrote:
> > > 
> > > > Just to clarify, is it just the directory that appears again at  
> > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, or are you  
> > > > saying the indexed data in the shards is reappearing as well?
> > > > 
> > > > Regards,  
> > > > Mark Walkom
> > > > 
> > > > Infrastructure Engineer  
> > > > Campaign Monitor  
> > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > 
> > > > On 12 June 2014 16:24, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > 
> > > > > Neither have data directories. I also deleted all files I could find  
> > > > > located at /var/lib/elasticsearch including  
> > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, /etc/elasticsearch,  
> > > > > their parent directories and every other directory I could find. I then  
> > > > > again reinstalled and the data again appears at  
> > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices.
> > > > > 
> > > > > [root@254020-web1 home]# ls /usr/local/share/elasticsearch
> > > > > 
> > > > > ls: /usr/local/share/elasticsearch: No such file or directory
> > > > > 
> > > > > [root@254020-web1 home]# ls /usr/share/elasticsearch/
> > > > > 
> > > > > LICENSE.txt NOTICE.txt README.textile bin lib plugins
> > > > > 
> > > > > On Thu, Jun 12, 2014 at 9:12 AM, Mark Walkom \<  
> > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > 
> > > > > > You may have a data directory under /usr/local/share/elasticsearch,  
> > > > > > or under /usr/share/elasticsearch, if it's there and you don't want the  
> > > > > > data, delete them.
> > > > > > 
> > > > > > Regards,  
> > > > > > Mark Walkom
> > > > > > 
> > > > > > Infrastructure Engineer  
> > > > > > Campaign Monitor  
> > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > 
> > > > > > On 12 June 2014 16:10, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > 
> > > > > > > I should add that I have also tried uninstalling the RPM and  
> > > > > > > reinstalling it. I used rpm -e elasticsearch-1.2.1 for the uninstall.
> > > > > > > 
> > > > > > > On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > > wrote:
> > > > > > > 
> > > > > > > > I originally installed it with:
> > > > > > > > 
> > > > > > > > cd ~  
> > > > > > > > wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> > > > > > > > 
> > > > > > > > tar -xf elasticsearch.tar.gz  
> > > > > > > > rm elasticsearch.tar.gz  
> > > > > > > > mv elasticsearch-\* elasticsearch  
> > > > > > > > sudo mv elasticsearch /usr/local/share
> > > > > > > > 
> > > > > > > > curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> > > > > > > > 
> > > > > > > > mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> > > > > > > > rm -Rf _servicewrapper_  
> > > > > > > > sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> > > > > > > > sudo /etc/init.d/elasticsearch start
> > > > > > > > 
> > > > > > > > I then deleted all of these directories using rm -rf as specified  
> > > > > > > > in past messages. I then reinstalled it using an RPM using:
> > > > > > > > 
> > > > > > > > rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> > > > > > > > 
> > > > > > > > It seems to me that there must be some hidden place where it is  
> > > > > > > > storing all of the settings. Thanks!
> > > > > > > > 
> > > > > > > > On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom \<  
> > > > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > > > 
> > > > > > > > > Is it a single node cluster?
> > > > > > > > > 
> > > > > > > > > Howe are you installing things; deb, rpm, zip?  
> > > > > > > > > How are you uninstalling it?  
> > > > > > > > > Exact commands for the above will be helpful 🙂
> > > > > > > > > 
> > > > > > > > > Regards,  
> > > > > > > > > Mark Walkom
> > > > > > > > > 
> > > > > > > > > Infrastructure Engineer  
> > > > > > > > > Campaign Monitor  
> > > > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > > > 
> > > > > > > > > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > > 
> > > > > > > > > > I should add that I want to do a 100% clean install it keeps  
> > > > > > > > > > trying to initiate a recovery which is creating problems.
> > > > > > > > > > 
> > > > > > > > > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser \<  
> > > > > > > > > > [sokser@gmail.com](mailto:sokser@gmail.com)\> wrote:
> > > > > > > > > > 
> > > > > > > > > > > I tried deleting the directories an reinstalling but somehow it  
> > > > > > > > > > > keeps loading in my old environment even when I try to rm -rf the  
> > > > > > > > > > > directories after shutting down the server? Where is elasticsearch hiding  
> > > > > > > > > > > these files?
> > > > > > > > > > > 
> > > > > > > > > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com)  
> > > > > > > > > > > wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > Regarding your problem, are you perhaps running into the fact  
> > > > > > > > > > > > that dynamic scripts are now disabled by default since 1.2?
> > > > > > > > > > > > 
> > > > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > > > > > > > > 
> > > > > > > > > > > > In terms of deleting the existing version, it all depends on  
> > > > > > > > > > > > how you installed Elasticsearch. If you did not override the defaults for  
> > > > > > > > > > > > the various directories, you can just delete the directory.
> > > > > > > > > > > > 
> > > > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > > > > > > > > 
> > > > > > > > > > > > --  
> > > > > > > > > > > > Ivan
> > > > > > > > > > > > 
> > > > > > > > > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > 
> > > > > > > > > > > > > I recently upgraded to elasticsearch 1.2.1 and have since seen  
> > > > > > > > > > > > > most of my scripts stop working. Nothing seems to work properly and I think  
> > > > > > > > > > > > > I may have messed up during the upgrade. How can I properly delete  
> > > > > > > > > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > > > > > > > > (all data, indices, etc removed).
> > > > > > > > > > > > > 
> > > > > > > > > > > > > --  
> > > > > > > > > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > .  
> > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > > 
> > > > > > > > > > > > --  
> > > > > > > > > > > > You received this message because you are subscribed to a topic  
> > > > > > > > > > > > in the Google Groups "elasticsearch" group.  
> > > > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > > > .  
> > > > > > > > > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > .
> > > > > > > > > > > > 
> > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > 
> > > > > > > > > > --  
> > > > > > > > > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > .
> > > > > > > > > > 
> > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > 
> > > > > > > > > --  
> > > > > > > > > You received this message because you are subscribed to a topic in  
> > > > > > > > > the Google Groups "elasticsearch" group.  
> > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > .  
> > > > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > .
> > > > > > > > > 
> > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > 
> > > > > > > --  
> > > > > > > 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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com)  
> > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > .
> > > > > > > 
> > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > 
> > > > > > --  
> > > > > > You received this message because you are subscribed to a topic in  
> > > > > > the Google Groups "elasticsearch" group.  
> > > > > > To unsubscribe from this topic, visit  
> > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > .  
> > > > > > To unsubscribe from this group and all its topics, 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/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > .
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > 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/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > > 
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit  
> > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > .  
> > > > To unsubscribe from this group and all its topics, 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/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > 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/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > To unsubscribe from this group and all its topics, 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/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> 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/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![seja12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seja12/32/115567_2.png) [@seja12](https://discuss.elastic.co/u/seja12)\
**Post date:** [June 12, 2014, 6:57am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/15 "2014-06-12T06:57:11Z")

</div>

Do you mean my elasticsearch.yml file?

On Thu, Jun 12, 2014 at 9:51 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
wrote:

> Can you put your config in a gist/pastebin then, you must have set the  
> data directory to that at some point and it's still reading it.
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 12 June 2014 16:49, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> 
> > That directory is being created automatically every time I start  
> > elasticsearch.
> > 
> > [root@254020-web1 programs]# service elasticsearch stop
> > 
> > Stopping elasticsearch: [OK]
> > 
> > [root@254020-web1 programs]# ls
> > 
> > elasticsearch-1.2.1
> > 
> > [root@254020-web1 programs]# rm -rf \*
> > 
> > [root@254020-web1 programs]# ls
> > 
> > [root@254020-web1 programs]# service elasticsearch start
> > 
> > Starting elasticsearch: [OK]
> > 
> > [root@254020-web1 programs]# ls
> > 
> > [root@254020-web1 programs]# tail  
> > /var/log/elasticsearch/elasticsearch.log
> > 
> > at  
> > sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)
> > 
> > at java.nio.channels.FileChannel.open(FileChannel.java:287)
> > 
> > at java.nio.channels.FileChannel.open(FileChannel.java:334)
> > 
> > at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)
> > 
> > at  
> > org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)
> > 
> > at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)
> > 
> > at  
> > org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)
> > 
> > ... 3 more
> > 
> > [2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
> > Faustus] [blurays][2] sending failed shard for [blurays][2],  
> > node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
> > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > [RecoveryFailedException[[blurays][2]: Recovery failed from  
> > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > 192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
> > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > nested: RecoveryEngineException[[blurays][2] Phase[1] Execution failed];  
> > nested: RecoverFilesRecoveryException[[blurays][2] Failed to transfer [4]  
> > files with total size of [6.6kb]]; nested:  
> > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/2/index/\_  
> > 0.si]; ]]
> > 
> > [2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
> > Faustus] [blurays][3] sending failed shard for [blurays][3],  
> > node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
> > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > [RecoveryFailedException[[blurays][3]: Recovery failed from  
> > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > 192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
> > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> > nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> > files with total size of [71b]]; nested:  
> > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> > ]]
> > 
> > [root@254020-web1 programs]# ls
> > 
> > elasticsearch-1.2.1
> > 
> > [root@254020-web1 programs]#
> > 
> > On Thu, Jun 12, 2014 at 9:36 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > wrote:
> > 
> > > Why does it mention this path /home/programs/elasticsearch-1.2.1/  
> > > data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1
> > > 
> > > Regards,  
> > > Mark Walkom
> > > 
> > > Infrastructure Engineer  
> > > Campaign Monitor  
> > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > 
> > > On 12 June 2014 16:33, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > 
> > > > I don't see data, but I see it searching for the shards in the log  
> > > > files. Other functionality regarding the JDBC rivers don't seem to be  
> > > > working either in 1.2.1, but its extremely hard to debug those issues when  
> > > > my log files are constantly being filled with the following every minute or  
> > > > so.
> > > > 
> > > > [root@254020-web1 home]# tail /var/log/elasticsearch/elasticsearch.log  
> > > > at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)  
> > > > at  
> > > > sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)  
> > > > at java.nio.channels.FileChannel.open(FileChannel.java:287)  
> > > > at java.nio.channels.FileChannel.open(FileChannel.java:334)  
> > > > at  
> > > > org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)  
> > > > at  
> > > > org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)  
> > > > at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)  
> > > > at  
> > > > org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)  
> > > > ... 3 more  
> > > > [2014-06-12 02:30:01,513][WARN][cluster.action.shard] [Metalhead]  
> > > > [blurays][3] sending failed shard for [blurays][3],  
> > > > node[UqeMw\_y7RN-FQ3tuBNEdng], [R], s[INITIALIZING], indexUUID  
> > > > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > > > [RecoveryFailedException[[blurays][3]: Recovery failed from  
> > > > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > > > 192.168.100.218:9301]] into [Metalhead][UqeMw\_y7RN-FQ3tuBNEdng][  
> > > > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > > > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > > > nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> > > > nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> > > > files with total size of [71b]]; nested:  
> > > > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> > > > ]]  
> > > > [root@254020-web1 home]#
> > > > 
> > > > On Thu, Jun 12, 2014 at 9:27 AM, Mark Walkom \<[markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)
> > > > 
> > > > > wrote:
> > > > 
> > > > > Just to clarify, is it just the directory that appears again at  
> > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, or are you  
> > > > > saying the indexed data in the shards is reappearing as well?
> > > > > 
> > > > > Regards,  
> > > > > Mark Walkom
> > > > > 
> > > > > Infrastructure Engineer  
> > > > > Campaign Monitor  
> > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > 
> > > > > On 12 June 2014 16:24, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > 
> > > > > > Neither have data directories. I also deleted all files I could  
> > > > > > find located at /var/lib/elasticsearch including  
> > > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, /etc/elasticsearch,  
> > > > > > their parent directories and every other directory I could find. I then  
> > > > > > again reinstalled and the data again appears at  
> > > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices.
> > > > > > 
> > > > > > [root@254020-web1 home]# ls /usr/local/share/elasticsearch
> > > > > > 
> > > > > > ls: /usr/local/share/elasticsearch: No such file or directory
> > > > > > 
> > > > > > [root@254020-web1 home]# ls /usr/share/elasticsearch/
> > > > > > 
> > > > > > LICENSE.txt NOTICE.txt README.textile bin lib plugins
> > > > > > 
> > > > > > On Thu, Jun 12, 2014 at 9:12 AM, Mark Walkom \<  
> > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > 
> > > > > > > You may have a data directory under /usr/local/share/elasticsearch,  
> > > > > > > or under /usr/share/elasticsearch, if it's there and you don't want the  
> > > > > > > data, delete them.
> > > > > > > 
> > > > > > > Regards,  
> > > > > > > Mark Walkom
> > > > > > > 
> > > > > > > Infrastructure Engineer  
> > > > > > > Campaign Monitor  
> > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > 
> > > > > > > On 12 June 2014 16:10, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > 
> > > > > > > > I should add that I have also tried uninstalling the RPM and  
> > > > > > > > reinstalling it. I used rpm -e elasticsearch-1.2.1 for the uninstall.
> > > > > > > > 
> > > > > > > > On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > > > wrote:
> > > > > > > > 
> > > > > > > > > I originally installed it with:
> > > > > > > > > 
> > > > > > > > > cd ~  
> > > > > > > > > wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> > > > > > > > > 
> > > > > > > > > tar -xf elasticsearch.tar.gz  
> > > > > > > > > rm elasticsearch.tar.gz  
> > > > > > > > > mv elasticsearch-\* elasticsearch  
> > > > > > > > > sudo mv elasticsearch /usr/local/share
> > > > > > > > > 
> > > > > > > > > curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> > > > > > > > > 
> > > > > > > > > mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> > > > > > > > > rm -Rf _servicewrapper_  
> > > > > > > > > sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> > > > > > > > > sudo /etc/init.d/elasticsearch start
> > > > > > > > > 
> > > > > > > > > I then deleted all of these directories using rm -rf as specified  
> > > > > > > > > in past messages. I then reinstalled it using an RPM using:
> > > > > > > > > 
> > > > > > > > > rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> > > > > > > > > 
> > > > > > > > > It seems to me that there must be some hidden place where it is  
> > > > > > > > > storing all of the settings. Thanks!
> > > > > > > > > 
> > > > > > > > > On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom \<  
> > > > > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > > > > 
> > > > > > > > > > Is it a single node cluster?
> > > > > > > > > > 
> > > > > > > > > > Howe are you installing things; deb, rpm, zip?  
> > > > > > > > > > How are you uninstalling it?  
> > > > > > > > > > Exact commands for the above will be helpful 🙂
> > > > > > > > > > 
> > > > > > > > > > Regards,  
> > > > > > > > > > Mark Walkom
> > > > > > > > > > 
> > > > > > > > > > Infrastructure Engineer  
> > > > > > > > > > Campaign Monitor  
> > > > > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > > > > 
> > > > > > > > > > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > > > 
> > > > > > > > > > > I should add that I want to do a 100% clean install it keeps  
> > > > > > > > > > > trying to initiate a recovery which is creating problems.
> > > > > > > > > > > 
> > > > > > > > > > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser \<  
> > > > > > > > > > > [sokser@gmail.com](mailto:sokser@gmail.com)\> wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > I tried deleting the directories an reinstalling but somehow it  
> > > > > > > > > > > > keeps loading in my old environment even when I try to rm -rf the  
> > > > > > > > > > > > directories after shutting down the server? Where is elasticsearch hiding  
> > > > > > > > > > > > these files?
> > > > > > > > > > > > 
> > > > > > > > > > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com)  
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > 
> > > > > > > > > > > > > Regarding your problem, are you perhaps running into the fact  
> > > > > > > > > > > > > that dynamic scripts are now disabled by default since 1.2?
> > > > > > > > > > > > > 
> > > > > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > > > > > > > > > 
> > > > > > > > > > > > > In terms of deleting the existing version, it all depends on  
> > > > > > > > > > > > > how you installed Elasticsearch. If you did not override the defaults for  
> > > > > > > > > > > > > the various directories, you can just delete the directory.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > > > > > > > > > 
> > > > > > > > > > > > > --  
> > > > > > > > > > > > > Ivan
> > > > > > > > > > > > > 
> > > > > > > > > > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > 
> > > > > > > > > > > > > > I recently upgraded to elasticsearch 1.2.1 and have since  
> > > > > > > > > > > > > > seen most of my scripts stop working. Nothing seems to work properly and I  
> > > > > > > > > > > > > > think I may have messed up during the upgrade. How can I properly delete  
> > > > > > > > > > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > > > > > > > > > (all data, indices, etc removed).
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > --  
> > > > > > > > > > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > > .  
> > > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > > > 
> > > > > > > > > > > > > --  
> > > > > > > > > > > > > You received this message because you are subscribed to a  
> > > > > > > > > > > > > topic in the Google Groups "elasticsearch" group.  
> > > > > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > > > > .  
> > > > > > > > > > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > .
> > > > > > > > > > > > > 
> > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > 
> > > > > > > > > > > --  
> > > > > > > > > > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > .
> > > > > > > > > > > 
> > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > 
> > > > > > > > > > --  
> > > > > > > > > > You received this message because you are subscribed to a topic  
> > > > > > > > > > in the Google Groups "elasticsearch" group.  
> > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > .  
> > > > > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > .
> > > > > > > > > > 
> > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > 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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com)  
> > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > .
> > > > > > > > 
> > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > 
> > > > > > > --  
> > > > > > > You received this message because you are subscribed to a topic in  
> > > > > > > the Google Groups "elasticsearch" group.  
> > > > > > > To unsubscribe from this topic, visit  
> > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > .  
> > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com)  
> > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > .
> > > > > > > 
> > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > 
> > > > > > --  
> > > > > > 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/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > .
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to a topic in the  
> > > > > Google Groups "elasticsearch" group.  
> > > > > To unsubscribe from this topic, visit  
> > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > .  
> > > > > To unsubscribe from this group and all its topics, 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/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > > 
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > 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/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > > To unsubscribe from this group and all its topics, 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/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > 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/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [June 12, 2014, 6:58am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/16 "2014-06-12T06:58:24Z")

</div>

Yes, please.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 12 June 2014 16:57, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:

> Do you mean my elasticsearch.yml file?
> 
> On Thu, Jun 12, 2014 at 9:51 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> wrote:
> 
> > Can you put your config in a gist/pastebin then, you must have set the  
> > data directory to that at some point and it's still reading it.
> > 
> > Regards,  
> > Mark Walkom
> > 
> > Infrastructure Engineer  
> > Campaign Monitor  
> > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > 
> > On 12 June 2014 16:49, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > 
> > > That directory is being created automatically every time I start  
> > > elasticsearch.
> > > 
> > > [root@254020-web1 programs]# service elasticsearch stop
> > > 
> > > Stopping elasticsearch: [OK]
> > > 
> > > [root@254020-web1 programs]# ls
> > > 
> > > elasticsearch-1.2.1
> > > 
> > > [root@254020-web1 programs]# rm -rf \*
> > > 
> > > [root@254020-web1 programs]# ls
> > > 
> > > [root@254020-web1 programs]# service elasticsearch start
> > > 
> > > Starting elasticsearch: [OK]
> > > 
> > > [root@254020-web1 programs]# ls
> > > 
> > > [root@254020-web1 programs]# tail  
> > > /var/log/elasticsearch/elasticsearch.log
> > > 
> > > at  
> > > sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)
> > > 
> > > at java.nio.channels.FileChannel.open(FileChannel.java:287)
> > > 
> > > at java.nio.channels.FileChannel.open(FileChannel.java:334)
> > > 
> > > at  
> > > org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)
> > > 
> > > at  
> > > org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)
> > > 
> > > at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)
> > > 
> > > at  
> > > org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)
> > > 
> > > ... 3 more
> > > 
> > > [2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
> > > Faustus] [blurays][2] sending failed shard for [blurays][2],  
> > > node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
> > > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > > [RecoveryFailedException[[blurays][2]: Recovery failed from  
> > > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > > 192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
> > > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > > nested: RecoveryEngineException[[blurays][2] Phase[1] Execution failed];  
> > > nested: RecoverFilesRecoveryException[[blurays][2] Failed to transfer [4]  
> > > files with total size of [6.6kb]]; nested:  
> > > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/2/index/\_  
> > > 0.si]; ]]
> > > 
> > > [2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
> > > Faustus] [blurays][3] sending failed shard for [blurays][3],  
> > > node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
> > > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > > [RecoveryFailedException[[blurays][3]: Recovery failed from  
> > > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > > 192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
> > > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > > nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> > > nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> > > files with total size of [71b]]; nested:  
> > > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> > > ]]
> > > 
> > > [root@254020-web1 programs]# ls
> > > 
> > > elasticsearch-1.2.1
> > > 
> > > [root@254020-web1 programs]#
> > > 
> > > On Thu, Jun 12, 2014 at 9:36 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > wrote:
> > > 
> > > > Why does it mention this path /home/programs/elasticsearch-1.2.1/  
> > > > data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1
> > > > 
> > > > Regards,  
> > > > Mark Walkom
> > > > 
> > > > Infrastructure Engineer  
> > > > Campaign Monitor  
> > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > 
> > > > On 12 June 2014 16:33, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > 
> > > > > I don't see data, but I see it searching for the shards in the log  
> > > > > files. Other functionality regarding the JDBC rivers don't seem to be  
> > > > > working either in 1.2.1, but its extremely hard to debug those issues when  
> > > > > my log files are constantly being filled with the following every minute or  
> > > > > so.
> > > > > 
> > > > > [root@254020-web1 home]# tail  
> > > > > /var/log/elasticsearch/elasticsearch.log  
> > > > > at  
> > > > > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)  
> > > > > at  
> > > > > sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)  
> > > > > at java.nio.channels.FileChannel.open(FileChannel.java:287)  
> > > > > at java.nio.channels.FileChannel.open(FileChannel.java:334)  
> > > > > at  
> > > > > org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)  
> > > > > at  
> > > > > org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)  
> > > > > at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)  
> > > > > at  
> > > > > org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)  
> > > > > ... 3 more  
> > > > > [2014-06-12 02:30:01,513][WARN][cluster.action.shard]  
> > > > > [Metalhead] [blurays][3] sending failed shard for [blurays][3],  
> > > > > node[UqeMw\_y7RN-FQ3tuBNEdng], [R], s[INITIALIZING], indexUUID  
> > > > > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > > > > [RecoveryFailedException[[blurays][3]: Recovery failed from  
> > > > > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > > > > 192.168.100.218:9301]] into [Metalhead][UqeMw\_y7RN-FQ3tuBNEdng][  
> > > > > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > > > > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > > > > nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> > > > > nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> > > > > files with total size of [71b]]; nested:  
> > > > > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> > > > > ]]  
> > > > > [root@254020-web1 home]#
> > > > > 
> > > > > On Thu, Jun 12, 2014 at 9:27 AM, Mark Walkom \<  
> > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > 
> > > > > > Just to clarify, is it just the directory that appears again at  
> > > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, or are you  
> > > > > > saying the indexed data in the shards is reappearing as well?
> > > > > > 
> > > > > > Regards,  
> > > > > > Mark Walkom
> > > > > > 
> > > > > > Infrastructure Engineer  
> > > > > > Campaign Monitor  
> > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > 
> > > > > > On 12 June 2014 16:24, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > 
> > > > > > > Neither have data directories. I also deleted all files I could  
> > > > > > > find located at /var/lib/elasticsearch including  
> > > > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, /etc/elasticsearch,  
> > > > > > > their parent directories and every other directory I could find. I then  
> > > > > > > again reinstalled and the data again appears at  
> > > > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices.
> > > > > > > 
> > > > > > > [root@254020-web1 home]# ls /usr/local/share/elasticsearch
> > > > > > > 
> > > > > > > ls: /usr/local/share/elasticsearch: No such file or directory
> > > > > > > 
> > > > > > > [root@254020-web1 home]# ls /usr/share/elasticsearch/
> > > > > > > 
> > > > > > > LICENSE.txt NOTICE.txt README.textile bin lib plugins
> > > > > > > 
> > > > > > > On Thu, Jun 12, 2014 at 9:12 AM, Mark Walkom \<  
> > > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > > 
> > > > > > > > You may have a data directory under /usr/local/share/elasticsearch,  
> > > > > > > > or under /usr/share/elasticsearch, if it's there and you don't want the  
> > > > > > > > data, delete them.
> > > > > > > > 
> > > > > > > > Regards,  
> > > > > > > > Mark Walkom
> > > > > > > > 
> > > > > > > > Infrastructure Engineer  
> > > > > > > > Campaign Monitor  
> > > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > > 
> > > > > > > > On 12 June 2014 16:10, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > 
> > > > > > > > > I should add that I have also tried uninstalling the RPM and  
> > > > > > > > > reinstalling it. I used rpm -e elasticsearch-1.2.1 for the uninstall.
> > > > > > > > > 
> > > > > > > > > On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser \<[sokser@gmail.com](mailto:sokser@gmail.com)
> > > > > > > > > 
> > > > > > > > > > wrote:
> > > > > > > > > 
> > > > > > > > > > I originally installed it with:
> > > > > > > > > > 
> > > > > > > > > > cd ~  
> > > > > > > > > > wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> > > > > > > > > > 
> > > > > > > > > > tar -xf elasticsearch.tar.gz  
> > > > > > > > > > rm elasticsearch.tar.gz  
> > > > > > > > > > mv elasticsearch-\* elasticsearch  
> > > > > > > > > > sudo mv elasticsearch /usr/local/share
> > > > > > > > > > 
> > > > > > > > > > curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> > > > > > > > > > 
> > > > > > > > > > mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> > > > > > > > > > rm -Rf _servicewrapper_  
> > > > > > > > > > sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> > > > > > > > > > sudo /etc/init.d/elasticsearch start
> > > > > > > > > > 
> > > > > > > > > > I then deleted all of these directories using rm -rf as specified  
> > > > > > > > > > in past messages. I then reinstalled it using an RPM using:
> > > > > > > > > > 
> > > > > > > > > > rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> > > > > > > > > > 
> > > > > > > > > > It seems to me that there must be some hidden place where it is  
> > > > > > > > > > storing all of the settings. Thanks!
> > > > > > > > > > 
> > > > > > > > > > On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom \<  
> > > > > > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > > > > > 
> > > > > > > > > > > Is it a single node cluster?
> > > > > > > > > > > 
> > > > > > > > > > > Howe are you installing things; deb, rpm, zip?  
> > > > > > > > > > > How are you uninstalling it?  
> > > > > > > > > > > Exact commands for the above will be helpful 🙂
> > > > > > > > > > > 
> > > > > > > > > > > Regards,  
> > > > > > > > > > > Mark Walkom
> > > > > > > > > > > 
> > > > > > > > > > > Infrastructure Engineer  
> > > > > > > > > > > Campaign Monitor  
> > > > > > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > > > > > 
> > > > > > > > > > > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > I should add that I want to do a 100% clean install it keeps  
> > > > > > > > > > > > trying to initiate a recovery which is creating problems.
> > > > > > > > > > > > 
> > > > > > > > > > > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser \<  
> > > > > > > > > > > > [sokser@gmail.com](mailto:sokser@gmail.com)\> wrote:
> > > > > > > > > > > > 
> > > > > > > > > > > > > I tried deleting the directories an reinstalling but somehow  
> > > > > > > > > > > > > it keeps loading in my old environment even when I try to rm -rf the  
> > > > > > > > > > > > > directories after shutting down the server? Where is elasticsearch hiding  
> > > > > > > > > > > > > these files?
> > > > > > > > > > > > > 
> > > > > > > > > > > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com)  
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > 
> > > > > > > > > > > > > > Regarding your problem, are you perhaps running into the fact  
> > > > > > > > > > > > > > that dynamic scripts are now disabled by default since 1.2?
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > In terms of deleting the existing version, it all depends on  
> > > > > > > > > > > > > > how you installed Elasticsearch. If you did not override the defaults for  
> > > > > > > > > > > > > > the various directories, you can just delete the directory.
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > --  
> > > > > > > > > > > > > > Ivan
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > I recently upgraded to elasticsearch 1.2.1 and have since  
> > > > > > > > > > > > > > > seen most of my scripts stop working. Nothing seems to work properly and I  
> > > > > > > > > > > > > > > think I may have messed up during the upgrade. How can I properly delete  
> > > > > > > > > > > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > > > > > > > > > > (all data, indices, etc removed).
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > --  
> > > > > > > > > > > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > > > .  
> > > > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > --  
> > > > > > > > > > > > > > You received this message because you are subscribed to a  
> > > > > > > > > > > > > > topic in the Google Groups "elasticsearch" group.  
> > > > > > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > > > > > .  
> > > > > > > > > > > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > > .
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > > 
> > > > > > > > > > > > --  
> > > > > > > > > > > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > .
> > > > > > > > > > > > 
> > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > 
> > > > > > > > > > > --  
> > > > > > > > > > > You received this message because you are subscribed to a topic  
> > > > > > > > > > > in the Google Groups "elasticsearch" group.  
> > > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > > .  
> > > > > > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > .
> > > > > > > > > > > 
> > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > 
> > > > > > > > > --  
> > > > > > > > > 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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com)  
> > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > .
> > > > > > > > > 
> > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > You received this message because you are subscribed to a topic in  
> > > > > > > > the Google Groups "elasticsearch" group.  
> > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > .  
> > > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com)  
> > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > .
> > > > > > > > 
> > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > 
> > > > > > > --  
> > > > > > > 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/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com)  
> > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > .
> > > > > > > 
> > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > 
> > > > > > --  
> > > > > > You received this message because you are subscribed to a topic in  
> > > > > > the Google Groups "elasticsearch" group.  
> > > > > > To unsubscribe from this topic, visit  
> > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > .  
> > > > > > To unsubscribe from this group and all its topics, 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/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > .
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > 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/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > > 
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit  
> > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > .  
> > > > To unsubscribe from this group and all its topics, 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/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > 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/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > To unsubscribe from this group and all its topics, 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/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> 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/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEM624aQgf1y7krLZDECr%2BhG7h18F%2BqnG%2BKmEifqoor59%3DYyFQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aQgf1y7krLZDECr%2BhG7h18F%2BqnG%2BKmEifqoor59%3DYyFQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![seja12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seja12/32/115567_2.png) [@seja12](https://discuss.elastic.co/u/seja12)\
**Post date:** [June 12, 2014, 7:14am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/17 "2014-06-12T07:14:31Z")

</div>

Here it is:

I rand a search using find / -name elasticsearch.yml and the only file that  
I could find is at /etc/elasticsearch/elasticsearch.yml. Here it is:  
[Elasticsearch.yml - Pastebin.com](http://pastebin.com/y5qcxE9H). Also here are the installation messages if  
this helps:

root@254020-web1 home]# rpm -Uvh elasticsearch-1.2.1.noarch.rpm  
Preparing... ###########################################  
[100%]  
1:elasticsearch ###########################################  
[100%]

### NOT starting on installation, please execute the following statements

to configure elasticsearch to start automatically using chkconfig  
sudo /sbin/chkconfig --add elasticsearch

### You can start elasticsearch by executing

sudo service elasticsearch start

On Thu, Jun 12, 2014 at 9:58 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
wrote:

> Yes, please.
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 12 June 2014 16:57, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> 
> > Do you mean my elasticsearch.yml file?
> > 
> > On Thu, Jun 12, 2014 at 9:51 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > wrote:
> > 
> > > Can you put your config in a gist/pastebin then, you must have set the  
> > > data directory to that at some point and it's still reading it.
> > > 
> > > Regards,  
> > > Mark Walkom
> > > 
> > > Infrastructure Engineer  
> > > Campaign Monitor  
> > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > 
> > > On 12 June 2014 16:49, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > 
> > > > That directory is being created automatically every time I start  
> > > > elasticsearch.
> > > > 
> > > > [root@254020-web1 programs]# service elasticsearch stop
> > > > 
> > > > Stopping elasticsearch: [OK]
> > > > 
> > > > [root@254020-web1 programs]# ls
> > > > 
> > > > elasticsearch-1.2.1
> > > > 
> > > > [root@254020-web1 programs]# rm -rf \*
> > > > 
> > > > [root@254020-web1 programs]# ls
> > > > 
> > > > [root@254020-web1 programs]# service elasticsearch start
> > > > 
> > > > Starting elasticsearch: [OK]
> > > > 
> > > > [root@254020-web1 programs]# ls
> > > > 
> > > > [root@254020-web1 programs]# tail  
> > > > /var/log/elasticsearch/elasticsearch.log
> > > > 
> > > > at  
> > > > sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)
> > > > 
> > > > at java.nio.channels.FileChannel.open(FileChannel.java:287)
> > > > 
> > > > at java.nio.channels.FileChannel.open(FileChannel.java:334)
> > > > 
> > > > at  
> > > > org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)
> > > > 
> > > > at  
> > > > org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)
> > > > 
> > > > at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)
> > > > 
> > > > at  
> > > > org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)
> > > > 
> > > > ... 3 more
> > > > 
> > > > [2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
> > > > Faustus] [blurays][2] sending failed shard for [blurays][2],  
> > > > node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
> > > > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > > > [RecoveryFailedException[[blurays][2]: Recovery failed from  
> > > > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > > > 192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
> > > > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > > > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > > > nested: RecoveryEngineException[[blurays][2] Phase[1] Execution failed];  
> > > > nested: RecoverFilesRecoveryException[[blurays][2] Failed to transfer [4]  
> > > > files with total size of [6.6kb]]; nested:  
> > > > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/2/index/\_  
> > > > 0.si]; ]]
> > > > 
> > > > [2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
> > > > Faustus] [blurays][3] sending failed shard for [blurays][3],  
> > > > node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
> > > > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > > > [RecoveryFailedException[[blurays][3]: Recovery failed from  
> > > > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > > > 192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
> > > > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > > > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > > > nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> > > > nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> > > > files with total size of [71b]]; nested:  
> > > > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> > > > ]]
> > > > 
> > > > [root@254020-web1 programs]# ls
> > > > 
> > > > elasticsearch-1.2.1
> > > > 
> > > > [root@254020-web1 programs]#
> > > > 
> > > > On Thu, Jun 12, 2014 at 9:36 AM, Mark Walkom \<[markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)
> > > > 
> > > > > wrote:
> > > > 
> > > > > Why does it mention this path /home/programs/elasticsearch-1.2.1/  
> > > > > data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1
> > > > > 
> > > > > Regards,  
> > > > > Mark Walkom
> > > > > 
> > > > > Infrastructure Engineer  
> > > > > Campaign Monitor  
> > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > 
> > > > > On 12 June 2014 16:33, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > 
> > > > > > I don't see data, but I see it searching for the shards in the log  
> > > > > > files. Other functionality regarding the JDBC rivers don't seem to be  
> > > > > > working either in 1.2.1, but its extremely hard to debug those issues when  
> > > > > > my log files are constantly being filled with the following every minute or  
> > > > > > so.
> > > > > > 
> > > > > > [root@254020-web1 home]# tail  
> > > > > > /var/log/elasticsearch/elasticsearch.log  
> > > > > > at  
> > > > > > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)  
> > > > > > at  
> > > > > > sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)  
> > > > > > at java.nio.channels.FileChannel.open(FileChannel.java:287)  
> > > > > > at java.nio.channels.FileChannel.open(FileChannel.java:334)  
> > > > > > at  
> > > > > > org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)  
> > > > > > at  
> > > > > > org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)  
> > > > > > at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)  
> > > > > > at  
> > > > > > org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)  
> > > > > > ... 3 more  
> > > > > > [2014-06-12 02:30:01,513][WARN][cluster.action.shard]  
> > > > > > [Metalhead] [blurays][3] sending failed shard for [blurays][3],  
> > > > > > node[UqeMw\_y7RN-FQ3tuBNEdng], [R], s[INITIALIZING], indexUUID  
> > > > > > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > > > > > [RecoveryFailedException[[blurays][3]: Recovery failed from  
> > > > > > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > > > > > 192.168.100.218:9301]] into [Metalhead][UqeMw\_y7RN-FQ3tuBNEdng][  
> > > > > > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > > > > > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > > > > > nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> > > > > > nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> > > > > > files with total size of [71b]]; nested:  
> > > > > > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> > > > > > ]]  
> > > > > > [root@254020-web1 home]#
> > > > > > 
> > > > > > On Thu, Jun 12, 2014 at 9:27 AM, Mark Walkom \<  
> > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > 
> > > > > > > Just to clarify, is it just the directory that appears again at  
> > > > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, or are you  
> > > > > > > saying the indexed data in the shards is reappearing as well?
> > > > > > > 
> > > > > > > Regards,  
> > > > > > > Mark Walkom
> > > > > > > 
> > > > > > > Infrastructure Engineer  
> > > > > > > Campaign Monitor  
> > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > 
> > > > > > > On 12 June 2014 16:24, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > 
> > > > > > > > Neither have data directories. I also deleted all files I could  
> > > > > > > > find located at /var/lib/elasticsearch including  
> > > > > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, /etc/elasticsearch,  
> > > > > > > > their parent directories and every other directory I could find. I then  
> > > > > > > > again reinstalled and the data again appears at  
> > > > > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices.
> > > > > > > > 
> > > > > > > > [root@254020-web1 home]# ls /usr/local/share/elasticsearch
> > > > > > > > 
> > > > > > > > ls: /usr/local/share/elasticsearch: No such file or directory
> > > > > > > > 
> > > > > > > > [root@254020-web1 home]# ls /usr/share/elasticsearch/
> > > > > > > > 
> > > > > > > > LICENSE.txt NOTICE.txt README.textile bin lib plugins
> > > > > > > > 
> > > > > > > > On Thu, Jun 12, 2014 at 9:12 AM, Mark Walkom \<  
> > > > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > > > 
> > > > > > > > > You may have a data directory under  
> > > > > > > > > /usr/local/share/elasticsearch, or under /usr/share/elasticsearch, if it's  
> > > > > > > > > there and you don't want the data, delete them.
> > > > > > > > > 
> > > > > > > > > Regards,  
> > > > > > > > > Mark Walkom
> > > > > > > > > 
> > > > > > > > > Infrastructure Engineer  
> > > > > > > > > Campaign Monitor  
> > > > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > > > 
> > > > > > > > > On 12 June 2014 16:10, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > > 
> > > > > > > > > > I should add that I have also tried uninstalling the RPM and  
> > > > > > > > > > reinstalling it. I used rpm -e elasticsearch-1.2.1 for the uninstall.
> > > > > > > > > > 
> > > > > > > > > > On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser \<  
> > > > > > > > > > [sokser@gmail.com](mailto:sokser@gmail.com)\> wrote:
> > > > > > > > > > 
> > > > > > > > > > > I originally installed it with:
> > > > > > > > > > > 
> > > > > > > > > > > cd ~  
> > > > > > > > > > > wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> > > > > > > > > > > 
> > > > > > > > > > > tar -xf elasticsearch.tar.gz  
> > > > > > > > > > > rm elasticsearch.tar.gz  
> > > > > > > > > > > mv elasticsearch-\* elasticsearch  
> > > > > > > > > > > sudo mv elasticsearch /usr/local/share
> > > > > > > > > > > 
> > > > > > > > > > > curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> > > > > > > > > > > 
> > > > > > > > > > > mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> > > > > > > > > > > rm -Rf _servicewrapper_  
> > > > > > > > > > > sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> > > > > > > > > > > sudo /etc/init.d/elasticsearch start
> > > > > > > > > > > 
> > > > > > > > > > > I then deleted all of these directories using rm -rf as  
> > > > > > > > > > > specified in past messages. I then reinstalled it using an RPM using:
> > > > > > > > > > > 
> > > > > > > > > > > rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> > > > > > > > > > > 
> > > > > > > > > > > It seems to me that there must be some hidden place where it is  
> > > > > > > > > > > storing all of the settings. Thanks!
> > > > > > > > > > > 
> > > > > > > > > > > On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom \<  
> > > > > > > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > Is it a single node cluster?
> > > > > > > > > > > > 
> > > > > > > > > > > > Howe are you installing things; deb, rpm, zip?  
> > > > > > > > > > > > How are you uninstalling it?  
> > > > > > > > > > > > Exact commands for the above will be helpful 🙂
> > > > > > > > > > > > 
> > > > > > > > > > > > Regards,  
> > > > > > > > > > > > Mark Walkom
> > > > > > > > > > > > 
> > > > > > > > > > > > Infrastructure Engineer  
> > > > > > > > > > > > Campaign Monitor  
> > > > > > > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > > > > > > 
> > > > > > > > > > > > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > 
> > > > > > > > > > > > > I should add that I want to do a 100% clean install it keeps  
> > > > > > > > > > > > > trying to initiate a recovery which is creating problems.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser \<  
> > > > > > > > > > > > > [sokser@gmail.com](mailto:sokser@gmail.com)\> wrote:
> > > > > > > > > > > > > 
> > > > > > > > > > > > > > I tried deleting the directories an reinstalling but somehow  
> > > > > > > > > > > > > > it keeps loading in my old environment even when I try to rm -rf the  
> > > > > > > > > > > > > > directories after shutting down the server? Where is elasticsearch hiding  
> > > > > > > > > > > > > > these files?
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic \<[ivan@brusic.com](mailto:ivan@brusic.com)
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > Regarding your problem, are you perhaps running into the  
> > > > > > > > > > > > > > > fact that dynamic scripts are now disabled by default since 1.2?
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > [Elastic — The Search AI Company | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > In terms of deleting the existing version, it all depends on  
> > > > > > > > > > > > > > > how you installed Elasticsearch. If you did not override the defaults for  
> > > > > > > > > > > > > > > the various directories, you can just delete the directory.
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > [Elastic — The Search AI Company | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > --  
> > > > > > > > > > > > > > > Ivan
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > I recently upgraded to elasticsearch 1.2.1 and have since  
> > > > > > > > > > > > > > > > seen most of my scripts stop working. Nothing seems to work properly and I  
> > > > > > > > > > > > > > > > think I may have messed up during the upgrade. How can I properly delete  
> > > > > > > > > > > > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > > > > > > > > > > > (all data, indices, etc removed).
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > --  
> > > > > > > > > > > > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > > > > .  
> > > > > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > --  
> > > > > > > > > > > > > > > You received this message because you are subscribed to a  
> > > > > > > > > > > > > > > topic in the Google Groups "elasticsearch" group.  
> > > > > > > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > > > > > > .  
> > > > > > > > > > > > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > > > .
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > > > 
> > > > > > > > > > > > > --  
> > > > > > > > > > > > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > .
> > > > > > > > > > > > > 
> > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > > 
> > > > > > > > > > > > --  
> > > > > > > > > > > > You received this message because you are subscribed to a topic  
> > > > > > > > > > > > in the Google Groups "elasticsearch" group.  
> > > > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > > > .  
> > > > > > > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > .
> > > > > > > > > > > > 
> > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > 
> > > > > > > > > > --  
> > > > > > > > > > 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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com)  
> > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > .
> > > > > > > > > > 
> > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > 
> > > > > > > > > --  
> > > > > > > > > You received this message because you are subscribed to a topic in  
> > > > > > > > > the Google Groups "elasticsearch" group.  
> > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > .  
> > > > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com)  
> > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > .
> > > > > > > > > 
> > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > 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/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com)  
> > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > .
> > > > > > > > 
> > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > 
> > > > > > > --  
> > > > > > > You received this message because you are subscribed to a topic in  
> > > > > > > the Google Groups "elasticsearch" group.  
> > > > > > > To unsubscribe from this topic, visit  
> > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > .  
> > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com)  
> > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > .
> > > > > > > 
> > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > 
> > > > > > --  
> > > > > > 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/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > .
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to a topic in the  
> > > > > Google Groups "elasticsearch" group.  
> > > > > To unsubscribe from this topic, visit  
> > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > .  
> > > > > To unsubscribe from this group and all its topics, 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/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > > 
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > 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/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > > To unsubscribe from this group and all its topics, 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/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > 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/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/CAEM624aQgf1y7krLZDECr%2BhG7h18F%2BqnG%2BKmEifqoor59%3DYyFQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aQgf1y7krLZDECr%2BhG7h18F%2BqnG%2BKmEifqoor59%3DYyFQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAEM624aQgf1y7krLZDECr%2BhG7h18F%2BqnG%2BKmEifqoor59%3DYyFQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aQgf1y7krLZDECr%2BhG7h18F%2BqnG%2BKmEifqoor59%3DYyFQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAPrW2899r\_b3EiXJ8CkfS7MSuiQK0ByrYxg2-GzTdX%3DAz%3DEc6A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899r_b3EiXJ8CkfS7MSuiQK0ByrYxg2-GzTdX%3DAz%3DEc6A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![seja12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seja12/32/115567_2.png) [@seja12](https://discuss.elastic.co/u/seja12)\
**Post date:** [June 12, 2014, 7:55am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/18 "2014-06-12T07:55:33Z")

</div>

Here is my system config file: [/etc/sysconfig/elasticsearch - Pastebin.com](http://pastebin.com/5xCmHymz)

On Thu, Jun 12, 2014 at 10:14 AM, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:

> Here it is:
> 
> I rand a search using find / -name elasticsearch.yml and the only file  
> that I could find is at /etc/elasticsearch/elasticsearch.yml. Here it is:  
> [Elasticsearch.yml - Pastebin.com](http://pastebin.com/y5qcxE9H). Also here are the installation messages if  
> this helps:
> 
> root@254020-web1 home]# rpm -Uvh elasticsearch-1.2.1.noarch.rpm  
> Preparing... ###########################################  
> [100%]  
> 1:elasticsearch ###########################################  
> [100%]
> 
> ### NOT starting on installation, please execute the following statements
> 
> to configure elasticsearch to start automatically using chkconfig  
> sudo /sbin/chkconfig --add elasticsearch
> 
> ### You can start elasticsearch by executing
> 
> sudo service elasticsearch start
> 
> On Thu, Jun 12, 2014 at 9:58 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> wrote:
> 
> > Yes, please.
> > 
> > Regards,  
> > Mark Walkom
> > 
> > Infrastructure Engineer  
> > Campaign Monitor  
> > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > 
> > On 12 June 2014 16:57, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > 
> > > Do you mean my elasticsearch.yml file?
> > > 
> > > On Thu, Jun 12, 2014 at 9:51 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > wrote:
> > > 
> > > > Can you put your config in a gist/pastebin then, you must have set the  
> > > > data directory to that at some point and it's still reading it.
> > > > 
> > > > Regards,  
> > > > Mark Walkom
> > > > 
> > > > Infrastructure Engineer  
> > > > Campaign Monitor  
> > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > 
> > > > On 12 June 2014 16:49, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > 
> > > > > That directory is being created automatically every time I start  
> > > > > elasticsearch.
> > > > > 
> > > > > [root@254020-web1 programs]# service elasticsearch stop
> > > > > 
> > > > > Stopping elasticsearch: [OK]
> > > > > 
> > > > > [root@254020-web1 programs]# ls
> > > > > 
> > > > > elasticsearch-1.2.1
> > > > > 
> > > > > [root@254020-web1 programs]# rm -rf \*
> > > > > 
> > > > > [root@254020-web1 programs]# ls
> > > > > 
> > > > > [root@254020-web1 programs]# service elasticsearch start
> > > > > 
> > > > > Starting elasticsearch: [OK]
> > > > > 
> > > > > [root@254020-web1 programs]# ls
> > > > > 
> > > > > [root@254020-web1 programs]# tail  
> > > > > /var/log/elasticsearch/elasticsearch.log
> > > > > 
> > > > > at  
> > > > > sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)
> > > > > 
> > > > > at java.nio.channels.FileChannel.open(FileChannel.java:287)
> > > > > 
> > > > > at java.nio.channels.FileChannel.open(FileChannel.java:334)
> > > > > 
> > > > > at  
> > > > > org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)
> > > > > 
> > > > > at  
> > > > > org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)
> > > > > 
> > > > > at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)
> > > > > 
> > > > > at  
> > > > > org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)
> > > > > 
> > > > > ... 3 more
> > > > > 
> > > > > [2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
> > > > > Faustus] [blurays][2] sending failed shard for [blurays][2],  
> > > > > node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
> > > > > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > > > > [RecoveryFailedException[[blurays][2]: Recovery failed from  
> > > > > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > > > > 192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
> > > > > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > > > > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > > > > nested: RecoveryEngineException[[blurays][2] Phase[1] Execution failed];  
> > > > > nested: RecoverFilesRecoveryException[[blurays][2] Failed to transfer [4]  
> > > > > files with total size of [6.6kb]]; nested:  
> > > > > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/2/index/\_  
> > > > > 0.si]; ]]
> > > > > 
> > > > > [2014-06-12 02:48:40,299][WARN][cluster.action.shard] [Doctor  
> > > > > Faustus] [blurays][3] sending failed shard for [blurays][3],  
> > > > > node[Vf24wKzHSNuEXJCL-rEFDQ], [R], s[INITIALIZING], indexUUID  
> > > > > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > > > > [RecoveryFailedException[[blurays][3]: Recovery failed from  
> > > > > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > > > > 192.168.100.218:9301]] into [Doctor Faustus][Vf24wKzHSNuEXJCL-rEFDQ][  
> > > > > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > > > > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > > > > nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> > > > > nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> > > > > files with total size of [71b]]; nested:  
> > > > > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> > > > > ]]
> > > > > 
> > > > > [root@254020-web1 programs]# ls
> > > > > 
> > > > > elasticsearch-1.2.1
> > > > > 
> > > > > [root@254020-web1 programs]#
> > > > > 
> > > > > On Thu, Jun 12, 2014 at 9:36 AM, Mark Walkom \<  
> > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > 
> > > > > > Why does it mention this path /home/programs/elasticsearch-1.2.1/  
> > > > > > data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1
> > > > > > 
> > > > > > Regards,  
> > > > > > Mark Walkom
> > > > > > 
> > > > > > Infrastructure Engineer  
> > > > > > Campaign Monitor  
> > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > 
> > > > > > On 12 June 2014 16:33, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > 
> > > > > > > I don't see data, but I see it searching for the shards in the log  
> > > > > > > files. Other functionality regarding the JDBC rivers don't seem to be  
> > > > > > > working either in 1.2.1, but its extremely hard to debug those issues when  
> > > > > > > my log files are constantly being filled with the following every minute or  
> > > > > > > so.
> > > > > > > 
> > > > > > > [root@254020-web1 home]# tail  
> > > > > > > /var/log/elasticsearch/elasticsearch.log  
> > > > > > > at  
> > > > > > > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)  
> > > > > > > at  
> > > > > > > sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)  
> > > > > > > at java.nio.channels.FileChannel.open(FileChannel.java:287)  
> > > > > > > at java.nio.channels.FileChannel.open(FileChannel.java:334)  
> > > > > > > at  
> > > > > > > org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)  
> > > > > > > at  
> > > > > > > org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:80)  
> > > > > > > at org.elasticsearch.index.store.Store.openInputRaw(Store.java:319)  
> > > > > > > at  
> > > > > > > org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:189)  
> > > > > > > ... 3 more  
> > > > > > > [2014-06-12 02:30:01,513][WARN][cluster.action.shard]  
> > > > > > > [Metalhead] [blurays][3] sending failed shard for [blurays][3],  
> > > > > > > node[UqeMw\_y7RN-FQ3tuBNEdng], [R], s[INITIALIZING], indexUUID  
> > > > > > > [z6lXF3L0S1KwwNZUUaiKsw], reason [Failed to start shard, message  
> > > > > > > [RecoveryFailedException[[blurays][3]: Recovery failed from  
> > > > > > > [Stilt-Man][mxmoAlTaTkClmfpImcpb1A][[254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/  
> > > > > > > 192.168.100.218:9301]] into [Metalhead][UqeMw\_y7RN-FQ3tuBNEdng][  
> > > > > > > [254020-web1.8coupons.com](http://254020-web1.8coupons.com)][inet[/192.168.100.218:9300]]]; nested:  
> > > > > > > RemoteTransportException[[Stilt-Man][inet[/192.168.100.218:9301]][index/shard/recovery/startRecovery]];  
> > > > > > > nested: RecoveryEngineException[[blurays][3] Phase[1] Execution failed];  
> > > > > > > nested: RecoverFilesRecoveryException[[blurays][3] Failed to transfer [1]  
> > > > > > > files with total size of [71b]]; nested:  
> > > > > > > NoSuchFileException[/home/programs/elasticsearch-1.2.1/data/elasticsearch/nodes/1/indices/blurays/3/index/segments\_1];  
> > > > > > > ]]  
> > > > > > > [root@254020-web1 home]#
> > > > > > > 
> > > > > > > On Thu, Jun 12, 2014 at 9:27 AM, Mark Walkom \<  
> > > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > > 
> > > > > > > > Just to clarify, is it just the directory that appears again at  
> > > > > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, or are you  
> > > > > > > > saying the indexed data in the shards is reappearing as well?
> > > > > > > > 
> > > > > > > > Regards,  
> > > > > > > > Mark Walkom
> > > > > > > > 
> > > > > > > > Infrastructure Engineer  
> > > > > > > > Campaign Monitor  
> > > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > > 
> > > > > > > > On 12 June 2014 16:24, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > 
> > > > > > > > > Neither have data directories. I also deleted all files I could  
> > > > > > > > > find located at /var/lib/elasticsearch including  
> > > > > > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices, /etc/elasticsearch,  
> > > > > > > > > their parent directories and every other directory I could find. I then  
> > > > > > > > > again reinstalled and the data again appears at  
> > > > > > > > > /var/lib/elasticsearch/elasticsearch/nodes/0/indices.
> > > > > > > > > 
> > > > > > > > > [root@254020-web1 home]# ls /usr/local/share/elasticsearch
> > > > > > > > > 
> > > > > > > > > ls: /usr/local/share/elasticsearch: No such file or directory
> > > > > > > > > 
> > > > > > > > > [root@254020-web1 home]# ls /usr/share/elasticsearch/
> > > > > > > > > 
> > > > > > > > > LICENSE.txt NOTICE.txt README.textile bin lib plugins
> > > > > > > > > 
> > > > > > > > > On Thu, Jun 12, 2014 at 9:12 AM, Mark Walkom \<  
> > > > > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > > > > 
> > > > > > > > > > You may have a data directory under  
> > > > > > > > > > /usr/local/share/elasticsearch, or under /usr/share/elasticsearch, if it's  
> > > > > > > > > > there and you don't want the data, delete them.
> > > > > > > > > > 
> > > > > > > > > > Regards,  
> > > > > > > > > > Mark Walkom
> > > > > > > > > > 
> > > > > > > > > > Infrastructure Engineer  
> > > > > > > > > > Campaign Monitor  
> > > > > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > > > > 
> > > > > > > > > > On 12 June 2014 16:10, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com) wrote:
> > > > > > > > > > 
> > > > > > > > > > > I should add that I have also tried uninstalling the RPM and  
> > > > > > > > > > > reinstalling it. I used rpm -e elasticsearch-1.2.1 for the uninstall.
> > > > > > > > > > > 
> > > > > > > > > > > On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser \<  
> > > > > > > > > > > [sokser@gmail.com](mailto:sokser@gmail.com)\> wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > I originally installed it with:
> > > > > > > > > > > > 
> > > > > > > > > > > > cd ~  
> > > > > > > > > > > > wget [https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz](https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz) -O elasticsearch.tar.gz
> > > > > > > > > > > > 
> > > > > > > > > > > > tar -xf elasticsearch.tar.gz  
> > > > > > > > > > > > rm elasticsearch.tar.gz  
> > > > > > > > > > > > mv elasticsearch-\* elasticsearch  
> > > > > > > > > > > > sudo mv elasticsearch /usr/local/share
> > > > > > > > > > > > 
> > > > > > > > > > > > curl -L [http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master](http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master) | tar -xz
> > > > > > > > > > > > 
> > > > > > > > > > > > mv _servicewrapper_/service /usr/local/share/elasticsearch/bin/  
> > > > > > > > > > > > rm -Rf _servicewrapper_  
> > > > > > > > > > > > sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install  
> > > > > > > > > > > > sudo /etc/init.d/elasticsearch start
> > > > > > > > > > > > 
> > > > > > > > > > > > I then deleted all of these directories using rm -rf as  
> > > > > > > > > > > > specified in past messages. I then reinstalled it using an RPM using:
> > > > > > > > > > > > 
> > > > > > > > > > > > rpm -Uvh elasticsearch-1.2.1.noarch.rpm
> > > > > > > > > > > > 
> > > > > > > > > > > > It seems to me that there must be some hidden place where it is  
> > > > > > > > > > > > storing all of the settings. Thanks!
> > > > > > > > > > > > 
> > > > > > > > > > > > On Thu, Jun 12, 2014 at 9:04 AM, Mark Walkom \<  
> > > > > > > > > > > > [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)\> wrote:
> > > > > > > > > > > > 
> > > > > > > > > > > > > Is it a single node cluster?
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Howe are you installing things; deb, rpm, zip?  
> > > > > > > > > > > > > How are you uninstalling it?  
> > > > > > > > > > > > > Exact commands for the above will be helpful 🙂
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Regards,  
> > > > > > > > > > > > > Mark Walkom
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Infrastructure Engineer  
> > > > > > > > > > > > > Campaign Monitor  
> > > > > > > > > > > > > email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> > > > > > > > > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > > > > > > > > 
> > > > > > > > > > > > > On 12 June 2014 16:00, Sebastian Okser [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > 
> > > > > > > > > > > > > > I should add that I want to do a 100% clean install it  
> > > > > > > > > > > > > > keeps trying to initiate a recovery which is creating problems.
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser \<  
> > > > > > > > > > > > > > [sokser@gmail.com](mailto:sokser@gmail.com)\> wrote:
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > I tried deleting the directories an reinstalling but somehow  
> > > > > > > > > > > > > > > it keeps loading in my old environment even when I try to rm -rf the  
> > > > > > > > > > > > > > > directories after shutting down the server? Where is elasticsearch hiding  
> > > > > > > > > > > > > > > these files?
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic \<  
> > > > > > > > > > > > > > > [ivan@brusic.com](mailto:ivan@brusic.com)\> wrote:
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > Regarding your problem, are you perhaps running into the  
> > > > > > > > > > > > > > > > fact that dynamic scripts are now disabled by default since 1.2?
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting)
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > In terms of deleting the existing version, it all depends  
> > > > > > > > > > > > > > > > on how you installed Elasticsearch. If you did not override the defaults  
> > > > > > > > > > > > > > > > for the various directories, you can just delete the directory.
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#setup-dir-layout)
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > --  
> > > > > > > > > > > > > > > > Ivan
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > On Wed, Jun 11, 2014 at 12:51 AM, John [sokser@gmail.com](mailto:sokser@gmail.com)  
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > I recently upgraded to elasticsearch 1.2.1 and have since  
> > > > > > > > > > > > > > > > > seen most of my scripts stop working. Nothing seems to work properly and I  
> > > > > > > > > > > > > > > > > think I may have messed up during the upgrade. How can I properly delete  
> > > > > > > > > > > > > > > > > elasticsearch and all associated data so I can reinstall it from scratch  
> > > > > > > > > > > > > > > > > (all data, indices, etc removed).
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > --  
> > > > > > > > > > > > > > > > > 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/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com)  
> > > > > > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7ca9761-05e7-4e24-b287-f98bbaeb4713%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > > > > > .  
> > > > > > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout)  
> > > > > > > > > > > > > > > > > .
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > --  
> > > > > > > > > > > > > > > > You received this message because you are subscribed to a  
> > > > > > > > > > > > > > > > topic in the Google Groups "elasticsearch" group.  
> > > > > > > > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > > > > > > > .  
> > > > > > > > > > > > > > > > To unsubscribe from this group and all its topics, 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/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com)  
> > > > > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkb1XiEK7umZReNyPiQ-uE3YGhReUivPOdKcSbz81VuA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > > > > .
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > --  
> > > > > > > > > > > > > > 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/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com)  
> > > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B\_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-9O%2B_gomzyDymGEPpsL%2B--que7AhQr3sUODEGOZuPC6w%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > > .
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > > > 
> > > > > > > > > > > > > --  
> > > > > > > > > > > > > You received this message because you are subscribed to a  
> > > > > > > > > > > > > topic in the Google Groups "elasticsearch" group.  
> > > > > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > > > > .  
> > > > > > > > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com)  
> > > > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZfPSOc7GGteX6SYv03n5i5UTV9zHaTC%3D5WDBEDd0MGWQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > > > .
> > > > > > > > > > > > > 
> > > > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > > 
> > > > > > > > > > > --  
> > > > > > > > > > > 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/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com)  
> > > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28\_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4\_iBTUBA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28_DNmoQJ5KonPMgnwH6QJ1eZvT6j4gXHUkgCa4_iBTUBA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > > .
> > > > > > > > > > > 
> > > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > > 
> > > > > > > > > > --  
> > > > > > > > > > You received this message because you are subscribed to a topic  
> > > > > > > > > > in the Google Groups "elasticsearch" group.  
> > > > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > > > .  
> > > > > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com)  
> > > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm\_QrNAQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yk2KN95ErhTy9gX-ZTJWpfwo7YYDvGmA72ceTm_QrNAQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > > .
> > > > > > > > > > 
> > > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > > 
> > > > > > > > > --  
> > > > > > > > > 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/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com)  
> > > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-HT8BBkA8ZkkZgcKit7rsk5NBBuZXtJmN3G4PhhvY5Aw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > > .
> > > > > > > > > 
> > > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > You received this message because you are subscribed to a topic in  
> > > > > > > > the Google Groups "elasticsearch" group.  
> > > > > > > > To unsubscribe from this topic, visit  
> > > > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > > > .  
> > > > > > > > To unsubscribe from this group and all its topics, 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/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com)  
> > > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D\_FJAh-FhSJRSTKPAB\_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aY%3D_FJAh-FhSJRSTKPAB_6brdMhnSzQBRwaJWQe56dpA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > > .
> > > > > > > > 
> > > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > > 
> > > > > > > --  
> > > > > > > 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/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com)  
> > > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP\_QP-3Ppiawd2wQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW289L4z8kT01N4kPX4Gs0Y1PO9%2Bp88VMP_QP-3Ppiawd2wQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > > .
> > > > > > > 
> > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > 
> > > > > > --  
> > > > > > You received this message because you are subscribed to a topic in  
> > > > > > the Google Groups "elasticsearch" group.  
> > > > > > To unsubscribe from this topic, visit  
> > > > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > > > .  
> > > > > > To unsubscribe from this group and all its topics, 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/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZuysNAkgb5ynMPG%3DhwJDiBaz35y8TBHvPOJ2mUDWHBvQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > .
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > 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/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW2899OWfMFYsAHzyhYo6uP%3DHjXS5HmBmnwGu7QpLhEwY5XA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > > 
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to a topic in the  
> > > > Google Groups "elasticsearch" group.  
> > > > To unsubscribe from this topic, visit  
> > > > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe)  
> > > > .  
> > > > To unsubscribe from this group and all its topics, 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/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aKCLGuYBDA8eFozUbXoTUfq8-dLP0gapy8J5tv-tSTQw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > 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/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPrW28-KVLcuiQ534RXddELq19fYGtO2J-hdY9KYhVk7WyzMig%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe](https://groups.google.com/d/topic/elasticsearch/6YzVfTg-4ng/unsubscribe).  
> > To unsubscribe from this group and all its topics, 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/CAEM624aQgf1y7krLZDECr%2BhG7h18F%2BqnG%2BKmEifqoor59%3DYyFQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624aQgf1y7krLZDECr%2BhG7h18F%2BqnG%2BKmEifqoor59%3DYyFQ%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAEM624aQgf1y7krLZDECr%2BhG7h18F%2BqnG%2BKmEifqoor59%3DYyFQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624aQgf1y7krLZDECr%2BhG7h18F%2BqnG%2BKmEifqoor59%3DYyFQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAPrW288MzHXmggW8aYCffmfRaey9t3e%2BR-g6t\_sgDKCungGnfA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPrW288MzHXmggW8aYCffmfRaey9t3e%2BR-g6t_sgDKCungGnfA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:23am UTC](https://discuss.elastic.co/t/elasticsearch-1-2-delete-and-reinstall/18036/19 "2017-07-06T01:23:06Z")

</div>


