Hi Team,
Need help Urgently
I'm facing issue to starting the Wazuh-Indexer services and cant access the console, However i can see Wazuh-dashboard, Wazuh-manager is up and running fine. Please help me to access the console and start the Wazuh-indexer.
Currently we are using Wazuh 4.3
Below is the error messages when i run systemctl status wazuh-indexer, filebeat test output and attached journalctl -u wazuh-indexer output.
root@SOC Server:/# systemctl status wazuh-indexer.service
● wazuh-indexer.service - Wazuh-indexer
Loaded: loaded (/lib/systemd/system/wazuh-indexer.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2022-12-25 14:57:50 UTC; 13s ago
Docs:
https://documentation.wazuh.com Process: 7828 ExecStart=/usr/share/wazuh-indexer/bin/systemd-entrypoint -p ${PID_DIR}/wazuh-indexer.pid --quiet (code=exited, status=1/FAILURE)
Main PID: 7828 (code=exited, status=1/FAILURE)
Dec 25 14:57:50 SOC Server systemd-entrypoint[7955]: Error: Could not create the Java Virtual Machine.
Dec 25 14:57:50 SOC Server systemd-entrypoint[7955]: Error: A fatal exception has occurred. Program will exit.
Dec 25 14:57:50 SOC Server systemd-entrypoint[7955]: at org.opensearch.tools.launchers.JvmErgonomics.flagsFinal(JvmErgonomics.java:139)
Dec 25 14:57:50 SOC Server systemd-entrypoint[7955]: at org.opensearch.tools.launchers.JvmErgonomics.finalJvmOptions(JvmErgonomics.java:101)
Dec 25 14:57:50 SOC Server systemd-entrypoint[7955]: at org.opensearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:72)
Dec 25 14:57:50 SOC Server systemd-entrypoint[7955]: at org.opensearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:152)
Dec 25 14:57:50 SOC Server systemd-entrypoint[7955]: at org.opensearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:110)
Dec 25 14:57:50 SOC Server systemd[1]: wazuh-indexer.service: Main process exited, code=exited, status=1/FAILURE
Dec 25 14:57:50 SOC Server systemd[1]: wazuh-indexer.service: Failed with result 'exit-code'.
Dec 25 14:57:50 SOC Server systemd[1]: Failed to start Wazuh-indexer.
root@SOC Server:/# filebeat test output
elasticsearch: https://X.X.X.X:9200...
parse url... OK
connection...
parse host... OK
dns lookup... OK
addresses: X.X.X.X
dial up... ERROR dial tcp X.X.X.X:9200: connect: connection refused
curl: (7) Failed to connect to X.X.X.X port 9200: Connection refused