wazuh-dashboard.service: Failed with result 'exit-code'.

410 views
Skip to first unread message

stetnt4

unread,
Dec 15, 2023, 3:46:55 PM12/15/23
to Wazuh | Mailing List
I accidentally deleted the opensearch_dashboards.yml file. I’m trying to restore it according to the instructions https://documentation.wazuh.com/current/installation-guide/wazuh-dashboard/step-by-step.html, but the dashboard does not start.
All in one installation.1.jpg
opensearch_dashboards.yml

stetnt4

unread,
Dec 15, 2023, 5:31:24 PM12/15/23
to Wazuh | Mailing List
1.jpg

  • cat /usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log | grep -i -E "error|warn"3.jpg
пятница, 15 декабря 2023 г. в 23:46:55 UTC+3, stetnt4:
2.jpg

stetnt4

unread,
Dec 17, 2023, 3:29:50 PM12/17/23
to Wazuh | Mailing List
Incorrect dashboard settings?

суббота, 16 декабря 2023 г. в 01:31:24 UTC+3, stetnt4:

Abdullah Al Rafi Fahim

unread,
Dec 17, 2023, 10:37:50 PM12/17/23
to Wazuh | Mailing List
Hello,

Can you please let us know the exact steps that you followed to restore the configuration file? Did you completely reinstall the wazuh-dashboard following the guide or perform any specific steps from there? Also can you please check the version of your Wazuh components with the following commands and let us know the outputs.
  • Wazuh Manager: /var/ossec/bin/wazuh_control info
  • Wazuh Indexer: cat /usr/share/wazuh-indexer/VERSION
  • Wazuh Dashboard: cat /usr/share/wazuh-dashboard/VERSION
Please let us know these details to understand the issue and help you to resolve this.

stetnt4

unread,
Dec 18, 2023, 1:38:59 AM12/18/23
to Wazuh | Mailing List
1.jpg

понедельник, 18 декабря 2023 г. в 06:37:50 UTC+3, Abdullah Al Rafi Fahim:

stetnt4

unread,
Dec 18, 2023, 1:40:46 AM12/18/23
to Wazuh | Mailing List
Hello! Accidentally overwrote the configuration file, took a new one from https://github.com/wazuh/wazuh-dashboard/blob/120-update-github-actions/config/opensearch_dashboards.yml

понедельник, 18 декабря 2023 г. в 09:38:59 UTC+3, stetnt4:

stetnt4

unread,
Dec 18, 2023, 1:59:27 AM12/18/23
to Wazuh | Mailing List
если я изменяю строку                                                                            
# The URLs of the OpenSearch instances to use for all your queries.
opensearch.hosts: http://10.1.1.15:92001.jpg

понедельник, 18 декабря 2023 г. в 09:40:46 UTC+3, stetnt4:

stetnt4

unread,
Dec 18, 2023, 9:07:32 AM12/18/23
to Wazuh | Mailing List
1.jpg2.jpg

понедельник, 18 декабря 2023 г. в 09:59:27 UTC+3, stetnt4:

Abdullah Al Rafi Fahim

unread,
Dec 21, 2023, 1:05:15 AM12/21/23
to Wazuh | Mailing List
Hello,

As per you screenshots, I can see that your wazuh-dashboard is active and running now. I hope the issue is resolved after you fixed the configuration file. Let us know if you still have any issue there.

Reply all
Reply to author
Forward
0 new messages