插件[ingest-geoip]是为Elasticsearch版本6.2.4构建的,但版本6.5.0正在运行

时间:2018-11-16 04:40:02

标签: elasticsearch logstash kibana elastic-stack kibana-6

我正在使用ELK进行监视。几天前一切正常,突然停止工作。

请帮助我解决问题。

错误日志:

  

java.lang.IllegalArgumentException:插件[ingest-geoip]已构建   适用于Elasticsearch版本6.2.4,但版本6.5.0正在运行           在org.elasticsearch.plugins.PluginsService.verifyCompatibility(PluginsService.java:339)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.plugins.PluginsService.loadBundle(PluginsService.java:524)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:464)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.plugins.PluginsService。(PluginsService.java:156)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.node.Node。(Node.java:338)〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.node.Node。(Node.java:265)〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Bootstrap $ 5。(Bootstrap.java:212)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333)   [elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136)   [elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127)   [elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)   [elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)   [elasticsearch-cli-6.5.0.jar:6.5.0]           在org.elasticsearch.cli.Command.main(Command.java:90)[elasticsearch-cli-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93)   [elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86)   [elasticsearch-6.5.0.jar:6.5.0] [2018-11-15T23:33:31,908] [警告   ] [o.e.b.ElasticsearchUncaughtExceptionHandler] [97v4l7O]未捕获   线程[main]中的异常   org.elasticsearch.bootstrap.StartupException:   java.lang.IllegalArgumentException:插件[ingest-geoip]已构建   适用于Elasticsearch版本6.2.4,但版本6.5.0正在运行           在org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:140)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)   〜[elasticsearch-cli-6.5.0.jar:6.5.0]           在org.elasticsearch.cli.Command.main(Command.java:90)〜[elasticsearch-cli-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86)   〜[elasticsearch-6.5.0.jar:6.5.0]原因:   java.lang.IllegalArgumentException:插件[ingest-geoip]已构建   适用于Elasticsearch版本6.2.4,但版本6.5.0正在运行           在org.elasticsearch.plugins.PluginsService.verifyCompatibility(PluginsService.java:339)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.plugins.PluginsService.loadBundle(PluginsService.java:524)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:464)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.plugins.PluginsService。(PluginsService.java:156)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.node.Node。(Node.java:338)〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.node.Node。(Node.java:265)〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Bootstrap $ 5。(Bootstrap.java:212)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333)   〜[elasticsearch-6.5.0.jar:6.5.0]           在org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136)   〜[elasticsearch-6.5.0.jar:6.5.0]           ...还有6个

1 个答案:

答案 0 :(得分:3)

以某种方式,您已经从6.2.4升级到6.5.0,但是却忘记了升级插件。

要解决此问题,只需运行以下两个命令:

$ sudo bin/elasticsearch-plugin remove ingest-geoip
$ sudo bin/elasticsearch-plugin install ingest-geoip

更新:值得注意的是,从ES 6.7开始,ingest-geoip将是ES的full-fledge module,并且不再需要作为插件安装。