Main process exited, code=exited, status=1/FAILURE

Elasticsearch throwing below issue Version 7.17.0,
Job for Elasticsearch.service failed because the control process exited with error code.
See "systemctl status Elasticsearch.service" and "journalctl -xe" for details.`systemctl status Elasticsearch -l
● Elasticsearch.service - Elasticsearch
Loaded: loaded (/lib/systemd/system/Elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-02-21 16:57:15 IST; 26min ago
Docs: https://www.elastic.co
Process: 6551 ExecStart=/usr/share/Elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/Elasticsearch.pid --quiet (code=exited, status=1/FAIL>
Main PID: 6551 (code=exited, status=1/FAILURE)

Feb 21 16:57:15 ramesh-VirtualBox systemd[1]: Starting Elasticsearch...
Feb 21 16:57:15 ramesh-VirtualBox systemd-entrypoint[6686]: encountered [2] errors parsing [/etc/Elasticsearch/jvm.options]
Feb 21 16:57:15 ramesh-VirtualBox systemd-entrypoint[6686]: [1]: encountered improperly formatted JVM option in [/etc/Elasticsearch/jvm.options>
Feb 21 16:57:15 ramesh-VirtualBox systemd-entrypoint[6686]: [2]: encountered improperly formatted JVM option in [/etc/Elasticsearch/jvm.options>
Feb 21 16:57:15 ramesh-VirtualBox systemd[1]: Elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Feb 21 16:57:15 ramesh-VirtualBox systemd[1]: Elasticsearch.service: Failed with result 'exit-code'.
Feb 21 16:57:15 ramesh-VirtualBox systemd[1]: Failed to start Elasticsearch.
`

Welcome to our community! :smiley:

Please look in /var/log/elasticsearch/elasticsearch.log and post that.
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:

@warkolm, Please find the below Elasticsearch.log details
[2022-02-21T16:23:57,849][INFO ][o.e.x.w.WatcherService ] [ramesh-VirtualBox] stopping watch service, reason [shutdown initiated] [2022-02-21T16:23:57,851][INFO ][o.e.x.w.WatcherLifeCycleService] [ramesh-VirtualBox] watcher has stopped and shutdown [2022-02-21T16:23:57,870][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [ramesh-VirtualBox] [controller/3921] [Main.cc@174] ML controller exiting [2022-02-21T16:23:57,871][INFO ][o.e.x.m.p.NativeController] [ramesh-VirtualBox] Native controller process has stopped - no new native processes can be started [2022-02-21T16:23:58,372][INFO ][o.e.n.Node ] [ramesh-VirtualBox] stopped [2022-02-21T16:23:58,372][INFO ][o.e.n.Node ] [ramesh-VirtualBox] closing ... [2022-02-21T16:23:58,387][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ramesh-VirtualBox] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-Country.mmdb] [2022-02-21T16:23:58,387][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ramesh-VirtualBox] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-ASN.mmdb] [2022-02-21T16:23:58,387][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ramesh-VirtualBox] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-City.mmdb] [2022-02-21T16:23:58,391][INFO ][o.e.n.Node ] [ramesh-VirtualBox] closed

It looks like Elasticsearch has been asked to shutdown.

Is there more to the logs?

Copying Elasticsearch.log files details

[2022-02-21T16:02:16,286][INFO ][o.e.n.Node               ] [ramesh-VirtualBox] version[7.17.0], pid[3726], build[default/deb/bee86328705acaa9a6daede7140defd4d9ec56bd/2022-01-28T08:36:04.875279988Z], OS[Linux/5.13.0-28-generic/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/17.0.1/17.0.1+12]
[2022-02-21T16:02:16,299][INFO ][o.e.n.Node               ] [ramesh-VirtualBox] JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]
[2022-02-21T16:02:16,300][INFO ][o.e.n.Node               ] [ramesh-VirtualBox] JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=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=/tmp/elasticsearch-3193674946637873619, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -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, -Xms2967m, -Xmx2967m, -XX:MaxDirectMemorySize=1556086784, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=deb, -Des.bundled_jdk=true]
[2022-02-21T16:02:20,726][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [aggs-matrix-stats]
[2022-02-21T16:02:20,726][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [analysis-common]
[2022-02-21T16:02:20,727][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [constant-keyword]
[2022-02-21T16:02:20,727][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [frozen-indices]
[2022-02-21T16:02:20,728][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [ingest-common]
[2022-02-21T16:02:20,728][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [ingest-geoip]
[2022-02-21T16:02:20,729][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [ingest-user-agent]
[2022-02-21T16:02:20,729][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [kibana]
[2022-02-21T16:02:20,730][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [lang-expression]
[2022-02-21T16:02:20,730][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [lang-mustache]
[2022-02-21T16:02:20,731][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [lang-painless]
[2022-02-21T16:02:20,731][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [legacy-geo]
[2022-02-21T16:02:20,731][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [mapper-extras]
[2022-02-21T16:02:20,732][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [mapper-version]
[2022-02-21T16:02:20,732][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [parent-join]
[2022-02-21T16:02:20,733][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [percolator]
[2022-02-21T16:02:20,733][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [rank-eval]
[2022-02-21T16:02:20,733][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [reindex]
[2022-02-21T16:02:20,734][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [repositories-metering-api]
[2022-02-21T16:02:20,734][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [repository-encrypted]
[2022-02-21T16:02:20,735][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [repository-url]
[2022-02-21T16:02:20,735][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [runtime-fields-common]
[2022-02-21T16:02:20,736][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [search-business-rules]
[2022-02-21T16:02:20,736][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [searchable-snapshots]
[2022-02-21T16:02:20,737][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [snapshot-repo-test-kit]
[2022-02-21T16:02:20,737][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [spatial]
[2022-02-21T16:02:20,738][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [systemd]
[2022-02-21T16:02:20,738][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [transform]
[2022-02-21T16:02:20,739][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [transport-netty4]
[2022-02-21T16:02:20,739][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [unsigned-long]
[2022-02-21T16:02:20,739][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [vector-tile]
[2022-02-21T16:02:20,740][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [vectors]
[2022-02-21T16:02:20,740][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [wildcard]
[2022-02-21T16:02:20,740][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-aggregate-metric]
[2022-02-21T16:02:20,741][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-analytics]
[2022-02-21T16:02:20,741][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-async]
[2022-02-21T16:02:20,741][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-async-search]
[2022-02-21T16:02:20,742][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-autoscaling]
[2022-02-21T16:02:20,742][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-ccr]
[2022-02-21T16:02:20,742][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-core]
[2022-02-21T16:02:20,743][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-data-streams]
[2022-02-21T16:02:20,743][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-deprecation]
[2022-02-21T16:02:20,743][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-enrich]
[2022-02-21T16:02:20,744][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-eql]
[2022-02-21T16:02:20,744][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-fleet]
[2022-02-21T16:02:20,744][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-graph]
[2022-02-21T16:02:20,745][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-identity-provider]
[2022-02-21T16:02:20,745][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-ilm]
[2022-02-21T16:02:20,746][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-logstash]
[2022-02-21T16:02:20,746][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-ml]
[2022-02-21T16:02:20,747][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-monitoring]
[2022-02-21T16:02:20,747][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-ql]
[2022-02-21T16:02:20,748][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-rollup]
[2022-02-21T16:02:20,748][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-security]
[2022-02-21T16:02:20,748][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-shutdown]
[2022-02-21T16:02:20,749][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-sql]
[2022-02-21T16:02:20,749][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-stack]
[2022-02-21T16:02:20,750][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-text-structure]
[2022-02-21T16:02:20,750][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-voting-only-node]
[2022-02-21T16:02:20,751][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] loaded module [x-pack-watcher]
[2022-02-21T16:02:20,752][INFO ][o.e.p.PluginsService     ] [ramesh-VirtualBox] no plugins loaded
[2022-02-21T16:02:20,830][INFO ][o.e.e.NodeEnvironment    ] [ramesh-VirtualBox] using [1] data paths, mounts [[/ (/dev/sda5)]], net usable_space [15.2gb], net total_space [38.6gb], types [ext4]
[2022-02-21T16:02:20,831][INFO ][o.e.e.NodeEnvironment    ] [ramesh-VirtualBox] heap size [2.8gb], compressed ordinary object pointers [true]
[2022-02-21T16:02:20,978][INFO ][o.e.n.Node               ] [ramesh-VirtualBox] node name [ramesh-VirtualBox], node ID [kPFd3tdySS2Q0MlOGE6NMA], cluster name [elasticsearch], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]
[2022-02-21T16:02:29,595][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [ramesh-VirtualBox] [controller/3921] [Main.cc@122] controller (64 bit): Version 7.17.0 (Build 447aed7cba032c) Copyright (c) 2022 Elasticsearch BV
[2022-02-21T16:02:30,562][INFO ][o.e.x.s.a.s.FileRolesStore] [ramesh-VirtualBox] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2022-02-21T16:02:31,747][INFO ][o.e.i.g.ConfigDatabases  ] [ramesh-VirtualBox] initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [[]] and watching [/etc/elasticsearch/ingest-geoip] for changes
[2022-02-21T16:02:31,749][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] initialized database registry, using geoip-databases directory [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA]
[2022-02-21T16:02:32,986][INFO ][o.e.t.NettyAllocator     ] [ramesh-VirtualBox] 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-02-21T16:02:33,139][INFO ][o.e.d.DiscoveryModule    ] [ramesh-VirtualBox] using discovery type [zen] and seed hosts providers [settings]
[2022-02-21T16:02:34,022][INFO ][o.e.g.DanglingIndicesState] [ramesh-VirtualBox] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2022-02-21T16:02:34,967][INFO ][o.e.n.Node               ] [ramesh-VirtualBox] initialized
[2022-02-21T16:02:34,968][INFO ][o.e.n.Node               ] [ramesh-VirtualBox] starting ...
[2022-02-21T16:02:34,996][INFO ][o.e.x.s.c.f.PersistentCache] [ramesh-VirtualBox] persistent cache index loaded
[2022-02-21T16:02:34,998][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [ramesh-VirtualBox] deprecation component started
[2022-02-21T16:02:35,215][INFO ][o.e.t.TransportService   ] [ramesh-VirtualBox] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2022-02-21T16:02:35,790][WARN ][o.e.b.BootstrapChecks    ] [ramesh-VirtualBox] 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-02-21T16:02:35,792][INFO ][o.e.c.c.Coordinator      ] [ramesh-VirtualBox] cluster UUID [2Gu1k4IQSYykli6MbsJMIQ]
[2022-02-21T16:02:35,810][INFO ][o.e.c.c.ClusterBootstrapService] [ramesh-VirtualBox] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered
[2022-02-21T16:02:35,977][INFO ][o.e.c.s.MasterService    ] [ramesh-VirtualBox] elected-as-master ([1] nodes joined)[{ramesh-VirtualBox}{kPFd3tdySS2Q0MlOGE6NMA}{748IUZVKSoyoQXc5B-bcbA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 4, version: 75, delta: master node changed {previous [], current [{ramesh-VirtualBox}{kPFd3tdySS2Q0MlOGE6NMA}{748IUZVKSoyoQXc5B-bcbA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]}
[2022-02-21T16:02:36,093][INFO ][o.e.c.s.ClusterApplierService] [ramesh-VirtualBox] master node changed {previous [], current [{ramesh-VirtualBox}{kPFd3tdySS2Q0MlOGE6NMA}{748IUZVKSoyoQXc5B-bcbA}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]}, term: 4, version: 75, reason: Publication{term=4, version=75}
[2022-02-21T16:02:36,197][INFO ][o.e.h.AbstractHttpServerTransport] [ramesh-VirtualBox] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2022-02-21T16:02:36,199][INFO ][o.e.n.Node               ] [ramesh-VirtualBox] started
[2022-02-21T16:02:36,826][INFO ][o.e.l.LicenseService     ] [ramesh-VirtualBox] license [572da9f8-7f12-4be1-8644-e72f4920328d] mode [basic] - valid
[2022-02-21T16:02:36,830][INFO ][o.e.x.s.s.SecurityStatusChangeListener] [ramesh-VirtualBox] Active license is now [BASIC]; Security is disabled
[2022-02-21T16:02:36,831][WARN ][o.e.x.s.s.SecurityStatusChangeListener] [ramesh-VirtualBox] Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security.
[2022-02-21T16:02:36,854][INFO ][o.e.g.GatewayService     ] [ramesh-VirtualBox] recovered [3] indices into cluster_state
[2022-02-21T16:02:37,518][INFO ][o.e.i.g.GeoIpDownloader  ] [ramesh-VirtualBox] updating geoip databases
[2022-02-21T16:02:37,519][INFO ][o.e.i.g.GeoIpDownloader  ] [ramesh-VirtualBox] fetching geoip databases overview from [https://geoip.elastic.co/v1/database?elastic_geoip_service_tos=agree]
[2022-02-21T16:02:37,525][INFO ][o.e.c.r.a.AllocationService] [ramesh-VirtualBox] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.ds-.logs-deprecation.elasticsearch-default-2022.02.16-000001][0], [.geoip_databases][0], [.ds-ilm-history-5-2022.02.16-000001][0]]]).
[2022-02-21T16:02:37,577][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] downloading geoip database [GeoLite2-Country.mmdb] to [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-Country.mmdb.tmp.gz]
[2022-02-21T16:02:37,580][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] downloading geoip database [GeoLite2-ASN.mmdb] to [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-ASN.mmdb.tmp.gz]
[2022-02-21T16:02:37,581][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] downloading geoip database [GeoLite2-City.mmdb] to [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-City.mmdb.tmp.gz]
[2022-02-21T16:02:38,081][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] successfully reloaded changed geoip database file [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-Country.mmdb]
[2022-02-21T16:02:38,242][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] successfully reloaded changed geoip database file [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-ASN.mmdb]
[2022-02-21T16:02:39,465][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] successfully reloaded changed geoip database file [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-City.mmdb]
[2022-02-21T16:02:47,307][INFO ][o.e.i.g.GeoIpDownloader  ] [ramesh-VirtualBox] updating geoip database [GeoLite2-ASN.mmdb]
[2022-02-21T16:02:49,810][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] downloading geoip database [GeoLite2-ASN.mmdb] to [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-ASN.mmdb.tmp.gz]
[2022-02-21T16:02:49,885][INFO ][o.e.i.g.GeoIpDownloader  ] [ramesh-VirtualBox] updated geoip database [GeoLite2-ASN.mmdb]
[2022-02-21T16:02:49,927][INFO ][o.e.i.g.GeoIpDownloader  ] [ramesh-VirtualBox] updating geoip database [GeoLite2-City.mmdb]
[2022-02-21T16:02:50,067][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ramesh-VirtualBox] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-ASN.mmdb]
[2022-02-21T16:02:50,068][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] successfully reloaded changed geoip database file [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-ASN.mmdb]
[2022-02-21T16:02:58,121][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] downloading geoip database [GeoLite2-City.mmdb] to [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-City.mmdb.tmp.gz]
[2022-02-21T16:02:58,173][INFO ][o.e.i.g.GeoIpDownloader  ] [ramesh-VirtualBox] updated geoip database [GeoLite2-City.mmdb]
[2022-02-21T16:02:58,175][INFO ][o.e.i.g.GeoIpDownloader  ] [ramesh-VirtualBox] updating geoip database [GeoLite2-Country.mmdb]
[2022-02-21T16:02:59,672][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ramesh-VirtualBox] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-City.mmdb]
[2022-02-21T16:02:59,673][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] successfully reloaded changed geoip database file [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-City.mmdb]
[2022-02-21T16:02:59,828][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] downloading geoip database [GeoLite2-Country.mmdb] to [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-Country.mmdb.tmp.gz]
[2022-02-21T16:02:59,860][INFO ][o.e.i.g.GeoIpDownloader  ] [ramesh-VirtualBox] updated geoip database [GeoLite2-Country.mmdb]
[2022-02-21T16:02:59,983][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ramesh-VirtualBox] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-Country.mmdb]
[2022-02-21T16:02:59,985][INFO ][o.e.i.g.DatabaseNodeService] [ramesh-VirtualBox] successfully reloaded changed geoip database file [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-Country.mmdb]
[2022-02-21T16:23:57,841][INFO ][o.e.n.Node               ] [ramesh-VirtualBox] stopping ...
[2022-02-21T16:23:57,849][INFO ][o.e.x.w.WatcherService   ] [ramesh-VirtualBox] stopping watch service, reason [shutdown initiated]
[2022-02-21T16:23:57,851][INFO ][o.e.x.w.WatcherLifeCycleService] [ramesh-VirtualBox] watcher has stopped and shutdown
[2022-02-21T16:23:57,870][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [ramesh-VirtualBox] [controller/3921] [Main.cc@174] ML controller exiting
[2022-02-21T16:23:57,871][INFO ][o.e.x.m.p.NativeController] [ramesh-VirtualBox] Native controller process has stopped - no new native processes can be started
[2022-02-21T16:23:58,372][INFO ][o.e.n.Node               ] [ramesh-VirtualBox] stopped
[2022-02-21T16:23:58,372][INFO ][o.e.n.Node               ] [ramesh-VirtualBox] closing ...
[2022-02-21T16:23:58,387][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ramesh-VirtualBox] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-Country.mmdb]
[2022-02-21T16:23:58,387][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ramesh-VirtualBox] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-ASN.mmdb]
[2022-02-21T16:23:58,387][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [ramesh-VirtualBox] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-3193674946637873619/geoip-databases/kPFd3tdySS2Q0MlOGE6NMA/GeoLite2-City.mmdb]
[2022-02-21T16:23:58,391][INFO ][o.e.n.Node               ] [ramesh-VirtualBox] closed

Yep, Elasticsearch has started;

And then something has asked it to stop;

But i am facing below issue while check the status

● elasticsearch.service - Elasticsearch
     Loaded: loaded (/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Tue 2022-02-22 10:35:50 IST; 16min ago
       Docs: https://www.elastic.co
    Process: 938 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILU>
   Main PID: 938 (code=exited, status=1/FAILURE)

Feb 22 10:35:44 ramesh-VirtualBox systemd[1]: Starting Elasticsearch...
Feb 22 10:35:50 ramesh-VirtualBox systemd-entrypoint[1499]: encountered [2] errors parsing [/etc/elasticsearch/jvm.options]
Feb 22 10:35:50 ramesh-VirtualBox systemd-entrypoint[1499]: [1]: encountered improperly formatted JVM option in [/etc/elasticsearch/jvm.options>
Feb 22 10:35:50 ramesh-VirtualBox systemd-entrypoint[1499]: [2]: encountered improperly formatted JVM option in [/etc/elasticsearch/jvm.options>
Feb 22 10:35:50 ramesh-VirtualBox systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Feb 22 10:35:50 ramesh-VirtualBox systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
Feb 22 10:35:50 ramesh-VirtualBox systemd[1]: Failed to start Elasticsearch.

What OS?

It's Ubuntu 20.04.3 LTS

Any Memory space issue?

No, systemd is timing out and returning a false status value as Elasticsearch has definitely started.

Can you please provide the solution for this?

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