Wazu Dashboard installation fails

200 views
Skip to first unread message

Gadgetz

unread,
Oct 12, 2023, 12:47:45 AM10/12/23
to Wazuh | Mailing List
Hi,

I'm having issues installing the wazu-dashboard. I get the following

bash wazuh-install.sh --wazuh-dashboard dashboard -o -p 9000
11/10/2023 21:34:11 INFO: Starting Wazuh installation assistant. Wazuh version: 4.5.3
11/10/2023 21:34:11 INFO: Verbose logging redirected to /var/log/wazuh-install.log
11/10/2023 21:34:11 INFO: --- Removing existing Wazuh installation ---
11/10/2023 21:34:11 INFO: Removing Wazuh dashboard.
11/10/2023 21:34:12 INFO: Wazuh dashboard removed.
11/10/2023 21:34:12 INFO: Wazuh GPG key was not found in the system
11/10/2023 21:34:13 INFO: Installation cleaned.
11/10/2023 21:34:15 INFO: Wazuh web interface port will be 9000.
11/10/2023 21:34:18 INFO: Wazuh repository added.
dashboard
11/10/2023 21:34:18 INFO: --- Wazuh dashboard ----
11/10/2023 21:34:18 INFO: Starting Wazuh dashboard installation.
11/10/2023 21:34:18 INFO: Wazuh dashboard installation finished.
wazuh-install.sh: line 1128: /etc/wazuh-dashboard/opensearch_dashboards.yml: No such file or directory
wazuh-install.sh: line 1132: /etc/wazuh-dashboard/opensearch_dashboards.yml: No such file or directory
sed: can't read /etc/wazuh-dashboard/opensearch_dashboards.yml: No such file or directory
11/10/2023 21:34:18 INFO: Wazuh dashboard post-install configuration finished.
11/10/2023 21:34:18 INFO: Starting service wazuh-dashboard.
11/10/2023 21:34:19 ERROR: wazuh-dashboard could not be started.
11/10/2023 21:34:19 INFO: --- Removing existing Wazuh installation ---
11/10/2023 21:34:19 INFO: Removing Wazuh dashboard.
11/10/2023 21:34:20 INFO: Wazuh dashboard removed.
11/10/2023 21:34:21 INFO: Installation cleaned. 

Stuti Gupta

unread,
Oct 12, 2023, 1:53:57 AM10/12/23
to Wazuh | Mailing List
hi Gadgetz,
Hope you are doing well today and thank you for using wazuh.

You are using the Wazuh installation assistant to download the wazuh-dashboard make sure you have  the Wazuh installation assistant installed on that server.  In case  you have already installed the Wazuh indexer on the same server you can skip that. Or you can use the following command
curl -sO https://packages.wazuh.com/4.5/wazuh-install.sh

Then you need to run the following command and replace <dashbord> with node name to install and configure the Wazuh dashboard. The node name must be the same one used in config.yml for the initial configuration, for example, dashboard.
bash wazuh-install.sh --wazuh-dashboard <dashboard>
 You can change this port using the optional parameter -p|--port <port_number>. Some recommended ports are 8443, 8444, 8080, 8888, and 9000.(only if needed)
Note Make sure that a copy of the wazuh-install-files.tar file, created during the initial configuration step, is placed in your working directory.

If you followed these steps and still getting installation failed then please share installation logs that are located at  /var/log/wazuh-install.log

Hope this helps. Looking forward to your response.
Regards,
Reply all
Reply to author
Forward
0 new messages