I have edit /var/ossec/etc/ossec.conf on a client

<!-- OSSEC example config -->

<ossec_config>
  <client>
    <server-ip>my_ip</server-ip>
  </client>
</ossec_config>

and get this error

Started ossec-agentd...
2018/03/13 11:33:40 ossec-logcollector: Remote commands are not accepted 
from the manager. Ignoring it on the agent.conf
2018/03/13 11:33:40 ossec-logcollector(1202): ERROR: Configuration error at 
'/var/ossec/etc/shared/agent.conf'. Exiting.
Started ossec-logcollector...
Started ossec-syscheckd...
Completed.

File /var/ossec/etc/shared/agent.conf placed on client and on server, they 
are the same and client get config from server.

how client get config? 
1 - local /var/ossec/etc/ossec.conf,
2 - local /var/ossec/etc/shared/agent.conf
3 - server /var/ossec/etc/shared/agent.conf
?
how can i resolv this error ossec-logcollector(1202): ERROR?

-- 

--- 
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.

Reply via email to