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

    OVPNS7 not usable, service not starting.

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 3 Posters 1.2k Views 3 Watching
    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.
    • GertjanG Offline
      Gertjan @Bambos
      last edited by

      @bambos said in OVPNS7 not usable, service not starting.:

      Anyone any comments?

      Yeah, I get it, your openvpn server instance called "OVPNS7" doesn't start.

      The OpenVPN log file will tell you why.

      Btw : No need to show the gateways in the GUI. These are not gateways, as OpenVPN server IP are more comparable to LAN's as WANs. They have a RFC1918 (the tunnel) IP and are "local".

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

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        Bambos @Gertjan
        last edited by

        @gertjan there is no logs in open VPN tab (Status-> system logs, OpenVPN) , just in the system. Since VPN service not starting, seems reasonable.

        In the status->system logs-> system we have the following.
        Is there any place to dig further?

        Mar 23 12:20:00 php 96671 servicewatchdog_cron.php: Service Watchdog detected service openvpn stopped. Restarting openvpn (OpenVPN server: teltonika_test)
        Mar 23 12:19:00 php 23261 servicewatchdog_cron.php: Service Watchdog detected service openvpn stopped. Restarting openvpn (OpenVPN server: teltonika_test)
        Mar 23 12:18:00 php 29671 servicewatchdog_cron.php: Service Watchdog detected service openvpn stopped. Restarting openvpn (OpenVPN server: teltonika_test)
        Mar 23 12:17:00 php 62774 servicewatchdog_cron.php: Service Watchdog detected service openvpn stopped. Restarting openvpn (OpenVPN server: teltonika_test)

        GertjanG 1 Reply Last reply Reply Quote 0
        • GertjanG Offline
          Gertjan @Bambos
          last edited by

          @bambos

          Disable the service watchdog package. Remove it from the system.
          This package never repaired something, that is something only the "admin" can do.
          And when something is setup correctly, it will work 'forever'. Only when the admin changes settings, things could stop working. Then the admin should look into it ( and do things better ;)à ).
          Hardware issues can also break things, but the watchdog package won't help in this case neither.

          The watchdog package could be use full when you are developing programs, scripts or packages.

          @bambos said in OVPNS7 not usable, service not starting.:

          After many other successful vpn servers configuration

          and then :

          @bambos said in OVPNS7 not usable, service not starting.:

          there is no logs in open VPN tab (Status-> system logs, OpenVPN)

          That's ..... I don't know.
          I'll go for "Not normal at all".

          I have a (one) pfSense OpenVPN instance runing.
          So I have log lines.

          a1592149-05b3-4bf2-85e9-357fb3e96c2e-image.png n

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

          B 1 Reply Last reply Reply Quote 1
          • stephenw10S Offline
            stephenw10 Netgate Administrator
            last edited by

            Mmm, if nothing is logged at all it implies it's not even trying to start.

            I assume that restarting one of the other servers does get logged?

            Steve

            B 1 Reply Last reply Reply Quote 1
            • B Offline
              Bambos @stephenw10
              last edited by

              @stephenw10 Yes Sir, restarting other VPN Server services is logged normally. Only this one is broken :)

              1 Reply Last reply Reply Quote 0
              • B Offline
                Bambos @Gertjan
                last edited by

                @gertjan Hello my friend, as Stephen suggested, other VPN server services are working and are fine, also logged normally.

                The reason i use watchdog is because i had an incident 1 year ago when a VPN Client stayed offline without retrying to get back to connection with the server because of power disconnection and loose the WAN. So i had to go back onsite and hit start service in order to retry the connection.

                I'll go for not normal also, at the same time i will try to remove watchdog and retry.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Bambos
                  last edited by

                  is there any suggestion for this subject ??
                  or steps to resolve this issue ?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator
                    last edited by

                    As I said if nothing is logged at all it's not even trying to start. I might expect an error in the system log if that was the case.
                    It sounds almost as if something is referencing the wrong OpenVPN client somehow. I'm not sure how that could happen though unless there has been any manual editing of the config?

                    Steve

                    B 1 Reply Last reply Reply Quote 1
                    • B Offline
                      Bambos @stephenw10
                      last edited by

                      @stephenw10 thank you Sir, was just a remote access open VPN setup (using the wizard), that worked successfully for a period of time, maybe a month.

                      One day, the service stopped running and never go back to run. From this time and then, the vpn interface reference (OVPNS7) never worked, even if i setup another VPN instance, remote access vpn server or site to site vpn server instance. pfSense version is 2.5.1.

                      I'm curious to see if i import the whole pfSense config on another device (hardware) what will happen with this :)

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S Offline
                        stephenw10 Netgate Administrator
                        last edited by

                        Yes, that would be a good test. It's hard to see how something in the config could do that, it seems more likely something in the filesystem has become out of sync somehow. Never seen it before though.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.