I had the Erorr 5 when the file "ossec-agent.exe" has no permissions for "SYSTEM".
Unfortunately, when we change the IP in the UI, the file "ossec.conf" is re-created without SYSTEM permissions, so the service starts and exits suddenly, but it prints the access error in the "ossec.log". So, make sure that SYSTEM has permissions for executable files inside directory "ossec-agent" and "ossec.conf". Kind regards. -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.