Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elasticsearch-6.3.1 Installation on RHEL 7.5 server #33075

Closed
shinux85 opened this issue Aug 23, 2018 · 5 comments
Closed

elasticsearch-6.3.1 Installation on RHEL 7.5 server #33075

shinux85 opened this issue Aug 23, 2018 · 5 comments

Comments

@shinux85
Copy link

Describe the feature:elasticsearch-6.3.1 Installation on RHEL 7.5 server

Elasticsearch version (bin/elasticsearch --version):elasticsearch-6.3.1

Plugins installed: []

JVM version (java -version):openjdk version "1.8.0_181"

OS version (uname -a if on a Unix-like system):Linux elk01 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

Description of the problem including expected versus actual behavior:
Installation hung after below state

[2018-08-23T09:12:47,259][INFO ][o.e.t.TransportService ] [AekEiw3] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2018-08-23T09:12:50,388][INFO ][o.e.c.s.MasterService ] [AekEiw3] zen-disco-elected-as-master ([0] nodes joined)[, ], reason: new_master {AekEiw3}{AekEiw3LTY2dZGgsMjAs2A}{blqMQN3lR4a-vUgr6hVKag}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=1928355840, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}
[2018-08-23T09:12:50,393][INFO ][o.e.c.s.ClusterApplierService] [AekEiw3] new_master {AekEiw3}{AekEiw3LTY2dZGgsMjAs2A}{blqMQN3lR4a-vUgr6hVKag}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=1928355840, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {AekEiw3}{AekEiw3LTY2dZGgsMjAs2A}{blqMQN3lR4a-vUgr6hVKag}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=1928355840, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)[, ]]])
[2018-08-23T09:12:50,515][INFO ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [AekEiw3] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2018-08-23T09:12:50,515][INFO ][o.e.n.Node ] [AekEiw3] started
[2018-08-23T09:12:50,951][WARN ][o.e.x.s.a.s.m.NativeRoleMappingStore] [AekEiw3] Failed to clear cache for realms [[]]
[2018-08-23T09:12:50,983][INFO ][o.e.l.LicenseService ] [AekEiw3] license [46d0817a-2a63-4872-ab62-08b57bd0284f] mode [basic] - valid
[2018-08-23T09:12:51,002][INFO ][o.e.g.GatewayService ] [AekEiw3] recovered [0] indices into cluster_state

Steps to reproduce:
1.install elasticsearch-6.3.1 on RHEL 7.5 server as non root user

Please include a minimal but complete recreation of the problem, including
(e.g.) index creation, mappings, settings, query etc. The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.

1.install elasticsearch-6.3.1 on RHEL 7.5 server as non root user
2.
3.

