# Unable to install Elastic search with Open distro

**URL:** https://discuss.elastic.co/t/unable-to-install-elastic-search-with-open-distro/202326
**Category:** Elasticsearch
**Created:** [October 4, 2019, 10:19am UTC](https://discuss.elastic.co/t/unable-to-install-elastic-search-with-open-distro/202326 "2019-10-04T10:19:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vejibeta](https://avatars.discourse-cdn.com/v4/letter/v/45deac/32.png) [@vejibeta](https://discuss.elastic.co/u/vejibeta)
#### Post date: [October 4, 2019, 10:19am UTC](https://discuss.elastic.co/t/unable-to-install-elastic-search-with-open-distro/202326/1 "2019-10-04T10:19:36Z")

</div>

Unable to install Elastic search with Open distro.

commands(from official website of open distro):

```auto
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.2.0-amd64.deb
sudo dpkg -i elasticsearch-oss-7.2.0-amd64.deb

wget -qO - https://d3g5vo6xdbdb9a.cloudfront.net/GPG-KEY-opendistroforelasticsearch | sudo apt-key add -
echo "deb https://d3g5vo6xdbdb9a.cloudfront.net/apt stable main" | sudo tee -a /etc/apt/sources.list.d/opendistroforelasticsearch.list

sudo apt-get update
sudo apt install -y opendistroforelasticsearch

```

OUTPUT:

```auto
dpkg: dependency problems prevent configuration of opendistroforelasticsearch:
 opendistroforelasticsearch depends on opendistro-security (>= 1.2.0); however:
  Package opendistro-security is not configured yet.
 opendistroforelasticsearch depends on opendistro-security (<< 1.2.1); however:
  Package opendistro-security is not configured yet.

dpkg: error processing package opendistroforelasticsearch (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 opendistro-security
 opendistroforelasticsearch
E: Sub-process /usr/bin/dpkg returned an error code (1)

```

Journal:

> ```
> 058 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
> node2 elasticsearch[52189]: at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
> node2 elasticsearch[52189]: at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:444)
> node2 elasticsearch[52189]: at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1805)
> node2 elasticsearch[52189]: at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:318)
> node2 elasticsearch[52189]: at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
> node2 elasticsearch[52189]: at org.apache.logging.log4j.core.jmx.Server.register(Server.java:393)
> node2 elasticsearch[52189]: at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:168)
> node2 elasticsearch[52189]: at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:141)
> node2 elasticsearch[52189]: at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:558)
> node2 elasticsearch[52189]: at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:263)
> 
> ```

---

<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: [October 4, 2019, 10:31am UTC](https://discuss.elastic.co/t/unable-to-install-elastic-search-with-open-distro/202326/2 "2019-10-04T10:31:45Z")

</div>

Welcome!

I'm afraid we don't support OpenDistro here. You should ask for help in their specific forum instead.

---

<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: [November 1, 2019, 10:31am UTC](https://discuss.elastic.co/t/unable-to-install-elastic-search-with-open-distro/202326/3 "2019-11-01T10:31:54Z")

</div>

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