# Elasticsearch Service suddenly not working in Ubuntu

**URL:** <https://discuss.elastic.co/t/elasticsearch-service-suddenly-not-working-in-ubuntu/97856>\
**Category:** Elasticsearch\
**Created:** [August 22, 2017, 6:31am UTC](https://discuss.elastic.co/t/elasticsearch-service-suddenly-not-working-in-ubuntu/97856 "2017-08-22T06:31:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheCthulhuKid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thecthulhukid/32/12213_2.png) [@TheCthulhuKid](https://discuss.elastic.co/u/TheCthulhuKid)\
**Post date:** [August 22, 2017, 6:31am UTC](https://discuss.elastic.co/t/elasticsearch-service-suddenly-not-working-in-ubuntu/97856/1 "2017-08-22T06:31:47Z")

</div>

When I left the office yesterday I was using ES (5.5.2) with no problem on my Ubuntu 16.10 VM as I have been for the last couple of months. This morning I start up the VM and try to access the cluster and get an exception that the socket connection was refused.

When checking the `status` I get the following:  
`Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused`

I know ubuntu uses `systemd` but it has been working fine up until now.

There was an update from the Elasticsearch repo yesterday and I am not certain if I restarted the machine at any point after that. There was no update installed this morning.

I have tried stopping and restarting the service, as well as reloading the daemon.

Before I do a fresh install I thought I'd ask here.

Cheers!

---

<div class="post-metadata">

**Author:** ![xavierfacq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xavierfacq/32/8744_2.png) [@xavierfacq](https://discuss.elastic.co/u/xavierfacq)\
**Post date:** [August 22, 2017, 7:47am UTC](https://discuss.elastic.co/t/elasticsearch-service-suddenly-not-working-in-ubuntu/97856/2 "2017-08-22T07:47:06Z")

</div>

Hi,

Can you give the content of the log file when you try to start the service ?

more /var/log/elasticsearch/[nodename].log

---

<div class="post-metadata">

**Author:** ![TheCthulhuKid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thecthulhukid/32/12213_2.png) [@TheCthulhuKid](https://discuss.elastic.co/u/TheCthulhuKid)\
**Post date:** [August 22, 2017, 8:03am UTC](https://discuss.elastic.co/t/elasticsearch-service-suddenly-not-working-in-ubuntu/97856/3 "2017-08-22T08:03:55Z")

</div>

And that, of course, found the issue. The update yesterday made the ingest plugin incompatible with the ES version. Strange that the exception mentions upstart. Below is the start of the log:

> [2017-08-22T07:42:35,895][ERROR][o.e.b.Bootstrap] Exception  
> java.lang.IllegalArgumentException: plugin [ingest-attachment] is incompatible with version [5.5.2]; was designed for version [5.5.1]  
> at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:146) ~[elasticsearch-5.5.2.jar:5.5.2]  
> at org.elasticsearch.bootstrap.Spawner.spawnNativePluginControllers(Spawner.java:76) ~[elasticsearch-5.5.2.jar:5.5.2]  
> at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:167) ~[elasticsearch-5.5.2.jar:5.5.2]  
> at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) [elasticsearch-5.5.2.jar:5.5.2]  
> at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) [elasticsearch-5.5.2.jar:5.5.2]  
> at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114) [elasticsearch-5.5.2.jar:5.5.2]  
> at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67) [elasticsearch-5.5.2.jar:5.5.2]  
> at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) [elasticsearch-5.5.2.jar:5.5.2]  
> at org.elasticsearch.cli.Command.main(Command.java:88) [elasticsearch-5.5.2.jar:5.5.2]  
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) [elasticsearch-5.5.2.jar:5.5.2]  
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) [elasticsearch-5.5.2.jar:5.5.2]  
> [2017-08-22T07:42:35,901][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] uncaught exception in thread [main]  
> org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: plugin [ingest-attachment] is incompatible with version [5.5.2]; was designed for version [5.5.1]

---

<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:** [September 19, 2017, 8:03am UTC](https://discuss.elastic.co/t/elasticsearch-service-suddenly-not-working-in-ubuntu/97856/4 "2017-09-19T08:03:57Z")

</div>

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