why elasticsearch won't run on Ubuntu 14.04?

前端 未结 9 923
隐瞒了意图╮
隐瞒了意图╮ 2020-12-23 01:54

I\'m trying to determine if the elasticsearch instance is running, but it doesn\'t appear to be:

ubuntu@ubuntu:~$ sudo service elasticsearch status
 * elasti         


        
9条回答
  •  悲&欢浪女
    2020-12-23 02:41

    I got to the same point after I've done apt-get dist-upgrade - JAVA got updated to "Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)" version.

    My ES did not want to start. I found the cause here (tail -n100 /var/log/elasticsearch/elasticsearch.log):

    java.lang.IllegalArgumentException: Plugin [license] is incompatible with Elasticsearch [2.3.2]. Was designed for version [2.3.1]
    

    I just removed the plugin (bin/plugin remove license) and started ES successfully.

    I hope this will help others.

提交回复
热议问题