Wazuh manager fails in case some directories do not exist or are not accessible #16315
Labels
level/task
module/analysis
Issues related to the Analysis daemon
reporter/community
type/enhancement/reliability
type/enhancement
New feature or request
Summary
When default log directories (
/var/ossec/logs/alerts
or/var/ossec/logs/archives
, and subdirectories) are removed or directory permissions are changed, Wazuh manager fails.Expected behavior
wazuh-manager
can create the folders if they do not exist, then create a log with ERROR severity, so that it can continue running reliably.wazuh-manager
can fix the ownership and file permissions, then create a log with ERROR severity, so that it can continue running reliably.Note
Wazuh components can run preflight checks for integrity on start such as:
This was discussed in #15741 before.
The text was updated successfully, but these errors were encountered: