Here is the command you requested:
wazuh-indexer.service - Wazuh-indexer
Loaded: loaded (/lib/systemd/system/wazuh-indexer.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2024-08-11 15:59:43 UTC; 2 days ago
Docs:
https://documentation.wazuh.com Process: 18117 ExecStart=/usr/share/wazuh-indexer/bin/systemd-entrypoint -p ${PID_DIR}/wazuh-indexer.pid --quiet (c>
Main PID: 18117 (code=exited, status=78)
CPU: 1min 42.417s
Aug 11 15:58:52 wazuh systemd-entrypoint[18117]: WARNING: System::setSecurityManager has been called by org.opensearch.>
Aug 11 15:58:52 wazuh systemd-entrypoint[18117]: WARNING: Please consider reporting this to the maintainers of org.open>
Aug 11 15:58:52 wazuh systemd-entrypoint[18117]: WARNING: System::setSecurityManager will be removed in a future release
Aug 11 15:59:42 wazuh systemd-entrypoint[18117]: ERROR: [1] bootstrap checks failed
Aug 11 15:59:42 wazuh systemd-entrypoint[18117]: [1]: memory locking requested for opensearch process but memory is not>
Aug 11 15:59:42 wazuh systemd-entrypoint[18117]: ERROR: OpenSearch did not exit normally - check the logs at /var/log/w>
Aug 11 15:59:43 wazuh systemd[1]: wazuh-indexer.service: Main process exited, code=exited, status=78/CONFIG
Aug 11 15:59:43 wazuh systemd[1]: wazuh-indexer.service: Failed with result 'exit-code'.
Aug 11 15:59:43 wazuh systemd[1]: Failed to start Wazuh-indexer.
Aug 11 15:59:43 wazuh systemd[1]: wazuh-indexer.service: Consumed 1min 42.417s CPU time.
and attached is the log file opensearch.yml