# Unable to start Elasticsearch - java.lang.IllegalStateException: Duplicate key org.elasticsearch.plugins.PluginsService$Bundle@e3623fe

**URL:** <https://discuss.elastic.co/t/unable-to-start-elasticsearch-java-lang-illegalstateexception-duplicate-key-org-elasticsearch-plugins-pluginsservice-bundle-e3623fe/170847>\
**Category:** Elasticsearch\
**Created:** [March 5, 2019, 8:57am UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-java-lang-illegalstateexception-duplicate-key-org-elasticsearch-plugins-pluginsservice-bundle-e3623fe/170847 "2019-03-05T08:57:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 5, 2019, 5:24pm UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-java-lang-illegalstateexception-duplicate-key-org-elasticsearch-plugins-pluginsservice-bundle-e3623fe/170847/6 "2019-03-05T17:24:59Z")

</div>

Please format your code, logs or configuration files using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

This is the icon to use if you are not using markdown format:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7e6e239431ec2d71cbf1beef741f2e93e7cc762c.jpg)

There's a live preview panel for exactly this reasons.

Some thoughts:

- You should not be connected as root but as `elasticsearch` user.
- The [documentation](https://www.elastic.co/guide/en/elasticsearch/plugins/current/installation.html) says to run:

```auto
sudo bin/elasticsearch-plugin install ingest-user-agent

```

May be you did not follow from the start how to properly install elasticsearch? Which package did you install?

---

_[View the full topic](https://discuss.elastic.co/t/unable-to-start-elasticsearch-java-lang-illegalstateexception-duplicate-key-org-elasticsearch-plugins-pluginsservice-bundle-e3623fe/170847)._
