I'm using elasticsearch-7.1.1 on Ubuntu 19.04 with elasticasearch being source compiled *.tar.gz
On the logs, I get as i start to start
./elasticsearch -d -p PID
2019-06-11T13:24:42,520][INFO ][o.e.p.PluginsService ] [elk] loaded module [x-pack-watcher]
[2019-06-11T13:24:42,520][INFO ][o.e.p.PluginsService ] [elk] no plugins loaded
[2019-06-11T13:24:45,128][ERROR][o.e.b.Bootstrap ] [elk] Exception
java.lang.IllegalArgumentException: unknown setting [es_enable_xpack] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:531) ~[elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:476) ~[elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:447) ~[elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:418) ~[elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:148) ~[elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.node.Node.<init>(Node.java:343) ~[elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.node.Node.<init>(Node.java:252) ~[elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:211) ~[elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:211) ~[elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:325) [elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) [elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) [elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-7.1.1.jar:7.1.1]
at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.1.1.jar:7.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) [elasticsearch-7.1.1.jar:7.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.1.1.jar:7.1.1]
Suppressed: java.lang.Ille
I have changed elasticsearch.yml to add the following:-
[2019-06-12T08:12:02,929][INFO ][o.e.t.TransportService ] [elk] publish_address {10.27.0.4:9300}, bound_addresses {0.0.0.0:9300}
[2019-06-12T08:12:02,938][INFO ][o.e.b.BootstrapChecks ] [elk] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2019-06-12T08:12:02,963][ERROR][o.e.b.Bootstrap ] [elk] node validation exception
[1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2019-06-12T08:12:02,972][INFO ][o.e.n.Node ] [elk] stopping ...
[2019-06-12T08:12:03,014][INFO ][o.e.n.Node ] [elk] stopped
[2019-06-12T08:12:03,014][INFO ][o.e.n.Node ] [elk] closing ...
[2019-06-12T08:12:03,027][INFO ][o.e.n.Node ] [elk] closed
[2019-06-12T08:12:03,029][INFO ][o.e.x.m.p.NativeController] [elk] Native controller process has stopped - no new native processes can be started
when I try to telnet to ports 9200 , 9300 and 5601 from remote machine it doesn't connects same is when I open with browser. I see , the ufw is turned off, and iptables is also default policy with no explicit deny statements.
The netstat , show the ports in listening mode as well.
yml file show as :-
> network.host: _local_
> discovery.seed_hosts: ["host1", "host2", "host3"]
> cluster.initial_master_nodes: ["node-1", "node-2", "node-3"]
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.