# Problem with ES \> 0.90.9 in openvz

**URL:** <https://discuss.elastic.co/t/problem-with-es-0-90-9-in-openvz/15537>\
**Category:** Elasticsearch\
**Created:** [January 31, 2014, 7:26pm UTC](https://discuss.elastic.co/t/problem-with-es-0-90-9-in-openvz/15537 "2014-01-31T19:26:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Easley](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Brian\_Easley](https://discuss.elastic.co/u/Brian_Easley)\
**Post date:** [January 31, 2014, 7:26pm UTC](https://discuss.elastic.co/t/problem-with-es-0-90-9-in-openvz/15537/1 "2014-01-31T19:26:56Z")

</div>

Hello,

I am unable to properly start elasticsearch 0.90.9 and higher inside Debian  
wheezy openvz containers with the following error:

Starting ElasticSearch Server:sysctl: permission denied on key  
'vm.max\_map\_count'

Outside of running this on bare metal, is there any other way to get around  
this permission problem? I'm assuming the requirement is coming from some  
enhancements to ES to make it more useful with marvel.

--  
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/60a119f3-ee3a-491b-8452-abd90b596d28%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/60a119f3-ee3a-491b-8452-abd90b596d28%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [January 31, 2014, 8:43pm UTC](https://discuss.elastic.co/t/problem-with-es-0-90-9-in-openvz/15537/2 "2014-01-31T20:43:25Z")

</div>

I's openvz that does not allow to run sysctl. It's not permission, it's  
because of openvz guest architecture. Such a guest does not have access to  
the kernel.

You can comment out the sysctl lines and run those commands in the openvz  
host instead.

Jörg

--  
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/CAKdsXoEUT1%2B4QnmfMS5WLba4T1DYtJg7rXHCxt4-WqwsU6DsjQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEUT1%2B4QnmfMS5WLba4T1DYtJg7rXHCxt4-WqwsU6DsjQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Brian\_Easley](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Brian\_Easley](https://discuss.elastic.co/u/Brian_Easley)\
**Post date:** [January 31, 2014, 10:23pm UTC](https://discuss.elastic.co/t/problem-with-es-0-90-9-in-openvz/15537/3 "2014-01-31T22:23:55Z")

</div>

I'm a newcomer to elasticsearch. Where should I comment out the sysctl  
lines ?

On Friday, January 31, 2014 2:43:25 PM UTC-6, Jörg Prante wrote:

> I's openvz that does not allow to run sysctl. It's not permission, it's  
> because of openvz guest architecture. Such a guest does not have access to  
> the kernel.
> 
> You can comment out the sysctl lines and run those commands in the openvz  
> host instead.
> 
> Jörg

--  
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/2bb8d99b-2cad-4a77-bd62-6b359f0d91a8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2bb8d99b-2cad-4a77-bd62-6b359f0d91a8%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [February 1, 2014, 12:49am UTC](https://discuss.elastic.co/t/problem-with-es-0-90-9-in-openvz/15537/4 "2014-02-01T00:49:28Z")

</div>

Of course in the script where you start Elasticsearch.

[https://github.com/elasticsearch/elasticsearch/issues/4397](https://github.com/elasticsearch/elasticsearch/issues/4397) breaks openvz  
(and maybe other VMs)

Jörg

--  
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/CAKdsXoHew%3DVGP37cys8mLAA4%3D2wjqUpgJ8fbZGxDUKqnXqNdSA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHew%3DVGP37cys8mLAA4%3D2wjqUpgJ8fbZGxDUKqnXqNdSA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Brian\_Easley](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Brian\_Easley](https://discuss.elastic.co/u/Brian_Easley)\
**Post date:** [February 1, 2014, 6:03am UTC](https://discuss.elastic.co/t/problem-with-es-0-90-9-in-openvz/15537/5 "2014-02-01T06:03:30Z")

</div>

I sorted that out, but am still inable to view metrics inside marvel:

No results. There no results because no indices were found that match your  
selected time span.

I do see quite a number of elasticsearch metrics inside kibana however,  
including: index\_stats 1784

Does anyone have any idea on how to get that working ?

On Friday, January 31, 2014 6:49:28 PM UTC-6, Jörg Prante wrote:

> Of course in the script where you start Elasticsearch.
> 
> [Startup scripts: Set vm.max\_map\_count · Issue #4397 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/4397) breaks openvz  
> (and maybe other VMs)
> 
> Jörg

--  
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/ad921d45-1923-4c67-b91a-7d3de0190bbc%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ad921d45-1923-4c67-b91a-7d3de0190bbc%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Tony\_Su](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@Tony\_Su](https://discuss.elastic.co/u/Tony_Su)\
**Post date:** [February 1, 2014, 4:04pm UTC](https://discuss.elastic.co/t/problem-with-es-0-90-9-in-openvz/15537/6 "2014-02-01T16:04:33Z")

</div>

A thought

Have you installed the Marvel plugin at least on the local machine?  
By default the marvel website is configured to interrogate localhost.

Tony

--  
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/f9286b33-48bc-42e0-a398-c640e5fd553f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f9286b33-48bc-42e0-a398-c640e5fd553f%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [February 1, 2014, 5:24pm UTC](https://discuss.elastic.co/t/problem-with-es-0-90-9-in-openvz/15537/7 "2014-02-01T17:24:49Z")

</div>

Use 0.90.10 or 1.0.0.RC1

Jörg

On Sat, Feb 1, 2014 at 7:03 AM, Brian Easley [brian.easley8@gmail.com](mailto:brian.easley8@gmail.com)wrote:

> I sorted that out, but am still inable to view metrics inside marvel:
> 
> No results. There no results because no indices were found that match  
> your selected time span.
> 
> I do see quite a number of elasticsearch metrics inside kibana however,  
> including: index\_stats 1784
> 
> Does anyone have any idea on how to get that working ?

--  
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/CAKdsXoFNpCE4DR\_TgYMxurun\_P47Bc0MvZqS4u3sh%2BzUx\_V7vA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFNpCE4DR_TgYMxurun_P47Bc0MvZqS4u3sh%2BzUx_V7vA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Brian\_Easley](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Brian\_Easley](https://discuss.elastic.co/u/Brian_Easley)\
**Post date:** [February 1, 2014, 6:33pm UTC](https://discuss.elastic.co/t/problem-with-es-0-90-9-in-openvz/15537/8 "2014-02-01T18:33:24Z")

</div>

Thank you Jörg,

You've been a great help! I have everything working now.

On Saturday, February 1, 2014 11:24:49 AM UTC-6, Jörg Prante wrote:

> Use 0.90.10 or 1.0.0.RC1
> 
> Jörg
> 
> On Sat, Feb 1, 2014 at 7:03 AM, Brian Easley \<[brian....@gmail.com](mailto:brian....@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > I sorted that out, but am still inable to view metrics inside marvel:
> > 
> > No results. There no results because no indices were found that match  
> > your selected time span.
> > 
> > I do see quite a number of elasticsearch metrics inside kibana however,  
> > including: index\_stats 1784
> > 
> > Does anyone have any idea on how to get that working ?

--  
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/edd8c057-7e79-4d6e-8b74-f91e5556e599%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/edd8c057-7e79-4d6e-8b74-f91e5556e599%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:53am UTC](https://discuss.elastic.co/t/problem-with-es-0-90-9-in-openvz/15537/9 "2017-07-06T01:53:28Z")

</div>


