Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wazuh Dashboard - Some errors messages appears while restarting #1747

Closed
mauromalara opened this issue Jul 18, 2022 · 1 comment
Closed

Wazuh Dashboard - Some errors messages appears while restarting #1747

mauromalara opened this issue Jul 18, 2022 · 1 comment
Assignees

Comments

@mauromalara
Copy link

Wazuh version Install type Action performed Platform
4.3.6 Dashboard - Amazon Linux release 2

Description

This was found while testing manually the Release Candidate 1 of Wazuh v4.3.6.

With the indexer running OK, I restarted the dashboard and some error messages appears:

journalctl -xe -u wazuh-dashboard.service --no-pager

Jul 18 21:45:20 ip-10-0-0-178.us-west-1.compute.internal systemd[1]: Stopping wazuh-dashboard...
-- Subject: Unit wazuh-dashboard.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit wazuh-dashboard.service has begun shutting down.
Jul 18 21:45:20 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19866]: {"type":"log","@timestamp":"2022-07-18T21:45:20Z","tags":["info","plugins-system"],"pid":19866,"message":"Stopping all plugins."}
Jul 18 21:45:20 ip-10-0-0-178.us-west-1.compute.internal systemd[1]: Started wazuh-dashboard.
-- Subject: Unit wazuh-dashboard.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit wazuh-dashboard.service has finished starting up.
--
-- The start-up result is done.
Jul 18 21:45:20 ip-10-0-0-178.us-west-1.compute.internal systemd[1]: Starting wazuh-dashboard...
-- Subject: Unit wazuh-dashboard.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit wazuh-dashboard.service has begun starting up.
Jul 18 21:45:25 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19944]: {"type":"log","@timestamp":"2022-07-18T21:45:25Z","tags":["info","plugins-service"],"pid":19944,"message":"Plugin \"visTypeXy\" is disabled."}
Jul 18 21:45:25 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19944]: {"type":"log","@timestamp":"2022-07-18T21:45:25Z","tags":["info","plugins-system"],"pid":19944,"message":"Setting up [42] plugins: [alertingDashboards,usageCollection,opensearchDashboardsUsageCollection,opensearchDashboardsLegacy,mapsLegacy,share,opensearchUiShared,legacyExport,embeddable,expressions,data,home,console,apmOss,management,indexPatternManagement,advancedSettings,savedObjects,securityDashboards,reportsDashboards,indexManagementDashboards,dashboard,visualizations,visTypeVega,visTypeTimeline,timeline,visTypeTable,visTypeMarkdown,tileMap,regionMap,inputControlVis,ganttChartDashboards,visualize,charts,visTypeVislib,visTypeTimeseries,visTypeTagcloud,visTypeMetric,discover,wazuh,savedObjectsManagement,bfetch]"}
Jul 18 21:45:26 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19944]: {"type":"log","@timestamp":"2022-07-18T21:45:26Z","tags":["info","savedobjects-service"],"pid":19944,"message":"Waiting until all OpenSearch nodes are compatible with OpenSearch Dashboards before starting saved objects migrations..."}
Jul 18 21:45:26 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19944]: {"type":"log","@timestamp":"2022-07-18T21:45:26Z","tags":["info","savedobjects-service"],"pid":19944,"message":"Starting saved objects migrations"}
Jul 18 21:45:26 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19944]: {"type":"log","@timestamp":"2022-07-18T21:45:26Z","tags":["info","plugins-system"],"pid":19944,"message":"Starting [42] plugins: [alertingDashboards,usageCollection,opensearchDashboardsUsageCollection,opensearchDashboardsLegacy,mapsLegacy,share,opensearchUiShared,legacyExport,embeddable,expressions,data,home,console,apmOss,management,indexPatternManagement,advancedSettings,savedObjects,securityDashboards,reportsDashboards,indexManagementDashboards,dashboard,visualizations,visTypeVega,visTypeTimeline,timeline,visTypeTable,visTypeMarkdown,tileMap,regionMap,inputControlVis,ganttChartDashboards,visualize,charts,visTypeVislib,visTypeTimeseries,visTypeTagcloud,visTypeMetric,discover,wazuh,savedObjectsManagement,bfetch]"}
Jul 18 21:45:26 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19944]: {"type":"log","@timestamp":"2022-07-18T21:45:26Z","tags":["listening","info"],"pid":19944,"message":"Server running at https://0.0.0.0:5601"}
Jul 18 21:45:27 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19944]: {"type":"log","@timestamp":"2022-07-18T21:45:27Z","tags":["info","http","server","OpenSearchDashboards"],"pid":19944,"message":"http server running at https://0.0.0.0:5601"}
Jul 18 21:45:27 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19944]: {"type":"log","@timestamp":"2022-07-18T21:45:27Z","tags":["error","opensearch","data"],"pid":19944,"message":"[ResponseError]: Response Error"}
Jul 18 21:45:27 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19944]: {"type":"log","@timestamp":"2022-07-18T21:45:27Z","tags":["error","plugins","wazuh","monitoring"],"pid":19944,"message":"Could not check if the index wazuh-monitoring-2022.29w exists due to no permissions for create, delete or check"}
Jul 18 21:45:27 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19944]: {"type":"log","@timestamp":"2022-07-18T21:45:27Z","tags":["error","opensearch","data"],"pid":19944,"message":"[ResponseError]: Response Error"}
Jul 18 21:45:27 ip-10-0-0-178.us-west-1.compute.internal opensearch-dashboards[19944]: {"type":"log","@timestamp":"2022-07-18T21:45:27Z","tags":["error","plugins","wazuh","monitoring"],"pid":19944,"message":"Could not check if the index wazuh-monitoring-2022.29w exists due to no permissions for create, delete or check"}

egrep -Ei "ERR|WARN" /usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log

{"date":"2022-07-18T21:45:27.785Z","level":"error","location":"monitoring:insertMonitoringDataElasticsearch","message":"Could not check if the index wazuh-monitoring-2022.29w exists due to no permissions for create, delete or check"}
{"date":"2022-07-18T21:45:27.867Z","level":"error","location":"monitoring:insertMonitoringDataElasticsearch","message":"Could not check if the index wazuh-monitoring-2022.29w exists due to no permissions for create, delete or check"}
@mauromalara mauromalara moved this to Triage in Release 4.3.6 Jul 19, 2022
@mauromalara mauromalara changed the title Wazuh Dashboard - Some errors messages appears while restarting (systemd) Wazuh Dashboard - Some errors messages appears while restarting Jul 19, 2022
@alberpilot
Copy link
Contributor

This PR solves this issue.

Repository owner moved this from Triage to Done in Release 4.3.6 Jul 20, 2022
@okynos okynos self-assigned this Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants