Reading symbols from /var/ossec/bin/ossec-remoted...Reading symbols from /usr/lib/debug/var/ossec/bin/ossec-remoted.debug...done.done.(gdb) set follow-fork-mode child(gdb) run -dfStarting program: /var/ossec/bin/ossec-remoted -df[Thread debugging using libthread_db enabled]2014/11/25 00:43:05 ossec-remoted: DEBUG: Starting ...2014/11/25 00:43:05 ossec-remoted: INFO: Started (pid: 24882).[New process 24885][Thread debugging using libthread_db enabled]2014/11/25 00:43:05 ossec-remoted: DEBUG: Forking remoted: '0'.2014/11/25 00:43:05 ossec-remoted: INFO: Started (pid: 24885).2014/11/25 00:43:05 ossec-remoted: DEBUG: Running manager_init[New Thread 0x7ffff75ea700 (LWP 24886)][New Thread 0x7ffff6be9700 (LWP 24887)]2014/11/25 00:43:05 ossec-remoted: INFO: (unix_domain) Maximum send buffer set to: '124928'.2014/11/25 00:43:05 ossec-remoted(4111): INFO: Maximum number of agents allowed: '256'.2014/11/25 00:43:05 ossec-remoted(1410): INFO: Reading authentication keys file.2014/11/25 00:43:05 ossec-remoted(1750): ERROR: No remote connection configured. Exiting.[Thread 0x7ffff75ea700 (LWP 24886) exited][Thread 0x7ffff6be9700 (LWP 24887) exited]2014/11/25 00:43:05 ossec-remoted: DEBUG: Starting ...2014/11/25 00:43:05 ossec-remoted: INFO: Started (pid: 24882).2014/11/25 00:43:05 ossec-remoted: DEBUG: Forking remoted: '0'. <remote> <connection>secure</connection> <port>1514</port> <protocol>udp</protocol> <local_ip>192.168.3.11</local_ip> </remote>Dear Joel,
What I am about to suggest is probably silly but have you configured an agent at the remote installation. If there are no agents installed then remoted stops as it has nothing to do. I see from your gdb output that it reads the authentication keys but I am not sure if it says that even when the keys file is empty.
Just a thought.
Best wishes…
Colin
--
---
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+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Mon, Nov 24, 2014 at 7:52 PM, Joel Parker <root...@gmail.com> wrote:
> (gdb) set follow-fork-mode child
> (gdb) run -df
set follow-fork-mode child
or
run -df
> ossec.conf (I've tried every variation I can think of here, including
> removing all but the <secure> line. Removing the remote config entirely also
> has no affect on the above issue:
> <remote>
> <connection>secure</connection>
> <port>1514</port>
> <protocol>udp</protocol>
I think protocol only really does anything with the syslog transport.
Old post, sorry. I'm not sure I understand what to do in this case. Will remoted start again if an agent is registered some time after the server starts and remoted decides to shut down?
--