Systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE

Hello,

i have an 8.4.x Elastic's version.
After editing the .yml file, setting IP address, cluster name and http port, the service doesn't start.

jourcnalcte -xeu elasticsearch.service

ott 19 16:05:54 ubuntu-linux-22-04-desktop systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ An ExecStart= process belonging to unit elasticsearch.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
ott 19 16:05:54 ubuntu-linux-22-04-desktop systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit elasticsearch.service has entered the 'failed' state with result 'exit-code'.
ott 19 16:05:54 ubuntu-linux-22-04-desktop systemd[1]: Failed to start Elasticsearch.
░░ Subject: A start job for unit elasticsearch.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit elasticsearch.service has finished with a failure.
░░ 
░░ The job identifier is 3278 and the job result is failed.

/var/log/elasticsearch/elasticsearch.log

[2022-10-19T13:58:04,563][INFO ][o.e.n.Node               ] [ubuntu-linux-22-04-desktop] version[8.4.3], pid[9189], build[deb/42f05b9372a9a4a470db3b52817899b9
9a76ee73/2022-10-04T07:17:24.662462378Z], OS[Linux/5.15.0-50-generic/aarch64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/18.0.2.1/18.0.2.1+1-1]
[2022-10-19T13:58:04,565][INFO ][o.e.n.Node               ] [ubuntu-linux-22-04-desktop] JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]
[2022-10-19T13:58:04,565][INFO ][o.e.n.Node               ] [ubuntu-linux-22-04-desktop] 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:-Omi
tStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnable
d=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG
1GC, -Djava.io.tmpdir=/tmp/elasticsearch-12737070051743620713, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elastic
search, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=
32,filesize=64m, -Xms983m, -Xmx983m, -XX:MaxDirectMemorySize=515899392, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=1
5, -Des.distribution.type=deb, --module-path=/usr/share/elasticsearch/lib, --add-modules=jdk.net, -Djdk.module.main=org.elasticsearch.server]
[2022-10-19T13:58:05,568][INFO ][c.a.c.i.j.JacksonVersion ] [ubuntu-linux-22-04-desktop] Package versions: jackson-annotations=2.13.2, jackson-core=2.13.2, ja
ckson-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: https://aka.ms/a
zsdk/java/dependency/troubleshoot
[2022-10-19T13:58:06,486][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [aggs-matrix-stats]
[2022-10-19T13:58:06,486][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [analysis-common]
[2022-10-19T13:58:06,486][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [constant-keyword]
[2022-10-19T13:58:06,486][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [data-streams]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [frozen-indices]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [ingest-attachment]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [ingest-common]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [ingest-geoip]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [ingest-user-agent]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [kibana]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [lang-expression]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [lang-mustache]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [lang-painless]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [legacy-geo]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [mapper-extras]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [mapper-version]
[2022-10-19T13:58:06,487][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [old-lucene-versions]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [parent-join]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [percolator]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [rank-eval]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [reindex]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [repositories-metering-api]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [repository-azure]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [repository-encrypted]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [repository-gcs]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [repository-s3]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [repository-url]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [runtime-fields-common]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [search-business-rules]
[2022-10-19T13:58:06,488][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [searchable-snapshots]
[2022-10-19T13:58:06,490][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-
desktop] loaded module [snapshot-based-recoveries]
[2022-10-19T13:58:06,490][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-
desktop] loaded module [snapshot-repo-test-kit]
[2022-10-19T13:58:06,490][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-
desktop] loaded module [spatial]
[2022-10-19T13:58:06,490][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [systemd]
[2022-10-19T13:58:06,490][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [transform]
[2022-10-19T13:58:06,490][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [transport-netty4]
[2022-10-19T13:58:06,491][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [unsigned-long]
[2022-10-19T13:58:06,491][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [vector-tile]
[2022-10-19T13:58:06,491][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [wildcard]
[2022-10-19T13:58:06,491][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-aggregate-metric]
[2022-10-19T13:58:06,493][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-analytics]
[2022-10-19T13:58:06,493][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-async]
[2022-10-19T13:58:06,493][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-async-search]
[2022-10-19T13:58:06,495][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-autoscaling]
[2022-10-19T13:58:06,495][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-ccr]
[2022-10-19T13:58:06,495][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-core]
[2022-10-19T13:58:06,495][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-deprecation]
[2022-10-19T13:58:06,495][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-enrich]
[2022-10-19T13:58:06,495][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-eql]
[2022-10-19T13:58:06,495][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-fleet]
[2022-10-19T13:58:06,495][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-graph]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-identity-provider]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-ilm]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-logstash]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-ml]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-monitoring]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-ql]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-rollup]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-security]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-shutdown]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-sql]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-stack]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-text-structure]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-voting-only-node]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] loaded module [x-pack-watcher]
[2022-10-19T13:58:06,496][INFO ][o.e.p.PluginsService     ] [ubuntu-linux-22-04-desktop] no plugins loaded
[2022-10-19T13:58:07,647][INFO ][o.e.e.NodeEnvironment    ] [ubuntu-linux-22-04-desktop] using [1] data paths, mounts [[/ (/dev/sda2)]], net usable_space [46.
3gb], net total_space [61.6gb], types [ext4]
[2022-10-19T13:58:07,647][INFO ][o.e.e.NodeEnvironment    ] [ubuntu-linux-22-04-desktop] heap size [984mb], compressed ordinary object pointers [true]
[2022-10-19T13:58:07,650][INFO ][o.e.n.Node               ] [ubuntu-linux-22-04-desktop] node name [ubuntu-linux-22-04-desktop], node ID [WNPAwtYaRTeCD93ufIis
FQ], cluster name [elasticsearch], roles [data_cold, data, remote_cluster_client, master, data_warm, data_content, transform, data_hot, ml, data_frozen, inges
t]
[2022-10-19T13:58:09,076][INFO ][o.e.x.s.Security         ] [ubuntu-linux-22-04-desktop] Security is enabled
[2022-10-19T13:58:09,290][INFO ][o.e.x.s.a.s.FileRolesStore] [ubuntu-linux-22-04-desktop] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2022-10-19T13:58:09,497][INFO ][o.e.x.s.InitialNodeSecurityAutoConfiguration] [ubuntu-linux-22-04-desktop] Auto-configuration will not generate a password fo
r the elastic built-in superuser, as we cannot  determine if there is a terminal attached to the elasticsearch process. You can use the `bin/elasticsearch-res
et-password` tool to set the password for the elastic user.
[2022-10-19T13:58:09,541][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [ubuntu-linux-22-04-desktop] [controller/9216] [Main.cc@123] controller (64 bit): Version 8
.4.3 (Build 9c00cf51c9fea9) Copyright (c) 2022 Elasticsearch BV
[2022-10-19T13:58:09,828][INFO ][o.e.t.n.NettyAllocator   ] [ubuntu-linux-22-04-desktop] creating NettyAllocator with the following configs: [name=unpooled, s
uggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=984mb}]
[2022-10-19T13:58:09,843][INFO ][o.e.i.r.RecoverySettings ] [ubuntu-linux-22-04-desktop] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b
]
[2022-10-19T13:58:09,860][INFO ][o.e.d.DiscoveryModule    ] [ubuntu-linux-22-04-desktop] using discovery type [multi-node] and seed hosts providers [settings]
[2022-10-19T13:58:10,633][INFO ][o.e.n.Node               ] [ubuntu-linux-22-04-desktop] initialized
[2022-10-19T13:58:10,633][INFO ][o.e.n.Node               ] [ubuntu-linux-22-04-desktop] starting ...
[2022-10-19T13:58:10,640][INFO ][o.e.x.s.c.f.PersistentCache] [ubuntu-linux-22-04-desktop] persistent cache index loaded
[2022-10-19T13:58:10,640][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [ubuntu-linux-22-04-desktop] deprecation component started
[2022-10-19T13:58:10,707][INFO ][o.e.t.TransportService   ] [ubuntu-linux-22-04-desktop] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.
0.0.1:9300}
[2022-10-19T13:58:10,765][INFO ][o.e.c.c.ClusterBootstrapService] [ubuntu-linux-22-04-desktop] this node has not joined a bootstrapped cluster yet; [cluster.i
nitial_master_nodes] is set to [ubuntu-linux-22-04-desktop]
[2022-10-19T13:58:10,773][INFO ][o.e.c.c.Coordinator      ] [ubuntu-linux-22-04-desktop] setting initial configuration to VotingConfiguration{WNPAwtYaRTeCD93u
fIisFQ}
[2022-10-19T13:58:10,871][INFO ][o.e.c.s.MasterService    ] [ubuntu-linux-22-04-desktop] elected-as-master ([1] nodes joined)[_FINISH_ELECTION_, {ubuntu-linux
-22-04-desktop}{WNPAwtYaRTeCD93ufIisFQ}{RwDXxC1WT0GdwBIYFOEeoQ}{ubuntu-linux-22-04-desktop}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw} completing election], term
: 1, version: 1, delta: master node changed {previous [], current [{ubuntu-linux-22-04-desktop}{WNPAwtYaRTeCD93ufIisFQ}{RwDXxC1WT0GdwBIYFOEeoQ}{ubuntu-linux-2
2-04-desktop}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]}
[2022-10-19T13:58:10,888][INFO ][o.e.c.c.CoordinationState] [ubuntu-linux-22-04-desktop] cluster UUID set to [eOoZ1-FKS4a_-1FfZIcOpw]
[2022-10-19T13:58:10,894][INFO ][o.e.c.s.ClusterApplierService] [ubuntu-linux-22-04-desktop] master node changed {previous [], current [{ubuntu-linux-22-04-de
sktop}{WNPAwtYaRTeCD93ufIisFQ}{RwDXxC1WT0GdwBIYFOEeoQ}{ubuntu-linux-22-04-desktop}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]}, term: 1, version: 1, reason: Pub
lication{term=1, version=1}
[2022-10-19T13:58:10,918][INFO ][o.e.r.s.FileSettingsService] [ubuntu-linux-22-04-desktop] starting file settings watcher ...
[2022-10-19T13:58:10,930][INFO ][o.e.h.AbstractHttpServerTransport] [ubuntu-linux-22-04-desktop] publish_address {10.211.55.7:9200}, bound_addresses {[::]:920
0}
[2022-10-19T13:58:10,930][INFO ][o.e.n.Node               ] [ubuntu-linux-22-04-desktop] started {ubuntu-linux-22-04-desktop}{WNPAwtYaRTeCD93ufIisFQ}{RwDXxC1W
T0GdwBIYFOEeoQ}{ubuntu-linux-22-04-desktop}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{ml.allocated_processors=2, ml.max_jvm_size=1031798784, ml.machine_memory=2
062848000, xpack.installed=true}
[2022-10-19T13:58:10,932][INFO ][o.e.r.s.FileSettingsService] [ubuntu-linux-22-04-desktop] file settings service up and running [tid=48]
[2022-10-19T13:58:11,005][INFO ][o.e.g.GatewayService     ] [ubuntu-linux-22-04-desktop] recovered [0] indices into cluster_state
[2022-10-19T13:58:11,174][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.watch-history-16] for index patter
ns [.watcher-history-16*]
[2022-10-19T13:58:11,178][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [ilm-history] for index patterns [il
m-history-5*]
[2022-10-19T13:58:11,181][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.slm-history] for index patterns [.
slm-history-5*]
[2022-10-19T13:58:11,186][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding component template [.deprecation-indexing-mappings]
[2022-10-19T13:58:11,187][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding component template [.deprecation-indexing-settings]
[2022-10-19T13:58:11,189][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding component template [logs-mappings]
[2022-10-19T13:58:11,190][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding component template [logs-settings]
[2022-10-19T13:58:11,194][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding component template [data-streams-mappings]
[2022-10-19T13:58:11,196][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding component template [synthetics-mappings]
[2022-10-19T13:58:11,197][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding component template [metrics-settings]
[2022-10-19T13:58:11,200][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding component template [metrics-mappings]
[2022-10-19T13:58:11,201][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding component template [synthetics-settings]
[2022-10-19T13:58:11,220][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.monitoring-es-mb] for index patter
ns [.monitoring-es-8-*]
[2022-10-19T13:58:11,222][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding template [.monitoring-kibana] for index patterns [.
monitoring-kibana-7-*]
[2022-10-19T13:58:11,224][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding template [.monitoring-alerts-7] for index patterns 
[.monitoring-alerts-7]
[2022-10-19T13:58:11,232][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding template [.monitoring-beats] for index patterns [.m
onitoring-beats-7-*]
[2022-10-19T13:58:11,237][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding template [.monitoring-es] for index patterns [.moni
toring-es-7-*]
[2022-10-19T13:58:11,240][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding template [.monitoring-logstash] for index patterns 
[.monitoring-logstash-7-*]
[2022-10-19T13:58:11,247][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.monitoring-kibana-mb] for index pa
tterns [.monitoring-kibana-8-*]
[2022-10-19T13:58:11,255][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.monitoring-beats-mb] for index pat
terns [.monitoring-beats-8-*]
[2022-10-19T13:58:11,261][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.monitoring-ent-search-mb] for inde
x patterns [.monitoring-ent-search-8-*]
[2022-10-19T13:58:11,263][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.ml-state] for index patterns [.ml-
state*]
[2022-10-19T13:58:11,266][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.ml-notifications-000002] for index
 patterns [.ml-notifications-000002]
[2022-10-19T13:58:11,274][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.ml-anomalies-] for index patterns 
[.ml-anomalies-*]
[2022-10-19T13:58:11,276][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.ml-stats] for index patterns [.ml-
stats-*]
[2022-10-19T13:58:11,281][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.monitoring-logstash-mb] for index 
patterns [.monitoring-logstash-8-*]
[2022-10-19T13:58:11,303][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [.deprecation-indexing-template] for
 index patterns [.logs-deprecation.*]
[2022-10-19T13:58:11,307][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [synthetics] for index patterns [syn
thetics-*-*]
[2022-10-19T13:58:11,311][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [metrics] for index patterns [metric
s-*-*]
[2022-10-19T13:58:11,315][INFO ][o.e.c.m.MetadataIndexTemplateService] [ubuntu-linux-22-04-desktop] adding index template [logs] for index patterns [logs-*-*]
[2022-10-19T13:58:11,328][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [watch-history-ilm-policy-1
6]
[2022-10-19T13:58:11,349][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [ilm-history-ilm-policy]
[2022-10-19T13:58:11,362][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [slm-history-ilm-policy]
[2022-10-19T13:58:11,374][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [.deprecation-indexing-ilm-
policy]
[2022-10-19T13:58:11,398][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [logs]
[2022-10-19T13:58:11,417][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [metrics]
[2022-10-19T13:58:11,427][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [synthetics]
[2022-10-19T13:58:11,438][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [7-days-default]
[2022-10-19T13:58:11,456][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [30-days-default]
[2022-10-19T13:58:11,467][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [365-days-default]
[2022-10-19T13:58:11,477][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [90-days-default]
[2022-10-19T13:58:11,488][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [180-days-default]
[2022-10-19T13:58:11,497][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [.monitoring-8-ilm-policy]
[2022-10-19T13:58:11,511][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [ml-size-based-ilm-policy]
[2022-10-19T13:58:11,572][INFO ][o.e.l.LicenseService     ] [ubuntu-linux-22-04-desktop] license [cc471852-7f60-4897-905f-6a5ddefb1df8] mode [basic] - valid
[2022-10-19T13:58:11,572][INFO ][o.e.x.s.a.Realms         ] [ubuntu-linux-22-04-desktop] license mode is [basic], currently licensed security realms are [rese
rved/reserved,file/default_file,native/default_native]
[2022-10-19T13:58:11,573][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [ubuntu-linux-22-04-desktop] adding index lifecycle policy [.fleet-actions-results-ilm
-policy]
[2022-10-19T13:58:13,595][INFO ][o.e.c.m.MetadataCreateIndexService] [ubuntu-linux-22-04-desktop] [.geoip_databases] creating index, cause [auto(bulk api)], t
emplates [], shards [1]/[0]
[2022-10-19T13:58:13,694][INFO ][o.e.c.r.a.AllocationService] [ubuntu-linux-22-04-desktop] current.health="GREEN" message="Cluster health status changed from 
[YELLOW] to [GREEN] (reason: [shards started [[.geoip_databases][0]]])." previous.health="YELLOW" reason="shards started [[.geoip_databases][0]]"
[2022-10-19T13:58:14,129][INFO ][o.e.i.g.GeoIpDownloader  ] [ubuntu-linux-22-04-desktop] successfully downloaded geoip database [GeoLite2-ASN.mmdb]
[2022-10-19T13:58:14,255][INFO ][o.e.i.g.DatabaseNodeService] [ubuntu-linux-22-04-desktop] successfully loaded geoip database file [GeoLite2-ASN.mmdb]
[2022-10-19T13:58:19,822][INFO ][o.e.i.g.GeoIpDownloader  ] [ubuntu-linux-22-04-desktop] successfully downloaded geoip database [GeoLite2-City.mmdb]
[2022-10-19T13:58:20,464][INFO ][o.e.i.g.DatabaseNodeService] [ubuntu-linux-22-04-desktop] successfully loaded geoip database file [GeoLite2-City.mmdb]
[2022-10-19T13:58:20,526][INFO ][o.e.i.g.GeoIpDownloader  ] [ubuntu-linux-22-04-desktop] successfully downloaded geoip database [GeoLite2-Country.mmdb]
[2022-10-19T13:58:20,567][INFO ][o.e.i.g.DatabaseNodeService] [ubuntu-linux-22-04-desktop] successfully loaded geoip database file [GeoLite2-Country.mmdb]
[2022-10-19T13:58:21,529][WARN ][o.e.h.AbstractHttpServerTransport] [ubuntu-linux-22-04-desktop] caught exception while handling client http traffic, closing 
connection Netty4HttpChannel{localAddress=/10.211.55.7:9200, remoteAddress=/10.211.55.8:51536}
io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate
	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:480) ~[?:?]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[?:?]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[?:?]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[?:?]
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[?:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722) ~[?:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:623) ~[?:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:586) ~[?:?]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) ~[?:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) ~[?:?]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate
	at sun.security.ssl.Alert.createSSLException(Alert.java:131) ~[?:?]
	at sun.security.ssl.Alert.createSSLException(Alert.java:117) ~[?:?]
	at sun.security.ssl.TransportContext.fatal(TransportContext.java:358) ~[?:?]
	at sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:293) ~[?:?]
	at sun.security.ssl.TransportContext.dispatch(TransportContext.java:204) ~[?:?]
	at sun.security.ssl.SSLTransport.decode(SSLTransport.java:172) ~[?:?]
	at sun.security.ssl.SSLEngineImpl.decode(SSLEngineImpl.java:736) ~[?:?]
	at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:691) ~[?:?]
	at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:506) ~[?:?]
	at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:482) ~[?:?]
	at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:679) ~[?:?]
	at io.netty.handler.ssl.SslHandler$SslEngineType$3.unwrap(SslHandler.java:295) ~[?:?]
	at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1342) ~[?:?]
	at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1235) ~[?:?]
	at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1284) ~[?:?]
	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510) ~[?:?]
	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449) ~[?:?]
	... 16 more
[2022-10-19T13:58:22,258][INFO ][o.e.n.Node               ] [ubuntu-linux-22-04-desktop] stopping ...
[2022-10-19T13:58:22,259][INFO ][o.e.r.s.FileSettingsService] [ubuntu-linux-22-04-desktop] shutting down watcher thread
[2022-10-19T13:58:22,259][INFO ][o.e.r.s.FileSettingsService] [ubuntu-linux-22-04-desktop] watcher service stopped
[2022-10-19T13:58:22,260][INFO ][o.e.x.w.WatcherService   ] [ubuntu-linux-22-04-desktop] stopping watch service, reason [shutdown initiated]
[2022-10-19T13:58:22,261][INFO ][o.e.x.w.WatcherLifeCycleService] [ubuntu-linux-22-04-desktop] watcher has stopped and shutdown
[2022-10-19T13:58:22,556][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [ubuntu-linux-22-04-desktop] [controller/9216] [Main.cc@176] ML controller exiting
[2022-10-19T13:58:22,560][INFO ][o.e.x.m.p.NativeController] [ubuntu-linux-22-04-desktop] Native controller process has stopped - no new native processes can 
be started
[2022-10-19T13:58:22,597][INFO ][o.e.n.Node               ] [ubuntu-linux-22-04-desktop] stopped
[2022-10-19T13:58:22,598][INFO ][o.e.n.Node               ] [ubuntu-linux-22-04-desktop] closing ...
[2022-10-19T13:58:22,616][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ubuntu-linux-22-04-desktop] evicted [0] entries from cache after reloading database [/tmp/
elasticsearch-12737070051743620713/geoip-databases/WNPAwtYaRTeCD93ufIisFQ/GeoLite2-Country.mmdb]
[2022-10-19T13:58:22,618][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ubuntu-linux-22-04-desktop] evicted [0] entries from cache after reloading database [/tmp/
elasticsearch-12737070051743620713/geoip-databases/WNPAwtYaRTeCD93ufIisFQ/GeoLite2-ASN.mmdb]
[2022-10-19T13:58:22,618][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ubuntu-linux-22-04-desktop] evicted [0] entries from cache after reloading database [/tmp/
elasticsearch-12737070051743620713/geoip-databases/WNPAwtYaRTeCD93ufIisFQ/GeoLite2-City.mmdb]
[2022-10-19T13:58:22,626][INFO ][o.e.n.Node               ] [ubuntu-linux-22-04-desktop] closed

elasticsearch.yml

# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
#       Before you set out to tweak and tune the configuration, make sure you
#       understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www.elastic.co/guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
#cluster.name: my-application
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data: /var/lib/elasticsearch
#
# Path to log files:
#
path.logs: /var/log/elasticsearch
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
#bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# By default Elasticsearch is only accessible on localhost. Set a different
# address here to expose this node on the network:
#
network.host: 10.211.55.7
#
# By default Elasticsearch listens for HTTP traffic on the first free port it
# finds starting at 9200. Set a specific HTTP port here:
#
http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.seed_hosts: ["host1", "host2"]
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
cluster.initial_master_nodes: ["node-2"]
#
# For more information, consult the discovery and cluster formation module documentation.
#
# --------------------------------- Readiness ----------------------------------
#
# Enable an unauthenticated TCP readiness endpoint on localhost
#
#readiness.port: 9399
#
# ---------------------------------- Various -----------------------------------
#
# Allow wildcard deletion of indices:
#
#action.destructive_requires_name: false

#----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------
#
# The following settings, TLS certificates, and keys have been automatically      
# generated to configure Elasticsearch security features on 19-10-2022 13:57:07
#
# --------------------------------------------------------------------------------

# Enable security features
xpack.security.enabled: true

xpack.security.enrollment.enabled: true

# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
  enabled: true
  keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes
xpack.security.transport.ssl:
  enabled: true
  verification_mode: certificate
  keystore.path: certs/transport.p12
  truststore.path: certs/transport.p12
# Create a new cluster with the current node only
# Additional nodes can still join the cluster later
cluster.initial_master_nodes: ["ubuntu-linux-22-04-desktop"]

# Allow HTTP API connections from anywhere
# Connections are encrypted and require user authentication
http.host: 0.0.0.0

# Allow other nodes to join the cluster from anywhere
# Connections are encrypted and mutually authenticated
#transport.host: 0.0.0.0

#----------------------- END SECURITY AUTO CONFIGURATION -------------------------

Thank u

Elasticsearch is starting up ok, but the above suggests that something is asking it to stop.
Can you check your OS logs to see if there is anything relevant?

Hi Warkolm,

precisely, what log could I check in the /var/log path?

I'm seeing now but I don't know which file would be better to see

-rw-r--r--  1 root              root               3719 ott 13 17:53 alternatives.log
-rw-r--r--  1 root              root              27436 lug  7 21:12 alternatives.log.1
-rw-r-----  1 root              adm                   0 ott 14 00:05 apport.log
-rw-r-----  1 root              adm                 106 ott 13 17:47 apport.log.1
drwxr-xr-x  2 root              root               4096 ott 19 15:57 apt
-rw-r-----  1 syslog            adm               79680 ott 20 09:48 auth.log
-rw-r-----  1 syslog            adm               49890 ott 15 23:15 auth.log.1
-rw-r-----  1 syslog            adm                3054 ott 13 17:39 auth.log.2.gz
-rw-r--r--  1 root              root              64547 apr 21 03:03 bootstrap.log
-rw-rw----  1 root              utmp               1200 ott 19 15:38 btmp
-rw-rw----  1 root              utmp                  0 apr 21 03:02 btmp.1
-rw-r--r--  1 root              adm               95941 lug  7 20:41 cloud-init.log
-rw-r-----  1 root              adm                5018 lug  7 20:41 cloud-init-output.log
drwxr-xr-x  2 root              root               4096 ott 20 09:43 cups
drwxr-xr-x  2 root              root               4096 apr 18  2022 dist-upgrade
-rw-r-----  1 root              adm               43169 ott 20 09:43 dmesg
-rw-r-----  1 root              adm               45637 ott 19 17:25 dmesg.0
-rw-r-----  1 root              adm               12379 ott 19 15:35 dmesg.1.gz
-rw-r-----  1 root              adm               12749 ott 19 14:05 dmesg.2.gz
-rw-r-----  1 root              adm               12558 ott 14 13:28 dmesg.3.gz
-rw-r-----  1 root              adm               12455 ott 13 19:00 dmesg.4.gz
-rw-r--r--  1 root              root             196274 ott 19 15:57 dpkg.log
-rw-r--r--  1 root              root            1078868 lug 18 15:46 dpkg.log.1
drwxr-s---  2 elasticsearch     elasticsearch      4096 ott 19 15:58 elasticsearch
-rw-r--r--  1 root              root              32032 ott 19 15:57 faillog
-rw-r--r--  1 root              root              10990 ott 13 17:53 fontconfig.log
drwx--x--x  2 root              gdm                4096 lug 18 15:42 gdm3
drwxr-xr-x  3 root              root               4096 lug  7 21:05 hp
drwxr-x---  3 root              adm                4096 lug  7 20:39 installer
drwxr-sr-x+ 3 root              systemd-journal    4096 lug  7 20:41 journal
-rw-r-----  1 syslog            adm              323564 ott 20 09:44 kern.log
-rw-r-----  1 syslog            adm              276974 ott 16 00:23 kern.log.1
-rw-r-----  1 syslog            adm               45792 ott 13 17:39 kern.log.2.gz
drwxr-s---  2 kibana            kibana             4096 ott 19 15:16 kibana
-rw-rw-r--  1 root              utmp             296296 ott 19 15:57 lastlog
drwxr-xr-x  2 root              root               4096 mar 22  2022 openvpn
-rw-rw-rw-  1 root              root             546323 ott 20 09:48 parallels.log
-rw-r--r--  1 root              root              37079 ott 13 17:40 parallels-tools-install.log
drwx------  2 root              root               4096 apr 21 03:27 private
drwx------  2 speech-dispatcher root               4096 gen  9  2022 speech-dispatcher
drwxr-x---  2 root              root               4096 feb 24  2022 sssd
-rw-r-----  1 syslog            adm             2275857 ott 20 09:48 syslog
-rw-r-----  1 syslog            adm             2187206 ott 16 00:23 syslog.1
-rw-r-----  1 syslog            adm               95414 ott 13 17:39 syslog.2.gz
-rw-r--r--  1 root              root                  0 lug  7 21:06 ubuntu-advantage.log
-rw-r--r--  1 root              root               2298 ott 19 15:01 ubuntu-advantage-timer.log
-rw-r--r--  1 root              root                157 lug  7 21:06 ubuntu-advantage-timer.log.1
drwxr-x---  2 root              adm                4096 ott 13 17:39 unattended-upgrades
-rw-rw-r--  1 root              utmp              25200 ott 20 09:44 wtmp

I found that Elasticsearch automatically add 2 cluster.initial_master_node lines, both populated with a value.
I commented one of these and now Elastic Start.

However, thank u Warkolm for the support.

1 Like

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