[root@centos7 ~]# curl -sO
https://packages.wazuh.com/4.4/wazuh-install.sh && sudo bash ./wazuh-install.sh -a
15/06/2023 07:32:29 INFO: Starting Wazuh installation assistant. Wazuh version: 4.4.4
15/06/2023 07:32:29 INFO: Verbose logging redirected to /var/log/wazuh-install.log
15/06/2023 07:32:33 ERROR: Wazuh indexer already installed.
15/06/2023 07:32:33 INFO: If you want to overwrite the current installation, run this script adding the option -o/--overwrite. This will erase all the existing configuration and data.
[root@centos7 ~]# curl -sO
https://packages.wazuh.com/4.4/wazuh-install.sh && sudo bash ./wazuh-install.sh -o
15/06/2023 07:33:39 INFO: Starting Wazuh installation assistant. Wazuh version: 4.4.4
15/06/2023 07:33:39 INFO: Verbose logging redirected to /var/log/wazuh-install.log
15/06/2023 07:33:42 ERROR: The argument -o|--overwrite must be used in conjunction with -a|--all-in-one, -wd|--wazuh-dashboard, -wi|--wazuh-indexer, or -ws|--wazuh-server.
[root@centos7 ~]# curl -sO
https://packages.wazuh.com/4.4/wazuh-install.sh && sudo bash ./wazuh-install.sh -o -a
15/06/2023 07:33:51 INFO: Starting Wazuh installation assistant. Wazuh version: 4.4.4
15/06/2023 07:33:51 INFO: Verbose logging redirected to /var/log/wazuh-install.log
15/06/2023 07:33:55 INFO: --- Removing existing Wazuh installation ---
15/06/2023 07:33:55 INFO: Removing Wazuh indexer.
15/06/2023 07:33:55 INFO: Wazuh indexer removed.
15/06/2023 07:33:55 INFO: Wazuh GPG key was not found in the system.
15/06/2023 07:33:55 INFO: Installation cleaned.
15/06/2023 07:34:05 INFO: Wazuh repository added.
15/06/2023 07:34:05 INFO: --- Configuration files ---
15/06/2023 07:34:05 INFO: Generating configuration files.
15/06/2023 07:34:07 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
15/06/2023 07:34:07 INFO: --- Wazuh indexer ---
15/06/2023 07:34:07 INFO: Starting Wazuh indexer installation.
15/06/2023 07:42:41 INFO: Wazuh indexer installation finished.
15/06/2023 07:42:41 INFO: Wazuh indexer post-install configuration finished.
15/06/2023 07:42:41 INFO: Starting service wazuh-indexer.
15/06/2023 07:45:42 ERROR: wazuh-indexer could not be started.
15/06/2023 07:45:42 INFO: --- Removing existing Wazuh installation ---
15/06/2023 07:45:42 INFO: Removing Wazuh indexer.
15/06/2023 07:45:44 INFO: Wazuh indexer removed.
15/06/2023 07:45:44 INFO: Removing Wazuh indexer.
15/06/2023 07:45:45 INFO: Wazuh indexer removed.
15/06/2023 07:45:45 INFO: Installation cleaned.
I am having the same error even if I reboot.