Wazuh Indexer startup error:

177 views
Skip to first unread message

Sharukh Khan

unread,
Feb 2, 2023, 3:42:03 AM2/2/23
to Wazuh mailing list
Hi Team,

Can someone help me with the Wazuh-indexer startup error?

8:40:50 wazuh-server systemd-entrypoint[24961]: [0.000s][error][logging] Error opening log file '/var/log/wazuh-indexer/gc.log':
Feb 02 08:40:50 wazuh-server systemd-entrypoint[24961]: [0.000s][error][logging] Initialization of output 'file=/var/log/wazuh-indexer/gc
Feb 02 08:40:50 wazuh-server systemd-entrypoint[24961]: error:
Feb 02 08:40:50 wazuh-server systemd-entrypoint[24961]: Invalid -Xlog option '-Xlog:gc*,gc+age=trace,safepoint:file=/var/log/wazuh-indexe
Feb 02 08:40:50 wazuh-server systemd-entrypoint[24961]: Error: Could not create the Java Virtual Machine.
Feb 02 08:40:50 wazuh-server systemd-entrypoint[24961]: Error: A fatal exception has occurred. Program will exit.
Feb 02 08:40:50 wazuh-server systemd-entrypoint[24961]: at org.opensearch.tools.launchers.JvmErgonomics.flagsFinal(JvmErgonomics.java:139
Feb 02 08:40:50 wazuh-server systemd-entrypoint[24961]: at org.opensearch.tools.launchers.JvmErgonomics.finalJvmOptions(JvmErgonomics.jav
Feb 02 08:40:50 wazuh-server systemd-entrypoint[24961]: at org.opensearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:72)
Feb 02 08:40:50 wazuh-server systemd-entrypoint[24961]: at org.opensearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.ja
Feb 02 08:40:50 wazuh-server systemd-entrypoint[24961]: at org.opensearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:110
Feb 02 08:40:50 wazuh-server systemd[1]: wazuh-indexer.service: main process exited, code=exited, status=1/FAILURE

Pablo Ariel Gonzalez

unread,
Feb 5, 2023, 1:49:57 PM2/5/23
to Wazuh mailing list
Hi Sharukh,

Could you share the errors/warnings of the wazuh log file or share the whole file? It is located in /var/ossec/logs/ossec.conf, please be careful that it does not include private information and access data.



Thanks,

Reply all
Reply to author
Forward
0 new messages