If you encounter this error when trying to update OSSEC, please follow the following steps to correct:
- Check if awpd is running by running ps auxwww | grep awpd If it is not running, start the process.
- If awpd is running, then a firewall rule is blocking awp. Check firewall rules by running iptables -L -n If any third party rules, remove all third party tools and rules.
- If its just our rules, then someone has added something to block localhost.