# Enabling X-Pack gives JVM error

**URL:** <https://discuss.elastic.co/t/enabling-x-pack-gives-jvm-error/149630>\
**Category:** Elasticsearch\
**Created:** [September 24, 2018, 7:51am UTC](https://discuss.elastic.co/t/enabling-x-pack-gives-jvm-error/149630 "2018-09-24T07:51:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunnar\_Venaas](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@Gunnar\_Venaas](https://discuss.elastic.co/u/Gunnar_Venaas)\
**Post date:** [September 24, 2018, 7:51am UTC](https://discuss.elastic.co/t/enabling-x-pack-gives-jvm-error/149630/1 "2018-09-24T07:51:21Z")

</div>

Redhat 7, Elasticsearch 6.4.1, installet by the puppet/elasticsearch module.

When I try to enable x-pack security, the cluster does not start up.

The cluster log says :  
java.security.AccessControlException: access denied ("java.io.FilePermission" "/etc/elasticsearch/elastic\_sits/scripts" "read")

I have not added any scripts (the folder is empty)

Any suggestions?

---

<div class="post-metadata">

**Author:** ![tylerjl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylerjl/32/44965_2.png) [@tylerjl](https://discuss.elastic.co/u/tylerjl)\
**Post date:** [September 25, 2018, 5:35pm UTC](https://discuss.elastic.co/t/enabling-x-pack-gives-jvm-error/149630/2 "2018-09-25T17:35:26Z")

</div>

Hi @Gunnar_Venaas, what version of the Puppet module are you using?

---

<div class="post-metadata">

**Author:** ![Gunnar\_Venaas](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@Gunnar\_Venaas](https://discuss.elastic.co/u/Gunnar_Venaas)\
**Post date:** [October 1, 2018, 1:06pm UTC](https://discuss.elastic.co/t/enabling-x-pack-gives-jvm-error/149630/3 "2018-10-01T13:06:37Z")

</div>

I used the 6.2.x, and found that the pre 6.3 has an error/bug that is the source of the error i Got.

Upgraded to 6.3.x, and the error is gone.

---

<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:** [October 29, 2018, 1:06pm UTC](https://discuss.elastic.co/t/enabling-x-pack-gives-jvm-error/149630/4 "2018-10-29T13:06:38Z")

</div>

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