• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

OpenVPN Failed to Start

Scheduled Pinned Locked Moved OpenVPN
14 Posts 6 Posters 2.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jerelltk
    last edited by Oct 22, 2022, 12:44 AM

    Hello,

    I'm having a problem getting the OpenVPN service started in my netgate device. Tried rebooting it from console also unplugging power. I checked logs and don't see any package updates or system updates that may have caused this. This is the error before the "OpenVPN failed to start" message:

    '/status_services.php: The command ‘/usr/local/sbin/openvpn —config ‘/var/etc/openvpn/client2/config.ovpn’ returned exit-code ‘1’, the output was ‘ld-elf.so.1:/lib/libnv.so.0: version FBSD_1.0 required by /usr/local/sbin/openvpn not defined’

    Is there a fix for this? I'm not able to find any solutions at the moment. Thank you in advance.

    N G 2 Replies Last reply Nov 17, 2022, 7:11 AM Reply Quote 1
    • N
      n.lopyrev @jerelltk
      last edited by Nov 17, 2022, 7:11 AM

      @jerelltk I have the same problem. Have you already decided it?

      J 1 Reply Last reply Nov 18, 2022, 6:19 PM Reply Quote 0
      • G
        Gertjan @jerelltk
        last edited by Nov 17, 2022, 8:28 AM

        By now he knows that :

        @jerelltk said in OpenVPN Failed to Start:

        also unplugging power.

        is a perfect way to break the file system, and this opens the door to all kind op issues.
        The system will die / not being able to start up any more.
        The issue would become far greater as 'openvpn not working'.

        To test my words : use a not-important PC which has all data backed up.
        Now,start the PC, count to 10.
        Remove the power cord.
        Repeat 10 times.

        Your Windows /MAC/Linux/FreeBSD system won't boot anymore and you'll be seeing loads of obscure error messages (blue screens).

        pfSense is not a light bulb.

        To make things easy, and fast to resolve :

        @jerelltk said in OpenVPN Failed to Start:

        '/status_services.php: The command ‘/usr/local/sbin/openvpn —config ‘/var/etc/openvpn/client2/config.ovpn’ returned exit-code ‘1’, the output was ‘ld-elf.so.1:/lib/libnv.so.0: version FBSD_1.0 required by /usr/local/sbin/openvpn not defined’

        this means : take the "re install pfSense"road.

        And remember : use the Diagnostic => Halt GUI opinion to shut down the system.
        Not the power cord.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        N 1 Reply Last reply Nov 17, 2022, 8:39 AM Reply Quote 1
        • N
          n.lopyrev @Gertjan
          last edited by Nov 17, 2022, 8:39 AM

          @gertjan In my case, the netgate did not turn off. it works 100+ days. Today, several vpn servers restarted in 00:00 time. And we got the same error

          /rc.newwanip: The command '/usr/local/sbin/openvpn --config '/var/etc/openvpn/server1/config.ovpn'' returned exit code '1', the output was 'ld-elf.so.1: /lib/libnv.so.0: version FBSD_1.0 required by /usr/local/sbin/openvpn not defined'

          G 1 Reply Last reply Nov 17, 2022, 9:10 AM Reply Quote 0
          • G
            Gertjan @n.lopyrev
            last edited by Nov 17, 2022, 9:10 AM

            @n-lopyrev

            pfSense version ?

            [22.05-RELEASE][admin@pfSense.local.net]/root: ldd /usr/local/sbin/openvpn
            /usr/local/sbin/openvpn:
                    liblzo2.so.2 => /usr/local/lib/liblzo2.so.2 (0x800307000)
                    liblz4.so.1 => /usr/local/lib/liblz4.so.1 (0x80033a000)
                    libssl.so.111 => /usr/lib/libssl.so.111 (0x80036b000)
                    libcrypto.so.111 => /lib/libcrypto.so.111 (0x800410000)
                    libdl.so.1 => /usr/lib/libdl.so.1 (0x80070e000)
                    libinotify.so.0 => /usr/local/lib/libinotify.so.0 (0x800712000)
                    libnv.so.0 => /lib/libnv.so.0 (0x80071c000)
                    libc.so.7 => /lib/libc.so.7 (0x800732000)
                    libthr.so.3 => /lib/libthr.so.3 (0x800b0e000)
            

            I didn't saw any updates, related to openvpn, for month now.
            The pfSense openvpn client export package was updates a couple of time recently, but that didn't change anything for me.

            Or are you using 2.6.0 CE ?

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            N 2 Replies Last reply Nov 17, 2022, 9:29 AM Reply Quote 0
            • N
              n.lopyrev @Gertjan
              last edited by Nov 17, 2022, 9:29 AM

              @gertjan I use Netgate 7100 with version OS

              22.01-RELEASE (amd64)
              built on Mon Feb 07 16:37:59 UTC 2022
              FreeBSD 12.3-STABLE
              
              1 Reply Last reply Reply Quote 0
              • N
                n.lopyrev @Gertjan
                last edited by Nov 17, 2022, 9:38 AM

                @gertjan It is very strange. There are no encryption algorithms in the Data Encryption Algorithms.VPN: OpenVPN: Servers: Edit 2022-11-17 12-36-57.jpg

                G 1 Reply Last reply Nov 17, 2022, 1:12 PM Reply Quote 0
                • G
                  Gertjan @n.lopyrev
                  last edited by Nov 17, 2022, 1:12 PM

                  @n-lopyrev
                  Probably related.

                  Is there a reason you are not using the latest version ?

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • J
                    jerelltk @n.lopyrev
                    last edited by Nov 18, 2022, 6:19 PM

                    @n-lopyrev Yes, I decided to upgrade to the latest version because I noticed there was so many config files corrupted. I really don’t know how it happened. Now it’s working normal after the upgrade. I followed netgates instructions on upgrading, which I had to uninstall any packages then resinstall them after the upgrade.

                    1 Reply Last reply Reply Quote 0
                    • T
                      thomas_br
                      last edited by Jan 5, 2023, 8:26 PM

                      Same error here. It's a Netgate 7100 appliance. +70 days uptime without any error.

                      /status_services.php: The command '/usr/local/sbin/openvpn --config '/var/etc/openvpn/server3/config.ovpn'' returned exit code '1', the output was 'ld-elf.so.1: /lib/libnv.so.0: version FBSD_1.0 required by /usr/local/sbin/openvpn not defined'

                      1 Reply Last reply Reply Quote 1
                      • C
                        cpuch
                        last edited by Jan 24, 2023, 11:19 AM

                        Hello,

                        I'm having the same issue on Netgate 6100 with 21.05.2-RELEASE installed.

                        /status_services.php: The command '/usr/local/sbin/openvpn --config '/var/etc/openvpn/server3/config.ovpn'' returned exit code '1', the output was 'ld-elf.so.1: /lib/libnv.so.0: version FBSD_1.0 required by /usr/local/sbin/openvpn not defined'
                        

                        Has anyone found a solution?

                        T 1 Reply Last reply Jan 24, 2023, 11:28 AM Reply Quote 0
                        • T
                          thomas_br @cpuch
                          last edited by thomas_br Jan 24, 2023, 11:32 AM Jan 24, 2023, 11:28 AM

                          @cpuch Hi, I was using the same version here on 7100.

                          Solution: Backup and upgrade to 22.05-RELEASE.

                          Smooth upgrade here (removed ALL packages before upgrade and installed again after - refer to docs)

                          OpenVPN process is up and running now.

                          C C 2 Replies Last reply Jan 24, 2023, 11:31 AM Reply Quote 0
                          • C
                            cpuch @thomas_br
                            last edited by Jan 24, 2023, 11:31 AM

                            @thomas-0 Thank you I'll try to upgrade.

                            1 Reply Last reply Reply Quote 1
                            • C
                              crogerson @thomas_br
                              last edited by Feb 18, 2023, 5:00 AM

                              @thomas_br Really wish there was a real solution for this. Sure I need to upgrade my device, but I also have a problem right now that Netgate is aware of but has made no effort to resolve without further service impact.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                This community forum collects and processes your personal information.
                                consent.not_received