Good evening, colleagues!
I faced a problem.
I connected 4 agents on the test bench with version 4.5 each.
Moved them from the "Default" group to their special group using the interface tools on the Wazuh-dashboard website.
Then logged into the server and ran the command "shutdown -r now" on the server running Debian 11.
The Wazuh control panel does not load after a reboot.
These are errors from the log: "tail -f /var/ossec/logs/ossec.conf"
2024/07/22 20:01:58 wazuh-db: ERROR: DB(067) sqlite3_prepare_v2() stmt(88): no such table: sync_info
2024/07/22 20:01:58 wazuh-db: ERROR: DB(067) sqlite3_prepare_v2() stmt(90): no such table: fim_entry
2024/07/22 20:01:58 wazuh-analysisd: ERROR: dbsync: Bad response from database: Cannot perform range checksum
2024/07/22 20:02:01 wazuh-db: ERROR: DB(069) sqlite3_prepare_v2() stmt(88): no such table: sync_info
2024/07/22 20:02:01 wazuh-db: ERROR: DB(069) sqlite3_prepare_v2() stmt(90): no such table: fim_entry
2024/07/22 20:02:01 wazuh-analysisd: ERROR: dbsync: Bad response from database: Cannot perform range checksum
2024/07/22 20:02:06 wazuh-db: ERROR: DB(070) sqlite3_prepare_v2() stmt(88): no such table: sync_info
2024/07/22 20:02:06 wazuh-db: ERROR: DB(070) sqlite3_prepare_v2() stmt(86): no such table: sync_info
admin@Wazuh-Server:~$ sudo systemctl status wazuh-dashboard.service
● wazuh-dashboard.service - wazuh-dashboard
Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2024-07-22 19:56:22 MSK; 19min ago
Main PID: 7424 (node)
Tasks: 11 (limit: 14305)
Memory: 150.4M
CPU: 15.331s
CGroup: /system.slice/wazuh-dashboard.service
└─7424 /usr/share/wazuh-dashboard/node/bin/node --no-warnings --max-http-header-size=65536 --unhandled-rejections=warn /usr/share/wazuh-dashboard/src/cli/dist -c /etc/wazuh-dashboard/opensearch_dashboards.yml
июл 22 20:05:11 Wazuh-Server opensearch-dashboards[7424]: {"type":"log","@timestamp":"2024-07-22T17:05:11Z","tags":["error","opensearch","data"],"pid":7424,"message":"[ResponseError]: Response Error"}
июл 22 20:05:13 Wazuh-Server opensearch-dashboards[7424]: {"type":"log","@timestamp":"2024-07-22T17:05:13Z","tags":["error","opensearch","data"],"pid":7424,"message":"[ResponseError]: Response Error"}
июл 22 20:05:13 Wazuh-Server opensearch-dashboards[7424]: {"type":"log","@timestamp":"2024-07-22T17:05:13Z","tags":["error","opensearch","data"],"pid":7424,"message":"[ResponseError]: Response Error"}
июл 22 20:05:14 Wazuh-Server opensearch-dashboards[7424]: {"type":"log","@timestamp":"2024-07-22T17:05:14Z","tags":["error","opensearch","data"],"pid":7424,"message":"[ResponseError]: Response Error"}
июл 22 20:05:16 Wazuh-Server opensearch-dashboards[7424]: {"type":"log","@timestamp":"2024-07-22T17:05:16Z","tags":["error","opensearch","data"],"pid":7424,"message":"[ResponseError]: Response Error"}
июл 22 20:05:16 Wazuh-Server opensearch-dashboards[7424]: {"type":"log","@timestamp":"2024-07-22T17:05:16Z","tags":["error","opensearch","data"],"pid":7424,"message":"[ResponseError]: Response Error"}
июл 22 20:05:16 Wazuh-Server opensearch-dashboards[7424]: {"type":"log","@timestamp":"2024-07-22T17:05:16Z","tags":["error","opensearch","data"],"pid":7424,"message":"[ResponseError]: Response Error"}
июл 22 20:05:19 Wazuh-Server opensearch-dashboards[7424]: {"type":"log","@timestamp":"2024-07-22T17:05:19Z","tags":["error","opensearch","data"],"pid":7424,"message":"[ResponseError]: Response Error"}
июл 22 20:05:19 Wazuh-Server opensearch-dashboards[7424]: {"type":"log","@timestamp":"2024-07-22T17:05:19Z","tags":["error","opensearch","data"],"pid":7424,"message":"[ResponseError]: Response Error"}
июл 22 20:05:19 Wazuh-Server opensearch-dashboards[7424]: {"type":"log","@timestamp":"2024-07-22T17:05:19Z","tags":["error","opensearch","data"],"pid":7424,"message":"[ResponseError]: Response Error"}
admin@Wazuh-Server:~$
admin@Wazuh-Server:~$ sudo systemctl status wazuh-manager.service
● wazuh-manager.service - Wazuh manager
Loaded: loaded (/lib/systemd/system/wazuh-manager.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2024-07-22 19:53:04 MSK; 21min ago
Process: 5211 ExecStart=/usr/bin/env /var/ossec/bin/wazuh-control start (code=exited, status=0/SUCCESS)
Tasks: 144 (limit: 14305)
Memory: 1.0G
CPU: 3min 23.810s
CGroup: /system.slice/wazuh-manager.service
├─5280 /var/ossec/framework/python/bin/python3 /var/ossec/api/scripts/wazuh-apid.py
├─5281 /var/ossec/framework/python/bin/python3 /var/ossec/api/scripts/wazuh-apid.py
├─5284 /var/ossec/framework/python/bin/python3 /var/ossec/api/scripts/wazuh-apid.py
├─5287 /var/ossec/framework/python/bin/python3 /var/ossec/api/scripts/wazuh-apid.py
├─5310 /var/ossec/bin/wazuh-integratord
├─5331 /var/ossec/bin/wazuh-authd
├─5347 /var/ossec/bin/wazuh-db
├─5371 /var/ossec/bin/wazuh-execd
├─5385 /var/ossec/bin/wazuh-analysisd
├─5402 /var/ossec/bin/wazuh-syscheckd
├─5470 /var/ossec/bin/wazuh-remoted
├─5502 /var/ossec/bin/wazuh-logcollector
├─5521 /var/ossec/bin/wazuh-monitord
└─5533 /var/ossec/bin/wazuh-modulesd
июл 22 19:52:55 Wazuh-Server env[5211]: Started wazuh-db...
июл 22 19:52:56 Wazuh-Server env[5211]: Started wazuh-execd...
июл 22 19:52:57 Wazuh-Server env[5211]: Started wazuh-analysisd...
июл 22 19:52:58 Wazuh-Server env[5211]: Started wazuh-syscheckd...
июл 22 19:52:59 Wazuh-Server env[5211]: Started wazuh-remoted...
июл 22 19:53:00 Wazuh-Server env[5211]: Started wazuh-logcollector...
июл 22 19:53:01 Wazuh-Server env[5211]: Started wazuh-monitord...
июл 22 19:53:02 Wazuh-Server env[5211]: Started wazuh-modulesd...
июл 22 19:53:04 Wazuh-Server env[5211]: Completed.
июл 22 19:53:04 Wazuh-Server systemd[1]: Started Wazuh manager.
lines 10-33/33 (END)
admin@Wazuh-Server:~$ sudo systemctl status wazuh-indexer
● wazuh-indexer.service - Wazuh-indexer
Loaded: loaded (/lib/systemd/system/wazuh-indexer.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2024-07-22 20:05:06 MSK; 10min ago
Docs:
https://documentation.wazuh.com Main PID: 8131 (java)
Tasks: 97 (limit: 14305)
Memory: 1.4G
CPU: 3min 27.314s
CGroup: /system.slice/wazuh-indexer.service
└─8131 /usr/share/wazuh-indexer/jdk/bin/java -Xshare:auto -Dopensearch.networkaddress.cache.ttl=60 ->
июл 22 20:04:41 Wazuh-Server systemd[1]: Starting Wazuh-indexer...
июл 22 20:04:44 Wazuh-Server systemd-entrypoint[8131]: WARNING: A terminally deprecated method in java.lang.Syste>июл 22 20:04:44 Wazuh-Server systemd-entrypoint[8131]: WARNING: System::setSecurityManager has been called by org>июл 22 20:04:44 Wazuh-Server systemd-entrypoint[8131]: WARNING: Please consider reporting this to the maintainers>июл 22 20:04:44 Wazuh-Server systemd-entrypoint[8131]: WARNING: System::setSecurityManager will be removed in a f>июл 22 20:04:45 Wazuh-Server systemd-entrypoint[8131]: WARNING: A terminally deprecated method in java.lang.Syste>июл 22 20:04:45 Wazuh-Server systemd-entrypoint[8131]: WARNING: System::setSecurityManager has been called by org>июл 22 20:04:45 Wazuh-Server systemd-entrypoint[8131]: WARNING: Please consider reporting this to the maintainers>июл 22 20:04:45 Wazuh-Server systemd-entrypoint[8131]: WARNING: System::setSecurityManager will be removed in a f>июл 22 20:05:06 Wazuh-Server systemd[1]: Started Wazuh-indexer.
lines 1-21/21 (END)
What can I do or how can I fix this problem?