# Marvel broke Elastic search?

**URL:** <https://discuss.elastic.co/t/marvel-broke-elastic-search/53877>\
**Category:** Kibana\
**Tags:** elastic-stack-monitoring\
**Created:** [June 24, 2016, 10:07am UTC](https://discuss.elastic.co/t/marvel-broke-elastic-search/53877 "2016-06-24T10:07:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandonmcgrath1](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@brandonmcgrath1](https://discuss.elastic.co/u/brandonmcgrath1)\
**Post date:** [June 24, 2016, 10:07am UTC](https://discuss.elastic.co/t/marvel-broke-elastic-search/53877/1 "2016-06-24T10:07:53Z")

</div>

I just installed Marvel and it completely broke ES, the service for ES just died. It says "Unable to connect to Elasticsearch at "IP:9200".  
How do i fix this?

---

<div class="post-metadata">

**Author:** ![bohyun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bohyun/32/10087_2.png) [@bohyun](https://discuss.elastic.co/u/bohyun)\
**Post date:** [June 24, 2016, 10:09am UTC](https://discuss.elastic.co/t/marvel-broke-elastic-search/53877/2 "2016-06-24T10:09:43Z")

</div>

Hi Brandon -

Could you provide more details, such as logs? If you could also provide the steps that resulted in the phase you're in would be very helpful, as well. What version of ES/Marvel are you using?

Thanks,  
Bohyun

---

<div class="post-metadata">

**Author:** ![brandonmcgrath1](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@brandonmcgrath1](https://discuss.elastic.co/u/brandonmcgrath1)\
**Post date:** [June 24, 2016, 10:20am UTC](https://discuss.elastic.co/t/marvel-broke-elastic-search/53877/3 "2016-06-24T10:20:56Z")

</div>

Latest version of both (only downloaded it yesterday) and I literally followed the tutorial all the way to the end of the installation section. Then I tired to connect to kibana and that is where I get the error.  
Here is a section of my es log file.  
[http://pastebin.com/UbQfWfik](http://pastebin.com/UbQfWfik)

---

<div class="post-metadata">

**Author:** ![bohyun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bohyun/32/10087_2.png) [@bohyun](https://discuss.elastic.co/u/bohyun)\
**Post date:** [June 24, 2016, 11:16am UTC](https://discuss.elastic.co/t/marvel-broke-elastic-search/53877/4 "2016-06-24T11:16:10Z")

</div>

It looks like you may have existing plugins that are conflicting with the version you're trying to install, which is 2.3.3.

Could you run this and paste what you see there? Please change localhost:9200 in case you're using a different address and port number.

`CURL -XGET 'http://localhost:9200/_cat/plugins'`

Thanks,  
Bohyun

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [June 24, 2016, 2:34pm UTC](https://discuss.elastic.co/t/marvel-broke-elastic-search/53877/5 "2016-06-24T14:34:07Z")

</div>

Hi Brandon,

I'm not sure how you actually got the `marvel` plugin installed because the plugin script should block it without the file that's noted as missing, but I expect that it was manually extracted into the plugins directory. You need to delete that plugin / directory.

```auto
$ cd ${ES_HOME}
$ rm -rf plugins/marvel

```

Plugins should only be installed using the plugin script. In the case of ES 2.3.3 and Marvel, it expects the Marvel _Agent_. Perhaps you found an older tutorial somewhere, but the [latest instructions can be found here](https://www.elastic.co/guide/en/marvel/current/installing-marvel.html#installing-marvel).

```auto
$ cd ${ES_HOME}
$ bin/plugin install marvel-agent

```

Note the `-agent` suffix. Once done, you should be able to restart ES and Marvel should be monitoring it. From there, you'll need to install the Kibana side of Marvel into Kibana. _That_ is where the `marvel` plugin goes.

This is kind of an unnecessarily complicated install process and we realize that. With 5.0, we will introduce the concept of plugin packs, which will allow us to bundle an ES plugin and a Kibana plugin in one file/download. That will simplify and hopefully avoid a lot of this confusion.

Hope that helps

---

<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/marvel-broke-elastic-search/53877/6 "2017-07-06T13:42:58Z")

</div>


