it is pid file corruption.
FreeBSD 11.2-RELEASE-p8-HBSD 31af16db12b(stable/19.1) amd64 1102000
Common Name Real Address Virtual Address Connected Since[error] Unable to contact daemon Service not running?
# ps awx | egrep "openvpn.*server1\.conf"25894 - Ss 0:10.37 /usr/local/sbin/openvpn --config /var/etc/openvpn/server1.conf
# cat /var/run/openvpn_server1.pid42752
/var/run/openvpn_server1.pid
Feb 11 11:59:51 openvpn[42752]: Exiting due to fatal errorFeb 11 11:59:51 openvpn[42752]: Cannot open TUN/TAP dev /dev/tun1: Device busy (errno=16)Feb 11 11:59:51 openvpn[42752]: TUN/TAP device ovpns1 exists previously, keep at program end...Feb 11 11:59:51 openvpn[99057]: library versions: LibreSSL 2.7.5, LZO 2.10Feb 11 11:59:51 openvpn[99057]: OpenVPN 2.4.6 amd64-portbld-freebsd11.2 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] [AEAD] built on Jan 28 2019
Similiar problem over here, after update to 19.1.1 OpenVPN goes up and down multiple times over the day and pulls down all connections, not only the ones over vpn but all WAN traffic.Two openVPN client connections (not set as default gw - traffic only for selected host with rules)opnsense: /usr/local/etc/rc.openvpn: OpenVPN: One or more OpenVPN tunnel endpoints may have changed its IP. Reloading endpoints that may use AIRVPN_1_VPNV4.EDIT:Feb 11 12:41:09 sense openvpn[3038]: event_wait : Interrupted system call (code=4)Feb 11 12:41:09 sense openvpn[3038]: SIGTERM received, sending exit notification to peerFeb 11 12:41:13 sense openvpn[3038]: Closing TUN/TAP interfaceFeb 11 12:41:13 sense openvpn[3038]: /usr/local/etc/inc/plugins.inc.d/openvpn/ovpn-linkdown ovpnc1 1 500 1553 10.xx.xx.xxx 255.255.255.0 initFeb 11 12:41:16 sense openvpn[3038]: SIGTERM[soft,exit-with-notification] received, process exitingEDIT2:https://forum.opnsense.org/index.php?topic=11573.msg52453#msg52453 ok this seems to be the problem for me
Issue raisedhttps://github.com/opnsense/core/issues/3223