• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

OpenVPN failed to start

W

WolfertK

Guest
LS,

I would like to use the VPN module in my Plesk installation, however I can't seem to get it enabled.

These are the preferences set:
Remote address: <blank>
Remote UDP port: <blank>
Local UDP port: 1194
Local peer address: 10.8.0.1
Remote peer addres: 10.8.0.2


This is the error Plesk gives me:
Error: There was a problem starting or stopping the OpenVPN daemon:
psa-vpn: OpenVPN failed to start


In /var/log/messages I found this error:
Jun 7 16:22:49 vps479 openvpn[20413]: OpenVPN 2.0.1 i686-pc-linux [CRYPTO] [LZO] [EPOLL] built on Jun 13 2006
Jun 7 16:22:49 vps479 openvpn[20413]: WARNING: file '/usr/local/psa/var/modules/vpn/vpn-key' is group or others accessible
Jun 7 16:22:49 vps479 openvpn[20413]: LZO compression initialized
Jun 7 16:22:49 vps479 openvpn[20413]: Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)
Jun 7 16:22:49 vps479 openvpn[20413]: Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Jun 7 16:22:49 vps479 openvpn[20413]: Cannot allocate TUN/TAP dev dynamically
Jun 7 16:22:49 vps479 openvpn[20413]: Exiting


At first I figured it was only a matter of changing permissions, but even with these settings the same error keeps returning.
[root@vps479 openvpn-2.0.9]# ls -l /dev/net/tun
crwxrwxrwx 1 webadmin root 10, 200 Aug 28 2007 /dev/net/tun


Any idea on how to solve this problem?

Thanks!
 
Back
Top