OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • OpenVPN start issue
« previous next »
  • Print
Pages: [1]

Author Topic: OpenVPN start issue  (Read 3462 times)

marjohn56

  • Hero Member
  • *****
  • Posts: 1677
  • Karma: 171
    • View Profile
OpenVPN start issue
« on: June 21, 2018, 07:00:10 pm »
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
« Last Edit: June 21, 2018, 08:45:55 pm by marjohn56 »
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: OpenVPN start issue
« Reply #1 on: June 22, 2018, 11:20:51 am »
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
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1677
  • Karma: 171
    • View Profile
Re: OpenVPN start issue
« Reply #2 on: June 22, 2018, 01:14:25 pm »
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.
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: OpenVPN start issue
« Reply #3 on: June 22, 2018, 01:30:03 pm »
Ok, thanks for looking into it.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • OpenVPN start issue
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2