On Tue, May 8, 2018, 4:37 PM Victor Drobysh <[email protected]> wrote:

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


install.sh should run make again with the defaults. I try setting those
customizations while running install.sh like this:

# env MAXAGENTS=4096 ./install.sh



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

-- 

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