Hello Sainz!
Based on the error message, it seems that there is an issue with the socket connection in the Wazuh agent. The error
'Error: 3013 - Error connecting with socket: Socket 'auth' cannot receive connections' indicates that the agent is unable to establish a connection with the authentication socket. This could be due to a misconfiguration or a network issue.
To troubleshoot this problem, you can try the following steps:
.:
- Verify that the Wazuh manager is running: /var/ossec/bin/wazuh-control status
- Verify that the Wazuh manager is reachable: if there is a firewall installed, try disabling it, and try from another computer in the same subnet a command like telnet manager_ip 1514
- Verify, if the Wazuh manager is behind a router, that all required ports are correctly forwarded.
- Check the agent configuration file (usually located at '/var/ossec/etc/ossec.conf') and ensure that the 'auth' socket is correctly configured, and that the manager IP its correct.
- Restart the Wazuh agent and monitor the logs for any additional error messages.
If the issue persists, please provide more details about your environment and any relevant log files for further assistance.
Regards!