Hello,

could someone help figuring out on how to fix remoted that stopped working 
after upgrading OSSEC server with 2606 agents connected?

First, I upgraded without specifying MAXAGENTS. Then, I realized that 
remoted is not starting because of too many agents:
2018/05/08 16:33:45 ossec-remoted: INFO: Started (pid: 24016).
2018/05/08 16:33:45 ossec-remoted: INFO: Started (pid: 24017).
2018/05/08 16:33:45 ossec-remoted(4111): INFO: Maximum number of agents 
allowed: '2048'.
2018/05/08 16:33:45 ossec-remoted(1410): INFO: Reading authentication keys 
file.
2018/05/08 16:33:45 ossec-remoted(4110): ERROR: Maximum number of agents 
'2046' reached.
2018/05/08 16:33:45 ossec-remoted(1202): ERROR: Configuration error at 
'/etc/client.keys'. Exiting.

Second, I tried to increase MAXAGENTS by running
make TARGET=server MAXAGENTS=4096
in the src directory. After running install.sh to upgrade remoted is still 
not starting with the same error "Maximum number of agents '2046' reached.".

What am I doing wrong?

Regards,
Victor

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to