Help in installing search guard and search guard ssl

59 views
Skip to first unread message

Fernando Giraldo

unread,
Jan 26, 2017, 10:02:24 PM1/26/17
to Search Guard
Hello, I have followed the installation guide of both plugins, but at the end I have not managed to start the execution of elasticsearch and on the contrary I am getting the following error in the log:

[2017-01-26 21:40:13,318][INFO ][node                     ] [elastic-prod-node-1] version[2.3.3], pid[14422], build[218bdf1/2016-05-17T15:40:04Z]
[2017-01-26 21:40:13,320][INFO ][node                     ] [elastic-prod-node-1] initializing ...
[2017-01-26 21:40:15,862][ERROR][bootstrap                ] Exception
java.lang.IllegalStateException: failed to load bundle [file:/usr/share/elasticsearch/plugins/search-guard-2/search-guard-2-2.3.3.10.jar, file:/usr/share/elasticsearch/plugins/search-guard-ssl/netty-buffer-4.0.37.Final.jar, file:/usr/share/elasticsearch/plugins/search-guard-ssl/search-guard-ssl-2.3.3.19.jar, file:/usr/share/elasticsearch/plugins/search-guard-ssl/netty-tcnative-openssl-static-1.1.33.Fork17-linux-x86_64.jar, file:/usr/share/elasticsearch/plugins/search-guard-ssl/netty-transport-4.0.37.Final.jar, file:/usr/share/elasticsearch/plugins/search-guard-ssl/netty-handler-4.0.37.Final.jar, file:/usr/share/elasticsearch/plugins/search-guard-ssl/netty-common-4.0.37.Final.jar, file:/usr/share/elasticsearch/plugins/search-guard-ssl/netty-codec-4.0.37.Final.jar] due to jar hell
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:421)
at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:129)
at org.elasticsearch.node.Node.<init>(Node.java:158)
at org.elasticsearch.node.Node.<init>(Node.java:140)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:219)
at java.util.zip.ZipFile.<init>(ZipFile.java:149)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:103)
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:174)
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:419)
... 7 more

I appreciate if anyone can give me a guide to make sure I'm working well.

SG

unread,
Jan 27, 2017, 2:35:36 AM1/27/17
to search...@googlegroups.com
strange, seems like file corruption.

I recommend to re-install Search Guard and if this does not help you may want to enable debug logging (for the root logger, not only Search Guard), then we should see some more details which file is corrupted and ehy jar hell check fails.

To enable debug edit config/logging.yml (same location as elasticsearch,yml) and replace 'es.logger.level: INFO' with 'es.logger.level: DEBUG'.
> --
> You received this message because you are subscribed to the Google Groups "Search Guard" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to search-guard...@googlegroups.com.
> To post to this group, send email to search...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/2693bbc6-04e7-4ef3-990e-4ae560111b0a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages