1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

OpenVPN failed to start

Discussion in 'Plesk for Linux - 8.x and Older' started by WolfertK, Jun 7, 2010.

  1. WolfertK

    WolfertK Guest


    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:
    Remote peer addres:

    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?

  2. WolfertK

    WolfertK Guest

    Also note:
    These commands don't work for me while logged in root on my VPS: http://kb.odin.com/article_130_696_en.html

    Might it be the case that my virtuozzo container is not allowed to make use of the tun device because I don't have vzctl access?