OS is ubuntu 16.04.1, openvz vps. Openvpn install went smooth, but service wont start with systemd. I even tried commenting nlimitproc line that is suggested for debian.
I have tun device, and just to clarify, starting openvpn manually (sudo openvpn --config /etc/openvpn/server.conf) works flawlessly, so config seems fine. There is something else wrong, and errors in journalctl are not descriptive enough for me to investigate further
Nov 22 07:16:00 us2 systemd[1]: Starting OpenVPN service...
Nov 22 07:16:00 us2 systemd[1]: Starting OpenVPN connection to server...
Nov 22 07:16:00 us2 ovpn-server[14047]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017
Nov 22 07:16:00 us2 ovpn-server[14047]: library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08
Nov 22 07:16:00 us2 ovpn-server[14047]: daemon() failed or unsupported: Resource temporarily unavailable (errno=11)
Nov 22 07:16:00 us2 ovpn-server[14047]: Exiting due to fatal error
Nov 22 07:16:00 us2 systemd[1]: Started OpenVPN service.
Nov 22 07:16:00 us2 sudo[14043]: pam_unix(sudo:session): session closed for user root
Nov 22 07:16:00 us2 systemd[1]: [email protected]: Control process exited, code=exited status=1
Nov 22 07:16:00 us2 systemd[1]: Failed to start OpenVPN connection to server.
Nov 22 07:16:00 us2 systemd[1]: [email protected]: Unit entered failed state.
Nov 22 07:16:00 us2 systemd[1]: [email protected]: Failed with result 'exit-code'.
This is all I get when starting with systemctl. I only commented nlimitproc line in [email protected] file.
kernel:
Linux us2 2.6.32-042stab125.5 #1 SMP Tue Oct 17 12:48:22 MSK 2017 x86_64 x86_64 x86_64 GNU/Linux
If there is any relevant info I missed, just say and I will add more. Thanks in advance!