Bug#807596: elasticsearch: Unable to manage plugins because of org.elasticsearch.env.FailedToResolveConfigException
Michael Fladischer
fladi at debian.org
Thu Dec 10 16:44:03 UTC 2015
Package: elasticsearch
Version: 1.7.3+dfsg-2
Severity: normal
Dear Maintainer,
trying to manage plugins for elasticsearch only yields excpetions from the
bin/plugin tool:
$ sudo /usr/share/elasticsearch/bin/plugin list
Exception in thread "main" org.elasticsearch.env.FailedToResolveConfigException: Failed to resolve config path ["/usr/share/elasticsearch/config/elasticsearch.yml"], tried file path ["/usr/share/elasticsearch/config/elasticsearch.yml"], path file ["/usr/share/elasticsearch/config"/"/usr/share/elasticsearch/config/elasticsearch.yml"], and classpath
at org.elasticsearch.env.Environment.resolveConfig(Environment.java:291)
at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareSettings(InternalSettingsPreparer.java:95)
at org.elasticsearch.plugins.PluginManager.main(PluginManager.java:396)
The configuration file also seems to be in the wrong location (/usr) while the elastichsearch daemon uses the one from /etc.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.0.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages elasticsearch depends on:
ii adduser 3.113+nmu3
ii default-jre-headless [java6-runtime-headless] 2:1.7-52.1
ii java-wrappers 0.1.28
ii libelasticsearch1.7-java 1.7.3+dfsg-2
ii openjdk-7-jre-headless [java6-runtime-headless] 7u91-2.6.3-2
ii openjdk-8-jre-headless [java6-runtime-headless] 8u72-b05-2
elasticsearch recommends no packages.
elasticsearch suggests no packages.
-- Configuration Files:
/etc/default/elasticsearch changed [not included]
/etc/elasticsearch/elasticsearch.yml changed [not included]
-- no debconf information
More information about the pkg-java-maintainers
mailing list