Compiled 0.11.1 on FreeBSD 10.2. ocserv can be run as forgeground, but core dump if fork to background. ocserv[97088]: sec-mod: Error in pselect(): Bad file descriptor ocserv[97087]: error connecting to sec-mod socket '/var/run/ocserv-socket.97087': Connection refused ocserv[97087]: main: main.c:1144: libev fatal error: (libev) kevent kernel: pid 97087 (ocserv), uid 0: exited on signal 6 (core dumped) -- @hshh