Question

openvpn problem since today

i installed today mornig the following update:

Start-Date: 2014-11-01 10:32:23 Commandline: apt-get -y upgrade Upgrade: linux-libc-dev:i386 (3.2.63-2, 3.2.63-2+deb7u1), linux-image-3.2.0-4-686-pae:i386 (3.2.63-2, 3.2.63-2+deb7u1) End-Date: 2014-11-01 10:32:40

later i tried to connect to openvpn server installed on the vps. but i get the following error on the client side:

Sat Nov 01 16:18:49 2014 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)

i looked on my server and realized that openvpn could not start anymore:

root@xxxxxxxxxx:~# service openvpn restart [ ok ] Stopping virtual private network daemon:. [FAIL] Starting virtual private network daemon: server failed!

this is what i get in the log:

Sat Nov 1 16:19:29 2014 NOTE: OpenVPN 2.1 requires ‘–script-security 2’ or higher to call user-defined scripts or executables Sat Nov 1 16:19:29 2014 PLUGIN_INIT: POST /usr/lib/openvpn/openvpn-auth-pam.so ‘[/usr/lib/openvpn/openvpn-auth-pam.so] [login]’ intercepted=PLUGIN_AUTH_USER_PASS_VERIFY Sat Nov 1 16:19:29 2014 Diffie-Hellman initialized with 2048 bit key Sat Nov 1 16:19:29 2014 Control Channel Authentication: tls-auth using INLINE static key file Sat Nov 1 16:19:29 2014 Outgoing Control Channel Authentication: Using 256 bit message hash ‘SHA256’ for HMAC authentication Sat Nov 1 16:19:29 2014 Incoming Control Channel Authentication: Using 256 bit message hash ‘SHA256’ for HMAC authentication Sat Nov 1 16:19:29 2014 TLS-Auth MTU parms [ L:1602 D:178 EF:78 EB:0 ET:0 EL:0 ] Sat Nov 1 16:19:29 2014 Socket Buffers: R=[163840->131072] S=[163840->131072] Sat Nov 1 16:19:29 2014 Note: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19) Sat Nov 1 16:19:29 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0 Sat Nov 1 16:19:29 2014 /sbin/ifconfig 192.168.1.1 netmask 255.255.255.0 mtu 1500 broadcast 192.168.1.255 SIOCSIFADDR: No such device : ERROR while getting interface flags: No such device SIOCSIFNETMASK: No such device SIOCSIFMTU: No such device SIOCSIFBRDADDR: No such device : ERROR while getting interface flags: No such device Sat Nov 1 16:19:29 2014 Linux ifconfig failed: external program exited with error status: 255 Sat Nov 1 16:19:29 2014 Exiting

in the log i saw that dev/net/tun no such device error:

the i typed ifconfig in my putty window and there is no tun device started. only eth0 and lo. yesterday and over the last 2 months it was all running without problems. i didnt changed anything since yesterday on my config or anything else on my vps server. the only thing i did since yesterday was this:

Start-Date: 2014-11-01 10:32:23 Commandline: apt-get -y upgrade Upgrade: linux-libc-dev:i386 (3.2.63-2, 3.2.63-2+deb7u1), linux-image-3.2.0-4-686-pae:i386 (3.2.63-2, 3.2.63-2+deb7u1) End-Date: 2014-11-01 10:32:40

is it possible that the kernel update is doing this trouble with openvpn? i deinstalled openvpn and reinstalling it, but nothing works.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.