How to fix these errors while staring up Elasticsearch 6

Hi,

I am using ELK GA 6. When I launch elasticsearch, I was getting the error below;

[2017-11-27T14:23:09,678][WARN ][o.e.b.JNANatives         ] unable to install syscall filter:
java.lang.UnsupportedOperationException: seccomp unavailable: requires kernel 3.5+ with CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER compiled in
        at org.elasticsearch.bootstrap.SystemCallFilter.linuxImpl(SystemCallFilter.java:328) ~[elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.bootstrap.SystemCallFilter.init(SystemCallFilter.java:616) ~[elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.bootstrap.JNANatives.tryInstallSystemCallFilter(JNANatives.java:258) [elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.bootstrap.Natives.tryInstallSystemCallFilter(Natives.java:113) [elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:109) [elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:171) [elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:322) [elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:130) [elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:121) [elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:69) [elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) [elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-6.0.0.jar:6.0.0]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) [elasticsearch-6.0.0.jar:6.0.0]
[2017-11-27T14:23:09,938][INFO ][o.e.n.Node               ] [ga6_node_1] initializing ...
[2017-11-27T14:23:10,647][INFO ][o.e.e.NodeEnvironment    ] [ga6_node_1] using [1] data paths, mounts [[/data (/dev/mapper/vg2_data-lv2_data)]], net usable_space [62.6gb], net total_space [265.6gb], types [ext4]
[2017-11-27T14:23:10,647][INFO ][o.e.e.NodeEnvironment    ] [ga6_node_1] heap size [990.7mb], compressed ordinary object pointers [true]
[2017-11-27T14:23:10,649][INFO ][o.e.n.Node               ] [ga6_node_1] node name [ga6_node_1], node ID [BtLlSxX1TBahHAHYWT8uOw]
[2017-11-27T14:23:10,649][INFO ][o.e.n.Node               ] [ga6_node_1] version[6.0.0], pid[27509], build[8f0685b/2017-11-10T18:41:22.859Z], OS[Linux/2.6.32-504.el6.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_102/25.102-b14]
[2017-11-27T14:23:10,650][INFO ][o.e.n.Node               ] [ga6_node_1] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/data/setup/GA6/elasticsearch-6.0.0, -Des.path.conf=../CONFIG_HOME]
[2017-11-27T14:23:11,781][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [aggs-matrix-stats]
[2017-11-27T14:23:11,781][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [analysis-common]
[2017-11-27T14:23:11,781][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [ingest-common]
[2017-11-27T14:23:11,782][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [lang-expression]
[2017-11-27T14:23:11,782][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [lang-mustache]
[2017-11-27T14:23:11,782][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [lang-painless]
[2017-11-27T14:23:11,782][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [parent-join]
[2017-11-27T14:23:11,782][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [percolator]
[2017-11-27T14:23:11,782][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [reindex]
[2017-11-27T14:23:11,783][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [repository-url]
[2017-11-27T14:23:11,783][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [transport-netty4]
[2017-11-27T14:23:11,783][INFO ][o.e.p.PluginsService     ] [ga6_node_1] loaded module [tribe]
[2017-11-27T14:23:11,784][INFO ][o.e.p.PluginsService     ] [ga6_node_1] no plugins loaded
[2017-11-27T14:23:13,474][INFO ][o.e.d.DiscoveryModule    ] [ga6_node_1] using discovery type [zen]
[2017-11-27T14:23:14,381][INFO ][o.e.n.Node               ] [ga6_node_1] initialized
[2017-11-27T14:23:14,382][INFO ][o.e.n.Node               ] [ga6_node_1] starting ...
[2017-11-27T14:23:14,576][INFO ][o.e.t.TransportService   ] [ga6_node_1] publish_address {192.168.0.1:9300}, bound_addresses {192.168.0.1:9300}
[2017-11-27T14:23:14,594][INFO ][o.e.b.BootstrapChecks    ] [ga6_node_1] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
ERROR: [1] bootstrap checks failed
[1]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
[2017-11-27T14:23:14,610][INFO ][o.e.n.Node               ] [ga6_node_1] stopping ...
[2017-11-27T14:23:14,665][INFO ][o.e.n.Node               ] [ga6_node_1] stopped
[2017-11-27T14:23:14,665][INFO ][o.e.n.Node               ] [ga6_node_1] closing ...
[2017-11-27T14:23:14,684][INFO ][o.e.n.Node               ] [ga6_node_1] closed

I have solved the issue by setting bootstrap.system_call_filter: false in elasticsearch.yml file. But is it just skipping the checks? How can I get rid of this error without giving those attributes?

Thank you.

What OS and what kernel are you on?

Hi Mark, below are the details;

Linux mybox1 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

and

CentOS release 6.6 (Final)

Geez that's a really old kernel :frowning: Can you update it?

Sorry to hear that :frowning:

So the error can only be rectified by updating my kernel, right?

Yeah.
2.6 came out in the early 2000's :frowning:

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