Hi
J J Sloan
You need to remove the wazuh component one at a time using the following document
https://documentation.wazuh.com/current/installation-guide/uninstalling-wazuh/central-components.html This command: sudo bash wazuh-install.sh --uninstall doesn't remove all the wazuh related files. After running this command you can see many wearing logs in /var/log/wazuh-install.log, like:
dpkg: warning: while removing filebeat, directory '/etc/filebeat' not empty so not removed
dpkg: warning: while removing filebeat, directory '/usr/share/filebeat/module' not empty so not removed
dpkg: warning: while removing wazuh-indexer, directory '/usr/lib/systemd/system' not empty so not removed
dpkg: warning: while removing wazuh-indexer, directory '/var/log/wazuh-indexer' not empty so not removed
dpkg: warning: while removing wazuh-indexer, directory '/var/lib/wazuh-indexer' not empty so not removed
So you need to remove these files and directories, try to remove files and directories that are not deleted using
rm -rf command. You need to remove the previous installation certs also for that remove this zip folder
wazuh-install-files.tar and the
cache before reinstalling wazuh on the same server
Hope this helps