# Error Installing Marvel

**URL:** <https://discuss.elastic.co/t/error-installing-marvel/44671>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [March 17, 2016, 8:32am UTC](https://discuss.elastic.co/t/error-installing-marvel/44671 "2016-03-17T08:32:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rameeelastic](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rameeelastic](https://discuss.elastic.co/u/rameeelastic)\
**Post date:** [March 17, 2016, 8:32am UTC](https://discuss.elastic.co/t/error-installing-marvel/44671/1 "2016-03-17T08:32:58Z")

</div>

I am running the ELK stack on windows 7 64 bit.  
I am using the latest version of ElasticSearch (version 2.2.1) and I am trying to install marvel plugin but it is throwing some permission error as below

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  
@ WARNING: plugin requires additional permissions @  
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

- java.lang.RuntimePermission setFactory
- javax.net.ssl.SSLPermission setHostnameVerifier  
See [http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.h](http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.h)  
tml  
for descriptions of what these permissions allow and the associated risks.

Continue with installation? [y/N]

* * *

What could be the issue ???

---

<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:** [March 18, 2016, 2:36am UTC](https://discuss.elastic.co/t/error-installing-marvel/44671/2 "2016-03-18T02:36:45Z")

</div>

How are you installing it?

---

<div class="post-metadata">

**Author:** ![rameeelastic](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rameeelastic](https://discuss.elastic.co/u/rameeelastic)\
**Post date:** [March 18, 2016, 5:27am UTC](https://discuss.elastic.co/t/error-installing-marvel/44671/3 "2016-03-18T05:27:51Z")

</div>

i am trying the online install using the command

"/bin\>plugin install marvel-agent"

Thanks

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [March 31, 2016, 10:19pm UTC](https://discuss.elastic.co/t/error-installing-marvel/44671/4 "2016-03-31T22:19:20Z")

</div>

The prompt comes from the Java security manager. It's not an error, it's just asking you to confirm that you want to give the plugin the necessary permissions to run in the context of the security manager.

---

<div class="post-metadata">

**Author:** ![FreeTymeKiyan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/freetymekiyan/32/7388_2.png) [@FreeTymeKiyan](https://discuss.elastic.co/u/FreeTymeKiyan)\
**Post date:** [August 16, 2016, 6:28pm UTC](https://discuss.elastic.co/t/error-installing-marvel/44671/5 "2016-08-16T18:28:43Z")

</div>

I wonder if the plugin is installed automatically by script during CI/CD, how can one bypass that prompt?

* * *

EDIT: Actually there is a -b option for install command which automatic confirm the security permissions.

```auto
./plugin install -h

OPTIONS

    -t,--timeout Timeout until the plugin download is abort

    -v,--verbose Verbose output

    -h,--help Shows this message

    -b,--batch Enable batch mode explicitly, automatic confirmation of security permissions

```

---

<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:42pm UTC](https://discuss.elastic.co/t/error-installing-marvel/44671/6 "2017-07-06T13:42:27Z")

</div>


