OpenVPN start issue

Started by marjohn56, June 21, 2018, 07:00:10 PM

Previous topic - Next topic
June 21, 2018, 07:00:10 PM Last Edit: June 21, 2018, 08:45:55 PM by marjohn56
I am seeing a failure to start OpenVPN and this error whenever I reboot.

openvpn[34132]: Cannot open TUN/TAP dev /dev/tun2: Device busy (errno=16)

Doing a ps auxw | grep openvpn and then killing the existing instance allows me to manually restart OpenVPN and all is well.


Edit: Not sure if this is on the DEV only, just switched to release and it seems stable on that... very odd
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Hmm, the device creation / deletion was adjusted lightly on -devel, but could be cause of this indeed.

https://github.com/opnsense/core/commits/master/src/etc/inc/plugins.inc.d/openvpn.inc

Not sure why it fails on first boot yet. Haven't seen this here.


Cheers,
Franco

I need to do some more live system testing. I am waiting for my 2nd Qotom to arrive, once that is here I can switch quickly to test. At present I have to wait for SWMBO to go out before I can play!


Should be here in the next day or so.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Ok, thanks for looking into it.