Provide logs (if relevant):
[elasticsearch@elk01 bin]$ ./elasticsearch
OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
[2018-08-23T09:12:29,054][INFO ][o.e.n.Node ] [] initializing ...
[2018-08-23T09:12:29,206][INFO ][o.e.e.NodeEnvironment ] [AekEiw3] using [1] data paths, mounts [[/opt (/dev/mapper/rootvg-opt)]], net usable_space [13.4gb], net total_space [14.9gb], types [xfs]
[2018-08-23T09:12:29,206][INFO ][o.e.e.NodeEnvironment ] [AekEiw3] heap size [1015.6mb], compressed ordinary object pointers [true]
[2018-08-23T09:12:29,215][INFO ][o.e.n.Node ] [AekEiw3] node name derived from node ID [AekEiw3LTY2dZGgsMjAs2A]; set [node.name] to override
[2018-08-23T09:12:29,215][INFO ][o.e.n.Node ] [AekEiw3] version[6.3.1], pid[17728], build[default/tar/eb782d0/2018-06-29T21:59:26.107521Z], OS[Linux/3.10.0-862.el7.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_181/25.181-b13]
[2018-08-23T09:12:29,216][INFO ][o.e.n.Node ] [AekEiw3] 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, -Djava.io.tmpdir=/tmp/elasticsearch.7BKMRVSV, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.path.home=/opt/elasticsearch-6.3.1, -Des.path.conf=/opt/elasticsearch-6.3.1/config, -Des.distribution.flavor=default, -Des.distribution.type=tar]
[2018-08-23T09:12:36,392][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [aggs-matrix-stats]
[2018-08-23T09:12:36,392][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [analysis-common]
[2018-08-23T09:12:36,392][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [ingest-common]
[2018-08-23T09:12:36,392][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [lang-expression]
[2018-08-23T09:12:36,393][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [lang-mustache]
[2018-08-23T09:12:36,393][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [lang-painless]
[2018-08-23T09:12:36,393][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [mapper-extras]
[2018-08-23T09:12:36,393][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [parent-join]
[2018-08-23T09:12:36,393][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [percolator]
[2018-08-23T09:12:36,393][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [rank-eval]
[2018-08-23T09:12:36,393][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [reindex]
[2018-08-23T09:12:36,393][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [repository-url]
[2018-08-23T09:12:36,393][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [transport-netty4]
[2018-08-23T09:12:36,393][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [tribe]
[2018-08-23T09:12:36,393][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [x-pack-core]
[2018-08-23T09:12:36,394][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [x-pack-deprecation]
[2018-08-23T09:12:36,394][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [x-pack-graph]
[2018-08-23T09:12:36,394][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [x-pack-logstash]
[2018-08-23T09:12:36,394][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [x-pack-ml]
[2018-08-23T09:12:36,394][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [x-pack-monitoring]
[2018-08-23T09:12:36,394][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [x-pack-rollup]
[2018-08-23T09:12:36,394][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [x-pack-security]
[2018-08-23T09:12:36,394][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [x-pack-sql]
[2018-08-23T09:12:36,394][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [x-pack-upgrade]
[2018-08-23T09:12:36,394][INFO ][o.e.p.PluginsService ] [AekEiw3] loaded module [x-pack-watcher]
[2018-08-23T09:12:36,395][INFO ][o.e.p.PluginsService ] [AekEiw3] no plugins loaded
[2018-08-23T09:12:42,991][INFO ][o.e.x.s.a.s.FileRolesStore] [AekEiw3] parsed [0] roles from file [/opt/elasticsearch-6.3.1/config/roles.yml]
[2018-08-23T09:12:44,420][INFO ][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/17776] [Main.cc@109] controller (64 bit): Version 6.3.1 (Build 4d0b8f0a0ef401) Copyright (c) 2018 Elasticsearch BV
[2018-08-23T09:12:45,048][DEBUG][o.e.a.ActionModule ] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2018-08-23T09:12:45,471][INFO ][o.e.d.DiscoveryModule ] [AekEiw3] using discovery type [zen]
[2018-08-23T09:12:46,950][INFO ][o.e.n.Node ] [AekEiw3] initialized
[2018-08-23T09:12:46,950][INFO ][o.e.n.Node ] [AekEiw3] starting ...
[2018-08-23T09:12:47,259][INFO ][o.e.t.TransportService ] [AekEiw3] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2018-08-23T09:12:50,388][INFO ][o.e.c.s.MasterService ] [AekEiw3] zen-disco-elected-as-master ([0] nodes joined)[, ], reason: new_master {AekEiw3}{AekEiw3LTY2dZGgsMjAs2A}{blqMQN3lR4a-vUgr6hVKag}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=1928355840, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}
[2018-08-23T09:12:50,393][INFO ][o.e.c.s.ClusterApplierService] [AekEiw3] new_master {AekEiw3}{AekEiw3LTY2dZGgsMjAs2A}{blqMQN3lR4a-vUgr6hVKag}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=1928355840, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {AekEiw3}{AekEiw3LTY2dZGgsMjAs2A}{blqMQN3lR4a-vUgr6hVKag}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=1928355840, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)[, ]]])
[2018-08-23T09:12:50,515][INFO ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [AekEiw3] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2018-08-23T09:12:50,515][INFO ][o.e.n.Node ] [AekEiw3] started
[2018-08-23T09:12:50,951][WARN ][o.e.x.s.a.s.m.NativeRoleMappingStore] [AekEiw3] Failed to clear cache for realms [[]]
[2018-08-23T09:12:50,983][INFO ][o.e.l.LicenseService ] [AekEiw3] license [46d0817a-2a63-4872-ab62-08b57bd0284f] mode [basic] - valid
[2018-08-23T09:12:51,002][INFO ][o.e.g.GatewayService ] [AekEiw3] recovered [0] indices into cluster_state

@jkakavas
Copy link
Member

There doesn't seem to be anything wrong in the log output you're sharing. Elasticserach
seem to have started up just fine and you can access it at http://127.0.0.1:9200
This rather appears to be a user question, and we'd like to direct these kinds
of things to the forums. If you can stop
by there, we'd appreciate it. This allows us to use GitHub for verified
bug reports, feature requests, and pull requests.

@fidogithub
Copy link

I am facing same

$ ./elasticsearch
[2018-10-22T07:14:57,429][INFO ][o.e.n.Node               ] [] initializing ...
[2018-10-22T07:14:57,491][INFO ][o.e.e.NodeEnvironment    ] [tICd8KV] using [1] data paths, mounts [[/ (/dev/mapper/turnkey-root)]], net usable_space [13gb], net total_space [16.6gb], types [ext4]
[2018-10-22T07:14:57,491][INFO ][o.e.e.NodeEnvironment    ] [tICd8KV] heap size [1007.3mb], compressed ordinary object pointers [true]
[2018-10-22T07:14:57,493][INFO ][o.e.n.Node               ] [tICd8KV] node name derived from node ID [tICd8KVbR3OD0c7Qe2D6_w]; set [node.name] to override
[2018-10-22T07:14:57,493][INFO ][o.e.n.Node               ] [tICd8KV] version[6.4.2], pid[13993], build[default/tar/04711c2/2018-09-26T13:34:09.098244Z], OS[Linux/4.9.0-8-amd64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_181/25.181-b13]
[2018-10-22T07:14:57,493][INFO ][o.e.n.Node               ] [tICd8KV] 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, -Djava.io.tmpdir=/tmp/elasticsearch.OfLoRSmo, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.path.home=/ElasticSearch/elasticsearch-6.4.2, -Des.path.conf=/ElasticSearch/elasticsearch-6.4.2/config, -Des.distribution.flavor=default, -Des.distribution.type=tar]
[2018-10-22T07:14:59,118][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [aggs-matrix-stats]
[2018-10-22T07:14:59,118][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [analysis-common]
[2018-10-22T07:14:59,119][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [ingest-common]
[2018-10-22T07:14:59,119][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [lang-expression]
[2018-10-22T07:14:59,119][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [lang-mustache]
[2018-10-22T07:14:59,119][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [lang-painless]
[2018-10-22T07:14:59,120][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [mapper-extras]
[2018-10-22T07:14:59,120][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [parent-join]
[2018-10-22T07:14:59,120][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [percolator]
[2018-10-22T07:14:59,120][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [rank-eval]
[2018-10-22T07:14:59,121][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [reindex]
[2018-10-22T07:14:59,121][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [repository-url]
[2018-10-22T07:14:59,121][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [transport-netty4]
[2018-10-22T07:14:59,121][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [tribe]
[2018-10-22T07:14:59,121][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [x-pack-core]
[2018-10-22T07:14:59,121][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [x-pack-deprecation]
[2018-10-22T07:14:59,121][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [x-pack-graph]
[2018-10-22T07:14:59,121][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [x-pack-logstash]
[2018-10-22T07:14:59,122][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [x-pack-ml]
[2018-10-22T07:14:59,122][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [x-pack-monitoring]
[2018-10-22T07:14:59,122][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [x-pack-rollup]
[2018-10-22T07:14:59,123][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [x-pack-security]
[2018-10-22T07:14:59,123][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [x-pack-sql]
[2018-10-22T07:14:59,123][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [x-pack-upgrade]
[2018-10-22T07:14:59,123][INFO ][o.e.p.PluginsService     ] [tICd8KV] loaded module [x-pack-watcher]
[2018-10-22T07:14:59,124][INFO ][o.e.p.PluginsService     ] [tICd8KV] no plugins loaded
[2018-10-22T07:15:03,293][INFO ][o.e.x.s.a.s.FileRolesStore] [tICd8KV] parsed [0] roles from file [/ElasticSearch/elasticsearch-6.4.2/config/roles.yml]
[2018-10-22T07:15:03,819][INFO ][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/14049] [Main.cc@109] controller (64 bit): Version 6.4.2 (Build 660eefe6f2ea55) Copyright (c) 2018 Elasticsearch BV
[2018-10-22T07:15:04,165][DEBUG][o.e.a.ActionModule       ] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2018-10-22T07:15:04,379][INFO ][o.e.d.DiscoveryModule    ] [tICd8KV] using discovery type [zen]
[2018-10-22T07:15:05,202][INFO ][o.e.n.Node               ] [tICd8KV] initialized
[2018-10-22T07:15:05,202][INFO ][o.e.n.Node               ] [tICd8KV] starting ...
[2018-10-22T07:15:05,349][INFO ][o.e.t.TransportService   ] [tICd8KV] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2018-10-22T07:15:05,408][WARN ][o.e.b.BootstrapChecks    ] [tICd8KV] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2018-10-22T07:15:08,460][INFO ][o.e.c.s.MasterService    ] [tICd8KV] zen-disco-elected-as-master ([0] nodes joined)[, ], reason: new_master {tICd8KV}{tICd8KVbR3OD0c7Qe2D6_w}{SxJHRZzURNulilvqW7A6KA}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=4148072448, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}
[2018-10-22T07:15:08,465][INFO ][o.e.c.s.ClusterApplierService] [tICd8KV] new_master {tICd8KV}{tICd8KVbR3OD0c7Qe2D6_w}{SxJHRZzURNulilvqW7A6KA}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=4148072448, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {tICd8KV}{tICd8KVbR3OD0c7Qe2D6_w}{SxJHRZzURNulilvqW7A6KA}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=4148072448, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)[, ]]])
[2018-10-22T07:15:08,540][INFO ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [tICd8KV] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2018-10-22T07:15:08,540][INFO ][o.e.n.Node               ] [tICd8KV] started
[2018-10-22T07:15:08,758][WARN ][o.e.x.s.a.s.m.NativeRoleMappingStore] [tICd8KV] Failed to clear cache for realms [[]]
[2018-10-22T07:15:08,804][INFO ][o.e.l.LicenseService     ] [tICd8KV] license [8fcf289d-07d7-4b46-b60c-b4d007dba19e] mode [basic] - valid
[2018-10-22T07:15:08,821][INFO ][o.e.g.GatewayService     ] [tICd8KV] recovered [0] indices into cluster_state

@f625959392
Copy link

And how do you deal with it? I am facing same,

@hellxz
Copy link

hellxz commented May 30, 2019

I am facing same, too. so , is it unnecessary?

@susangz
Copy link

susangz commented Oct 14, 2020

Hi! I'm facing same too. In my case with version 5.6.16 because I need 5.x to connect it to TheHive and Cortex. It's really strange because the same steps I'm following are working in another machine. Any idea? How did you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants