Hello,
I've installed Magento2.4.4 in ubuntu20.04 VM. When i did the installation everything was fine.
Now I am facing a failure . I tried almost everything to fix it, but nothing. Here is the output:
● Elasticsearch.service - Elasticsearch
Loaded: loaded (/lib/systemd/system/Elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2022-06-03 12:07:11 UTC; 1h 22min ago
Docs: https://www.elastic.co
Main PID: 37068 (code=exited, status=1/FAILURE)
Jun 03 12:07:11 backup-71745322-ubuntu-4gb-hel1-1 systemd-entrypoint[37221]: at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
Jun 03 12:07:11 backup-71745322-ubuntu-4gb-hel1-1 systemd-entrypoint[37221]: at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
Jun 03 12:07:11 backup-71745322-ubuntu-4gb-hel1-1 systemd-entrypoint[37221]: at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:422)
Jun 03 12:07:11 backup-71745322-ubuntu-4gb-hel1-1 systemd-entrypoint[37221]: at java.base/java.nio.file.Files.newInputStream(Files.java:160)
Jun 03 12:07:11 backup-71745322-ubuntu-4gb-hel1-1 systemd-entrypoint[37221]: at org.Elasticsearch.tools.launchers.JvmOptionsParser.readJvmOptionsFiles(JvmOptionsParser.java:168)
Jun 03 12:07:11 backup-71745322-ubuntu-4gb-hel1-1 systemd-entrypoint[37221]: at org.Elasticsearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:124)
Jun 03 12:07:11 backup-71745322-ubuntu-4gb-hel1-1 systemd-entrypoint[37221]: at org.Elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:86)
Jun 03 12:07:11 backup-71745322-ubuntu-4gb-hel1-1 systemd[1]: Elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Jun 03 12:07:11 backup-71745322-ubuntu-4gb-hel1-1 systemd[1]: Elasticsearch.service: Failed with result 'exit-code'.
Jun 03 12:07:11 backup-71745322-ubuntu-4gb-hel1-1 systemd[1]: Failed to start Elasticsearch.
~
Here it is
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: #ompressed class space mapped at: 0x0000000100000000-0x0000000140000000, reserved size: 1073741824
#[2022-05-31T13:45:21.243+0000][47882][gc,metaspace] Narrow klass base: 0x0000000000000000, Narrow klass shift: 3, Narrow klas range 0x140000000
#[2022-05-31T13:45:21.315+0000][47882][gc,heap,exit] Heap
#[2022-05-31T13:45:21.315+0000][47882][gc,heap,exit] garbage-first heap total 1964032K, used 1538K [0x0000000088200000, 0x0000000100000000)
#[2022-05-31T13:45:21.315+0000][47882][gc,heap,exit] region size 1024K, 2 young (2048K), 0 survivors (OK)
#[2022-05-31T13:45:21.315+0000][47882][gc,heap,exit] Metaspace used 3474K, committed 3584K, reserved 1114112K
#[2022-05-31T13:45:21.315+0000][47882][gc,heap,exit] class space used 263K, committed 320K, reserved 1048576K #discovery.seed_hosts: ["host1", "host2"]
Bootstrap the cluster using an initial set of master-eligible nodes:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.