Answer the question
In order to leave comments, you need to log in
Elastic throws an error when accessing plugins?
I installed elasticsearch 1.7.3 on debian jessie. It uses the default config files ( /etc/default/elasticsearch
didn't change anything either) and it works fine. But when accessing, an sudo /usr/share/elasticsearch/bin/plugin
error occurs:
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)
/usr/share/elasticsearch/config/elasticsearch.yml
exists and normally opens through nano. Answer the question
In order to leave comments, you need to log in
The user under which the elastic is launched has the rights to the file!?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question