Update Wazuh

vim /usr/lib/systemd/system/wazuh-indexer.service

from
# Allow a slow startup before the systemd notifier module kicks in to extend the timeout
TimeoutStartSec=180

to

# Allow a slow startup before the systemd notifier module kicks in to extend the timeout
#TimeoutStartSec=180

from console linux

systemctl daemon-reload
system wazuh-indexer restart

than disable Performance Analyzer

If you prefer to save memory and run your local instance of OpenSearch with the Performance Analyzer plugin disabled, perform the following steps:

  1. Before disabling Performance Analyzer, stop any currently running RCA agent action by using the following command:
  curl -XPOST localhost:9200/_plugins/_performanceanalyzer/rca/cluster/config -H 'Content-Type: application/json' -d '{"enabled": false}'
  1. Shut down the Performance Analyzer RCA agent by running the following command:
  kill $(ps aux | grep -i 'PerformanceAnalyzerApp' | grep -v grep | awk '{print $2}')
  1. Disable the Performance Analyzer plugin by running the following command:
  curl -XPOST localhost:9200/_plugins/_performanceanalyzer/cluster/config -H 'Content-Type: application/json' -d '{"enabled": false}'

example : curl -XPOST -k -u admin:password https://localhost:9200/_plugins/_performanceanalyzer/cluster/config -H ‘Content-Type: application/json’ -d ‘{“enabled”: false}’

 

  1. Uninstall the Performance Analyzer plugin by running the following command:
  bin/opensearch-plugin remove opensearch-performance-analyzer

OpenLDAP

sudo dnf groupinstall “Development Tools”
sudo dnf install openldap-devel

 

wget https://www.openldap.org/software/download/OpenLDAP_2.4.59.tgz
tar -xzf OpenLDAP_2.4.59.tgz
cd openldap-2.4.59

./configure
make
sudo make install