opendistro-for-elasticsearch / sample-code

👋 Welcome to the Open Distro sample-code area. Share your great ideas and code samples with the Open Distro Community.
https://github.com/opendistro-for-elasticsearch/sample-code
Apache License 2.0
278 stars 81 forks source link

Issues while installing Opendistro on Debian #222

Closed monteksingh closed 3 years ago

monteksingh commented 3 years ago

I used the installation guidelines on [https://opendistro.github.io/for-elasticsearch-docs/docs/install/deb/]

After typing "sudo apt install opendistroforelasticsearch", I get the following error.

Basedir: /usr/share/elasticsearch                                                                                                                             
This script maybe require your root password for 'sudo' privileges

Unable to determine Elasticsearch config directory. Quit.                                                        
dpkg: error processing package opendistro-security (--configure): 
subprocess installed post-installation script returned error exit status 255  
dpkg: dependency problems prevent configuration of opendistroforelasticsearch:
opendistroforelasticsearch depends on opendistro-security (>= 1.11.0.0); however: 
Package opendistro-security is not configured yet.
opendistroforelasticsearch depends on opendistro-security (<< 1.11.1.0); 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

Pls help

monteksingh commented 3 years ago

I did a fresh Install and realized there was some issue in Elasticsearch installation itself. Now things are working fine thanks for your help. https://github.com/opendistro/for-elasticsearch-docs/issues/343