Wazuh Assistant immediately removing everything after installing

53 views
Skip to first unread message

Andon Manolev

unread,
Oct 30, 2024, 1:10:49 AM10/30/24
to Wazuh | Mailing List
Hello,

When I issue the command bash wazuh-install.sh -a
I get this:
29/10/2024 12:16:23 INFO: Verifying that your system meets the recommended minimum hardware requirements.
29/10/2024 12:16:28 INFO: Wazuh web interface port will be 443.
29/10/2024 12:16:34 INFO: Wazuh repository added.
29/10/2024 12:16:34 INFO: --- Configuration files ---
29/10/2024 12:16:34 INFO: Generating configuration files.
29/10/2024 12:16:34 INFO: Generating the root certificate.
29/10/2024 12:16:35 INFO: Generating Admin certificates.
29/10/2024 12:16:35 INFO: Generating Wazuh indexer certificates.
29/10/2024 12:16:36 INFO: Generating Filebeat certificates.
29/10/2024 12:16:36 INFO: Generating Wazuh dashboard certificates.
29/10/2024 12:16:37 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
29/10/2024 12:16:37 INFO: --- Wazuh indexer ---
29/10/2024 12:16:37 INFO: Starting Wazuh indexer installation.
29/10/2024 12:17:36 INFO: Wazuh indexer installation finished.
29/10/2024 12:17:36 INFO: Wazuh indexer post-install configuration finished.
29/10/2024 12:17:36 INFO: Starting service wazuh-indexer.
29/10/2024 12:17:51 INFO: wazuh-indexer service started.
29/10/2024 12:17:51 INFO: Initializing Wazuh indexer cluster security settings.
29/10/2024 12:18:03 INFO: Wazuh indexer cluster security configuration initialized.
29/10/2024 12:18:03 INFO: Wazuh indexer cluster initialized.
29/10/2024 12:18:03 INFO: --- Wazuh server ---
29/10/2024 12:18:03 INFO: Starting the Wazuh manager installation.
29/10/2024 12:18:04 ERROR: Wazuh installation failed.
29/10/2024 12:18:04 INFO: --- Removing existing Wazuh installation ---
29/10/2024 12:18:04 INFO: Removing Wazuh manager.
29/10/2024 12:18:09 WARNING: The Wazuh manager package could not be removed.
29/10/2024 12:18:09 INFO: Removing Wazuh indexer.
29/10/2024 12:18:14 INFO: Wazuh indexer removed.
29/10/2024 12:18:14 INFO: Installation cleaned.


Why it automatically starts to remove everything I don't get it. Can someone help?
Thanks in advance

hasitha.u...@wazuh.com

unread,
Oct 30, 2024, 1:39:41 AM10/30/24
to Wazuh | Mailing List
Hi Andon,

I suggest reinstalling Wazuh on a fresh OS. Also, need to check the resource and OS requirements before installing.

To make sure you have enough resource to initialize Wazuh installation.
Wazuh can be installed on a 64-bit Linux operating system. It supports the following versions:
Amazon Linux 2
CentOS 7, 8
Red Hat Enterprise Linux 7, 8, 9
Ubuntu 16.04, 18.04, 20.04, 22.04, 24.04

If you’re installing all the Wazuh components (Indexer, Manager, Dashboard) on the same server, the following resources are recommended:
For 1–25 Agents:
CPU: 4 vCPUs
RAM: 8 GiB
Storage (90 days): 50 GB

For detailed hardware requirements, please refer to the following documents:
All-in-One Deployment: https://documentation.wazuh.com/current/quickstart.html#requirements

Distributed Deployment:
Wazuh Indexer: https://documentation.wazuh.com/current/installation-guide/wazuh-indexer/index.html#hardware-recommendations
Wazuh Manager: https://documentation.wazuh.com/current/installation-guide/wazuh-server/index.html#hardware-requirements
Wazuh Dashboard: https://documentation.wazuh.com/current/installation-guide/wazuh-dashboard/index.html#hardware-requirements

You can re-install the Wazuh by following this documentation
https://documentation.wazuh.com/current/installation-guide/index.html

If the issue persist, please share the installation log.
/var/log/wazuh-install.log

Let me know if you need any further assistance.

Regards,
Hasitha Upekshitha
Reply all
Reply to author
Forward
0 new messages