Good afternoon Team, I have an issue with Wazuh. I have 3 Wazuh servers and it been a while since the last time I logged in on those servers because I have access to the information I often use using Grafana. The thing is that when I try to access 2 of those server using the browser I get the message :
Wazuh dashboard server is not ready yet
I restarted the manager, indexer and dashboard, restarted the server and the problem persisted.
This is the version of one of my servers:
WAZUH_VERSION="v4.9.0"
WAZUH_REVISION="40907"
WAZUH_TYPE="server"
Can someone help me with this issue, thank you very much beforehand.
Systemctl status wazuh-manager
Output:
wazuh-manager.service - Wazuh manager
Loaded: loaded (/usr/lib/systemd/system/wazuh-manager.service; enabled; preset: disabled)
Active: active (running) since Tue 2024-09-17 11:02:20 CDT; 23min ago
Process: 5369 ExecStart=/usr/bin/env /var/ossec/bin/wazuh-control start (code=exited, status=0/SUCCESS)
Tasks: 177 (limit: 4200)
Memory: 1.5G
CPU: 9min 9.582s
CGroup: /system.slice/wazuh-manager.service
├─5431 /var/ossec/framework/python/bin/python3 /var/ossec/api/scripts/wazuh_apid.py
├─5432 /var/ossec/framework/python/bin/python3 /var/ossec/api/scripts/wazuh_apid.py
├─5435 /var/ossec/framework/python/bin/python3 /var/ossec/api/scripts/wazuh_apid.py
├─5438 /var/ossec/framework/python/bin/python3 /var/ossec/api/scripts/wazuh_apid.py
├─5480 /var/ossec/bin/wazuh-authd
├─5497 /var/ossec/bin/wazuh-db
├─5523 /var/ossec/bin/wazuh-execd
├─5535 /var/ossec/bin/wazuh-maild
├─5542 /var/ossec/bin/wazuh-analysisd
├─5552 /var/ossec/bin/wazuh-syscheckd
├─5570 /var/ossec/bin/wazuh-remoted
├─5571 /var/ossec/bin/wazuh-remoted
├─5656 /var/ossec/bin/wazuh-logcollector
├─5673 /var/ossec/bin/wazuh-monitord
└─5692 /var/ossec/bin/wazuh-modulesd
Sep 17 11:02:13 rrgbbcwazuhprod env[5369]: Started wazuh-analysisd...
Sep 17 11:02:14 rrgbbcwazuhprod env[5369]: Started wazuh-syscheckd...
Sep 17 11:02:15 rrgbbcwazuhprod env[5369]: Started wazuh-remoted...
Sep 17 11:02:16 rrgbbcwazuhprod env[5369]: Started wazuh-logcollector...
Sep 17 11:02:17 rrgbbcwazuhprod env[5369]: Started wazuh-monitord...
Sep 17 11:02:17 rrgbbcwazuhprod env[5690]: 2024/09/17 11:02:17 wazuh-modulesd:router: INFO: Loaded router module.
Sep 17 11:02:17 rrgbbcwazuhprod env[5690]: 2024/09/17 11:02:17 wazuh-modulesd:content_manager: INFO: Loaded content_manager module.
Sep 17 11:02:18 rrgbbcwazuhprod env[5369]: Started wazuh-modulesd...
Sep 17 11:02:20 rrgbbcwazuhprod env[5369]: Completed.
Sep 17 11:02:20 rrgbbcwazuhprod systemd[1]: Started Wazuh manager.
Systemctl status wazuh-indexer
Output:
● wazuh-indexer.service - wazuh-indexer
Loaded: loaded (/usr/lib/systemd/system/wazuh-indexer.service; enabled; preset: disabled)
Active: active (running) since Tue 2024-09-17 11:03:20 CDT; 24min ago
Docs:
https://documentation.wazuh.com Main PID: 6895 (java)
Tasks: 138 (limit: 4200)
Memory: 4.3G
CPU: 9min 88ms
CGroup: /system.slice/wazuh-indexer.service
└─6895 /usr/share/wazuh-indexer/jdk/bin/java -Xshare:auto -Dopensearch.networkaddress.cache.ttl=60 -Dopensearch.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encodin>
Sep 17 11:03:01 rrgbbcwazuhprod systemd-entrypoint[6895]: WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.OpenSearch (file:/usr/share/wazuh-indexer/lib/opensearch-2.13.0.jar)
Sep 17 11:03:01 rrgbbcwazuhprod systemd-entrypoint[6895]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.OpenSearch
Sep 17 11:03:01 rrgbbcwazuhprod systemd-entrypoint[6895]: WARNING: System::setSecurityManager will be removed in a future release
Sep 17 11:03:02 rrgbbcwazuhprod systemd-entrypoint[6895]: Sep 17, 2024 11:03:02 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
Sep 17 11:03:02 rrgbbcwazuhprod systemd-entrypoint[6895]: WARNING: COMPAT locale provider will be removed in a future release
Sep 17 11:03:03 rrgbbcwazuhprod systemd-entrypoint[6895]: WARNING: A terminally deprecated method in java.lang.System has been called
Sep 17 11:03:03 rrgbbcwazuhprod systemd-entrypoint[6895]: WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.Security (file:/usr/share/wazuh-indexer/lib/opensearch-2.13.0.jar)
Sep 17 11:03:03 rrgbbcwazuhprod systemd-entrypoint[6895]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.Security
Sep 17 11:03:03 rrgbbcwazuhprod systemd-entrypoint[6895]: WARNING: System::setSecurityManager will be removed in a future release
Sep 17 11:03:20 rrgbbcwazuhprod systemd[1]: Started wazuh-indexer.
Systemctl status wazuh-dashboard
Output:
wazuh-dashboard.service - wazuh-dashboard
Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; preset: disabled)
Active: active (running) since Tue 2024-09-17 11:09:32 CDT; 19min ago
Main PID: 7408 (node)
Tasks: 11 (limit: 4200)
Memory: 175.3M
CPU: 30.889s
CGroup: /system.slice/wazuh-dashboard.service
└─7408 /usr/share/wazuh-dashboard/node/bin/node /usr/share/wazuh-dashboard/src/cli/dist
Sep 17 11:28:23 rrgbbcwazuhprod opensearch-dashboards[7408]: {"type":"log","@timestamp":"2024-09-17T16:28:23Z","tags":["info","savedobjects-service"],"pid":7408,"message":"Detected mapping change in \"properties.homepage\""}
Sep 17 11:28:24 rrgbbcwazuhprod opensearch-dashboards[7408]: {"type":"log","@timestamp":"2024-09-17T16:28:24Z","tags":["info","savedobjects-service"],"pid":7408,"message":"Detected mapping change in \"properties.homepage\""}
Sep 17 11:28:26 rrgbbcwazuhprod opensearch-dashboards[7408]: {"type":"log","@timestamp":"2024-09-17T16:28:26Z","tags":["info","savedobjects-service"],"pid":7408,"message":"Detected mapping change in \"properties.homepage\""}
Sep 17 11:28:27 rrgbbcwazuhprod opensearch-dashboards[7408]: {"type":"log","@timestamp":"2024-09-17T16:28:27Z","tags":["info","savedobjects-service"],"pid":7408,"message":"Detected mapping change in \"properties.homepage\""}
Sep 17 11:28:29 rrgbbcwazuhprod opensearch-dashboards[7408]: {"type":"log","@timestamp":"2024-09-17T16:28:29Z","tags":["info","savedobjects-service"],"pid":7408,"message":"Detected mapping change in \"properties.homepage\""}
Sep 17 11:28:30 rrgbbcwazuhprod opensearch-dashboards[7408]: {"type":"log","@timestamp":"2024-09-17T16:28:30Z","tags":["info","savedobjects-service"],"pid":7408,"message":"Detected mapping change in \"properties.homepage\""}
Sep 17 11:28:32 rrgbbcwazuhprod opensearch-dashboards[7408]: {"type":"log","@timestamp":"2024-09-17T16:28:32Z","tags":["info","savedobjects-service"],"pid":7408,"message":"Detected mapping change in \"properties.homepage\""}
Sep 17 11:28:33 rrgbbcwazuhprod opensearch-dashboards[7408]: {"type":"log","@timestamp":"2024-09-17T16:28:33Z","tags":["info","savedobjects-service"],"pid":7408,"message":"Detected mapping change in \"properties.homepage\""}
Sep 17 11:28:35 rrgbbcwazuhprod opensearch-dashboards[7408]: {"type":"log","@timestamp":"2024-09-17T16:28:35Z","tags":["info","savedobjects-service"],"pid":7408,"message":"Detected mapping change in \"properties.homepage\""}
Sep 17 11:28:36 rrgbbcwazuhprod opensearch-dashboards[7408]: {"type":"log","@timestamp":"2024-09-17T16:28:36Z","tags":["info","savedobjects-service"],"pid":7408,"message":"Detected mapping change in \"properties.homepage\""}