Install Elasticsearch 8.4. on windows

I did the installation of Elasticsearch 8.4 on windows but when executing elasticsearch.bat it runs the command, but it does not show the configuration information and it also does not save information in the elasticsearch.yml file.

can someone help me, thanks

Welcome to our community! :smiley:

Please share what you are seeing, but don't post a screenshot, copy and paste the log.

c:\elasticsearch\bin>elasticsearch.bat
[2022-09-14T08:43:32,468][INFO ][o.e.n.Node ] [CDPW19APKNAOI01] version[8.4.1], pid[7716], build[zip/2bd229c8e56650b42e40992322a76e7914258f0c/2022-08-26T12:11:43.232597118Z], OS[Windows Server 2019/10.0/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/18.0.2/18.0.2+9-61]
[2022-09-14T08:43:32,474][INFO ][o.e.n.Node ] [CDPW19APKNAOI01] JVM home [c:\elasticsearch\jdk], using bundled JDK [true]
[2022-09-14T08:43:32,474][INFO ][o.e.n.Node ] [CDPW19APKNAOI01] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -Djava.security.manager=allow, -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, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=C:\Users\ISAY~1.MAR\AppData\Local\Temp\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Xms8191m, -Xmx8191m, -XX:MaxDirectMemorySize=4294967296, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=25, -Des.distribution.type=zip, --module-path=c:\elasticsearch\lib, --add-modules=jdk.net, -Djdk.module.main=org.elasticsearch.server]
[2022-09-14T08:43:34,257][INFO ][c.a.c.i.j.JacksonVersion ] [CDPW19APKNAOI01] Package versions: jackson-annotations=2.13.2, jackson-core=2.13.2, jackson-databind=2.13.2.2, jackson-dataformat-xml=2.13.2, jackson-datatype-jsr310=2.13.2, azure-core=1.27.0, Troubleshooting version conflicts: Troubleshoot dependency version conflicts when using the Azure SDK for Java | Microsoft Docs
[2022-09-14T08:43:36,188][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [aggs-matrix-stats]
[2022-09-14T08:43:36,189][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [analysis-common]
[2022-09-14T08:43:36,190][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [constant-keyword]
[2022-09-14T08:43:36,190][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [data-streams]
[2022-09-14T08:43:36,191][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [frozen-indices]
[2022-09-14T08:43:36,191][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [ingest-attachment]
[2022-09-14T08:43:36,191][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [ingest-common]
[2022-09-14T08:43:36,191][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [ingest-geoip]
[2022-09-14T08:43:36,191][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [ingest-user-agent]
[2022-09-14T08:43:36,193][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [kibana]
[2022-09-14T08:43:36,193][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [lang-expression]
[2022-09-14T08:43:36,193][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [lang-mustache]
[2022-09-14T08:43:36,194][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [lang-painless]
[2022-09-14T08:43:36,194][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [legacy-geo]
[2022-09-14T08:43:36,195][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [mapper-extras]
[2022-09-14T08:43:36,195][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [mapper-version]
[2022-09-14T08:43:36,195][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [old-lucene-versions]
[2022-09-14T08:43:36,195][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [parent-join]
[2022-09-14T08:43:36,197][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [percolator]
[2022-09-14T08:43:36,197][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [rank-eval]
[2022-09-14T08:43:36,198][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [reindex]
[2022-09-14T08:43:36,201][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [repositories-metering-api]
[2022-09-14T08:43:36,201][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [repository-azure]
[2022-09-14T08:43:36,201][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [repository-encrypted]
[2022-09-14T08:43:36,202][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [repository-gcs]
[2022-09-14T08:43:36,202][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [repository-s3]
[2022-09-14T08:43:36,203][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [repository-url]
[2022-09-14T08:43:36,203][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [runtime-fields-common]
[2022-09-14T08:43:36,203][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [search-business-rules]
[2022-09-14T08:43:36,203][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [searchable-snapshots]
[2022-09-14T08:43:36,204][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [snapshot-based-recoveries]
[2022-09-14T08:43:36,204][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [snapshot-repo-test-kit]
[2022-09-14T08:43:36,204][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [spatial]
[2022-09-14T08:43:36,206][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [transform]
[2022-09-14T08:43:36,206][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [transport-netty4]
[2022-09-14T08:43:36,206][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [unsigned-long]
[2022-09-14T08:43:36,206][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [vector-tile]
[2022-09-14T08:43:36,206][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [wildcard]
[2022-09-14T08:43:36,208][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-aggregate-metric]
[2022-09-14T08:43:36,208][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-analytics]
[2022-09-14T08:43:36,208][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-async]
[2022-09-14T08:43:36,211][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-async-search]
[2022-09-14T08:43:36,211][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-autoscaling]
[2022-09-14T08:43:36,211][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-ccr]
[2022-09-14T08:43:36,211][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-core]
[2022-09-14T08:43:36,211][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-deprecation]
[2022-09-14T08:43:36,211][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-enrich]
[2022-09-14T08:43:36,213][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-eql]
[2022-09-14T08:43:36,213][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-fleet]
[2022-09-14T08:43:36,213][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-graph]
[2022-09-14T08:43:36,213][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-identity-provider]
[2022-09-14T08:43:36,213][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-ilm]
[2022-09-14T08:43:36,214][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-logstash]
[2022-09-14T08:43:36,214][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-ml]
[2022-09-14T08:43:36,216][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-monitoring]
[2022-09-14T08:43:36,216][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-ql]
[2022-09-14T08:43:36,217][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-rollup]
[2022-09-14T08:43:36,218][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-security]
[2022-09-14T08:43:36,218][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-shutdown]
[2022-09-14T08:43:36,219][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-sql]
[2022-09-14T08:43:36,220][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-stack]
[2022-09-14T08:43:36,226][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-text-structure]
[2022-09-14T08:43:36,226][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-voting-only-node]
[2022-09-14T08:43:36,227][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] loaded module [x-pack-watcher]
[2022-09-14T08:43:36,227][INFO ][o.e.p.PluginsService ] [CDPW19APKNAOI01] no plugins loaded
[2022-09-14T08:43:38,858][INFO ][o.e.e.NodeEnvironment ] [CDPW19APKNAOI01] using [1] data paths, mounts [[OS (c:)]], net usable_space [42.5gb], net total_space [79.4gb], types [NTFS]
[2022-09-14T08:43:38,858][INFO ][o.e.e.NodeEnvironment ] [CDPW19APKNAOI01] heap size [8gb], compressed ordinary object pointers [true]
[2022-09-14T08:43:38,914][INFO ][o.e.n.Node ] [CDPW19APKNAOI01] node name [CDPW19APKNAOI01], node ID [d9UJy81SRm-dYnxHorTApw], cluster name [elasticsearch], roles [ingest, data_frozen, ml, data_hot, transform, data_content, data_warm, master, remote_cluster_client, data, data_cold]
[2022-09-14T08:43:42,265][INFO ][o.e.x.s.Security ] [CDPW19APKNAOI01] Security is enabled
[2022-09-14T08:43:42,699][INFO ][o.e.x.s.a.s.FileRolesStore] [CDPW19APKNAOI01] parsed [0] roles from file [c:\elasticsearch\config\roles.yml]
[2022-09-14T08:43:43,200][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [CDPW19APKNAOI01] [controller/8080] [Main.cc@123] controller (64 bit): Version 8.4.1 (Build c0373714f3bc4b) Copyright (c) 2022 Elasticsearch BV
[2022-09-14T08:43:43,832][INFO ][o.e.t.n.NettyAllocator ] [CDPW19APKNAOI01] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}]
[2022-09-14T08:43:43,862][INFO ][o.e.i.r.RecoverySettings ] [CDPW19APKNAOI01] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
[2022-09-14T08:43:43,904][INFO ][o.e.d.DiscoveryModule ] [CDPW19APKNAOI01] using discovery type [multi-node] and seed hosts providers [settings]
[2022-09-14T08:43:45,188][INFO ][o.e.n.Node ] [CDPW19APKNAOI01] initialized
[2022-09-14T08:43:45,189][INFO ][o.e.n.Node ] [CDPW19APKNAOI01] starting ...
[2022-09-14T08:43:45,204][INFO ][o.e.x.s.c.f.PersistentCache] [CDPW19APKNAOI01] persistent cache index loaded
[2022-09-14T08:43:45,205][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [CDPW19APKNAOI01] deprecation component started
[2022-09-14T08:43:45,331][INFO ][o.e.t.TransportService ] [CDPW19APKNAOI01] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}, {[::1]:9300}
[2022-09-14T08:43:45,651][WARN ][o.e.b.BootstrapChecks ] [CDPW19APKNAOI01] the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
[2022-09-14T08:43:45,652][WARN ][o.e.b.BootstrapChecks ] [CDPW19APKNAOI01] Transport SSL must be enabled if security is enabled. Please set [xpack.security.transport.ssl.enabled] to [true] or disable security by setting [xpack.security.enabled] to [false]
[2022-09-14T08:43:45,655][INFO ][o.e.c.c.ClusterBootstrapService] [CDPW19APKNAOI01] this node is locked into cluster UUID [dalP3lSfQgmiCqX6_wxgLA] and will not attempt further cluster bootstrapping
[2022-09-14T08:43:45,672][INFO ][o.e.c.c.ClusterBootstrapService] [CDPW19APKNAOI01] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered
[2022-09-14T08:43:45,786][INFO ][o.e.c.s.MasterService ] [CDPW19APKNAOI01] elected-as-master ([1] nodes joined)[FINISH_ELECTION, {CDPW19APKNAOI01}{d9UJy81SRm-dYnxHorTApw}{t--EsXmRQz25SXTUI3Tc3w}{CDPW19APKNAOI01}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw} completing election], term: 23, version: 121, delta: master node changed {previous , current [{CDPW19APKNAOI01}{d9UJy81SRm-dYnxHorTApw}{t--EsXmRQz25SXTUI3Tc3w}{CDPW19APKNAOI01}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]}
[2022-09-14T08:43:45,839][INFO ][o.e.c.s.ClusterApplierService] [CDPW19APKNAOI01] master node changed {previous , current [{CDPW19APKNAOI01}{d9UJy81SRm-dYnxHorTApw}{t--EsXmRQz25SXTUI3Tc3w}{CDPW19APKNAOI01}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]}, term: 23, version: 121, reason: Publication{term=23, version=121}
[2022-09-14T08:43:45,874][INFO ][o.e.r.s.FileSettingsService] [CDPW19APKNAOI01] starting file settings watcher ...
[2022-09-14T08:43:45,880][INFO ][o.e.r.s.FileSettingsService] [CDPW19APKNAOI01] file settings service up and running [tid=63]
[2022-09-14T08:43:45,901][INFO ][o.e.h.AbstractHttpServerTransport] [CDPW19APKNAOI01] publish_address {127.0.0.1:9200}, bound_addresses {127.0.0.1:9200}, {[::1]:9200}
[2022-09-14T08:43:45,902][INFO ][o.e.n.Node ] [CDPW19APKNAOI01] started {CDPW19APKNAOI01}{d9UJy81SRm-dYnxHorTApw}{t--EsXmRQz25SXTUI3Tc3w}{CDPW19APKNAOI01}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{xpack.installed=true, ml.machine_memory=17179267072, ml.max_jvm_size=8589934592, ml.allocated_processors=8}
[2022-09-14T08:43:45,965][INFO ][o.e.l.LicenseService ] [CDPW19APKNAOI01] license [6a8fec6d-34ab-4d14-b7dc-298c9fb9aedb] mode [basic] - valid
[2022-09-14T08:43:45,967][INFO ][o.e.x.s.a.Realms ] [CDPW19APKNAOI01] license mode is [basic], currently licensed security realms are [reserved/reserved,file/default_file,native/default_native]
[2022-09-14T08:43:45,977][INFO ][o.e.g.GatewayService ] [CDPW19APKNAOI01] recovered [1] indices into cluster_state
[2022-09-14T08:43:46,375][INFO ][o.e.c.r.a.AllocationService] [CDPW19APKNAOI01] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.security-7][0]]])." previous.health="RED" reason="shards started [[.security-7][0]]"
[2022-09-14T08:43:57,099][ERROR][o.e.i.g.GeoIpDownloader ] [CDPW19APKNAOI01] exception during geoip databases updatejava.net.UnknownHostException: geoip.elastic.co
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:564)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)

See logs for more details.

It does not show the configuration information

Please format your code/logs/config using the </> button, or markdown style back ticks. It helps to make things easy to read which helps us help you :slight_smile:

I am not seeing any issue with that, Elasticsearch has started. It's not clear what you mean by "it does not show the configuration information and it also does not save information in the elasticsearch.yml file".

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