Elastic search service not running

Hi,

I have installed the elastic search,logstatch and kibana using the below url.

"https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-14-04"

But elastic search service is not started.i checked the log file, it throws the below error.

""[2015-11-26 13:29:46,791][ERROR][bootstrap ] Exception
java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;
at org.elasticsearch.threadpool.ThreadPool.(ThreadPool.java:190)
at org.elasticsearch.node.Node.(Node.java:160)
at org.elasticsearch.node.Node.(Node.java:129)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:285)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
[2015-11-26 13:43:51,177][INFO ][node ] [Douglock] version[2.1.0], pid[6578], build[72cd1f1/2015-11-18T22:40:03Z]
[2015-11-26 13:43:51,177][INFO ][node ] [Douglock] initializing ...
[2015-11-26 13:43:51,274][INFO ][plugins ] [Douglock] loaded [], sites []
[2015-11-26 13:43:51,327][INFO ][env ] [Douglock] using [1] data paths, mounts [[/ (/dev/sda3)]], net usable_space [289.4gb], net total_space [447.4gb], spins? [possibly], types [ext4]
[2015-11-26 13:43:51,335][ERROR][bootstrap ] Exception
java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;
at org.elasticsearch.threadpool.ThreadPool.(ThreadPool.java:190)
at org.elasticsearch.node.Node.(Node.java:160)
at org.elasticsearch.node.Node.(Node.java:129)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:285)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
[2015-11-26 14:33:36,661][INFO ][node ] [Terminatrix] version[2.1.0], pid[7048], build[72cd1f1/2015-11-18T22:40:03Z]
[2015-11-26 14:33:36,662][INFO ][node ] [Terminatrix] initializing ...
[2015-11-26 14:33:36,773][INFO ][plugins ] [Terminatrix] loaded [], sites []
[2015-11-26 14:33:36,814][INFO ][env ] [Terminatrix] using [1] data paths, mounts [[/ (/dev/sda3)]], net usable_space [289.4gb], net total_space [447.4gb], spins? [possibly], types [ext4]
[2015-11-26 14:33:36,822][ERROR][bootstrap ] Exception
java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;
at org.elasticsearch.threadpool.ThreadPool.(ThreadPool.java:190)
at org.elasticsearch.node.Node.(Node.java:160)
at org.elasticsearch.node.Node.(Node.java:129)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:285)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)

Can anybody give me a solution for the above issue.

Thanks,
Krishnan V

PLease upload elasticsearch.yml file and confirm the version of ES

I'm facing the same issue in my application, when trying to connect ELS 2.1.0 via transport client on ubuntu 14.04, but the same application works fine in ubuntu 13.04

Caused by: java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;
at org.elasticsearch.threadpool.ThreadPool.(ThreadPool.java:190)
at org.elasticsearch.client.transport.TransportClient$Builder.build(TransportClient.java:130)

I have even tried adding latest guava dependency, same issue.

com.google.guava guava-concurrent r03

Is this related to ubuntu version?

I also got same problem, while I switched elasticsearch version from 0.9.30 to 2.1.0. In order to resolve this issue I just upgraded the gauva lib to version 18 and it worked fine.

Yes, sorry for late reply. It requires gauva lib upgrade. After upgrading it worked for me as well.

Sorry for the ignorance. But what exactly did you do to get it running?

Another dependency was using old version Guava, so Guava version was not overridden. So I have excluded old version .