• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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