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

Netgate 1100 dns stops

Scheduled Pinned Locked Moved General pfSense Questions
50 Posts 6 Posters 6.7k 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.
  • G
    Gertjan @stephenw10
    last edited by Sep 23, 2022, 2:20 PM

    @stephenw10 said in Netgate 1100 dns stops:

    None of that looks like a problem.

    Let me rephrase these logs lines :

    Sep 22 21:12:31 unbound 99947 [99947:0] info: start of service (unbound 1.12.0).
    Sep 22 21:12:31 unbound 99947 [99947:0] info: start of service (unbound 1.12.0).
    Sep 22 21:12:32 unbound 99947 [99947:0] notice: Restart of unbound 1.12.0.
    Sep 22 21:12:32 unbound 99947 [99947:0] info: start of service (unbound 1.12.0).
    Sep 22 21:12:32 unbound 99947 [99947:0] info: service stopped (unbound 1.12.0).
    Sep 22 21:12:32 unbound 99947 [99947:0] notice: Restart of unbound 1.12.0
    Sep 22 21:12:32 unbound 99947 [99947:0] info: start of service (unbound 1.12.0).

    That's a restart every second !
    I think I known all the reasons why unbound would get restarted **.
    Still, for a 1100, this is IMHO, far in the danger zone.

    Restarting unbound while its already restarting, I don't know how to explain this, but something tells me that there is a big chance that @Freek_Box winds up with a dead unbound process in his pfSense.
    And this gives all the effect needed to find himself with that "dns stops".

    ** is there an interface going up and down every seconds ?
    A LAN device is hail storming the SG11000 with DHCP requests ?
    Etc.
    These two would restart unbound.

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

    S F 2 Replies Last reply Sep 23, 2022, 2:35 PM Reply Quote 0
    • S
      SteveITS Galactic Empire @Gertjan
      last edited by Sep 23, 2022, 2:35 PM

      @gertjan said in Netgate 1100 dns stops:

      would restart unbound

      Also a DHCP lease renewal, if DNS registration is enabled.

      v1.12 is a few pfSense versions old though...? 22.01 would have 1.13 IIRC. @Freek_Box what pfSense version are you on?

      I recall there was one pfSense version that reverted unbound to an earlier version due to stability issues but I can't seem to find that in the release notes.

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Sep 23, 2022, 3:01 PM

        It's not actually unusual to see that logged multiple times when Unbound is restarted. And that isn't usually a sign of a problem. For example here I restarted manually it on my edge, logs filtered for restarts:

        Sep 23 15:57:15 	unbound 	97113 	[97113:0] info: start of service (unbound 1.15.0).
        Sep 23 15:57:17 	unbound 	97113 	[97113:0] info: start of service (unbound 1.15.0).
        Sep 23 15:57:18 	unbound 	97113 	[97113:0] info: start of service (unbound 1.15.0).
        Sep 23 15:57:20 	unbound 	97113 	[97113:0] info: start of service (unbound 1.15.0).
        Sep 23 15:57:41 	unbound 	97113 	[97113:0] info: start of service (unbound 1.15.0).
        Sep 23 15:57:42 	unbound 	97113 	[97113:0] info: start of service (unbound 1.15.0). 
        

        The question of how Unbound is managed is... another question! 😉
        But it should not stop t responding normally after that.

        Steve

        G 1 Reply Last reply Sep 23, 2022, 3:13 PM Reply Quote 0
        • G
          Gertjan @stephenw10
          last edited by Sep 23, 2022, 3:13 PM

          @stephenw10
          Manually restarting, because, for example, your editing the config, is normal.

          This is a more graphical way to look at my unbound restarts.

          and most of these restarts are a result of of my interaction with unbound, directly, or indirectly, like me trying out things with pfBlockerng-devel - like switching between unbound and python mode so I think I can answer something here on the forum after testing it myself

          When I'm not at work for a week - then unbound won't restart in that week.
          Only pfBlockerng-devel will break that cycle.
          For me, unbound 1.15.0, is very stable.

          Using 22.05 on a 4100 - and yes, I'm using IPv4 (two third of the traffic) and IPv6 (one third of the traffic).

          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
          • S
            stephenw10 Netgate Administrator
            last edited by Sep 23, 2022, 3:21 PM

            Yup, it doesn't restart often for me either but when it does it logs several restarts in a row like that.

            When OP checks his resolver logs I would expect it to show that as the last thing that happened. If it was showing continuous restarts that would be a much bigger issue.

            If the Unbound service just stops a cannot be restarted I expect to see some errors logged either in the Resolver or System log.

            Steve

            1 Reply Last reply Reply Quote 0
            • F
              Freek_Box @Gertjan
              last edited by Sep 23, 2022, 3:33 PM

              @gertjan

              Running version 21.05.2-RELEASE (arm64)

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Sep 23, 2022, 4:00 PM

                Any reason you're not running something newer?

                F 1 Reply Last reply Sep 23, 2022, 4:28 PM Reply Quote 0
                • F
                  Freek_Box @stephenw10
                  last edited by Sep 23, 2022, 4:28 PM

                  @stephenw10

                  4d36ffaf-13b6-4d85-b4c1-b908216f494c-image.png

                  I asume I'm on the latest version?

                  S G 2 Replies Last reply Sep 23, 2022, 4:37 PM Reply Quote 0
                  • S
                    SteveITS Galactic Empire @Freek_Box
                    last edited by Sep 23, 2022, 4:37 PM

                    @freek_box Nope, that's last year.
                    https://docs.netgate.com/pfsense/en/latest/releases/index.html#pfsense-plus-software
                    https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors

                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                    Upvote 👍 helpful posts!

                    F 1 Reply Last reply Sep 25, 2022, 1:54 PM Reply Quote 1
                    • G
                      Gertjan @Freek_Box
                      last edited by Sep 24, 2022, 10:27 AM

                      @freek_box said in Netgate 1100 dns stops:

                      I asume I'm on the latest version?

                      Add the RSS widget on your dashboard :

                      756b3318-6899-48c8-91d0-0a25b10033c0-image.png

                      https://www.netgate.com/blog/pfsense-plus-software-version-22.05-now-available
                      so you'll have a double check on what happening and available.

                      This :

                      298af18d-a1a5-4249-8f25-b9cb40fb8653-image.png

                      is strange.
                      The check for available updates succeeded, but the info coming back said "21.05.2-Release", so, you're fine.
                      As already said above, use the Troubleshooting Upgrades suggestions. You will find 22.05 avaible.

                      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
                      • F
                        Freek_Box @SteveITS
                        last edited by Sep 25, 2022, 1:54 PM

                        @steveits

                        I did the:
                        Navigate to System > Updates
                        Set Branch to Previous stable version
                        Wait a few moments for the upgrade check to complete

                        But now it shows:

                        74666a34-5166-417d-a38b-de6f51a7e7c4-image.png

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Sep 25, 2022, 2:58 PM

                          At the command line run:

                          pkg-static -d update
                          

                          What error does it return?

                          1 Reply Last reply Reply Quote 0
                          • F
                            Freek_Box
                            last edited by Sep 26, 2022, 12:02 PM

                            @stephenw10

                            DBG(1)[40213]> pkg initialized
                            Updating pfSense-core repository catalogue...
                            DBG(1)[40213]> PkgRepo: verifying update for pfSense-core
                            DBG(1)[40213]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
                            DBG(1)[40213]> Request to fetch pkg+https://repo.netgate.com/pkg/pfSense_plus-v21_05_2_aarch64-core/meta.conf
                            DBG(1)[40213]> opening libfetch fetcher
                            DBG(1)[40213]> Fetch > libfetch: connecting
                            DBG(1)[40213]> Fetch: fetching from: https://repo00.atx.netgate.com/pkg/pfSense_plus-v21_05_2_aarch64-core/meta.conf with opts "i"
                            1082900480:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:/var/jenkins/workspace/pfSense-build-release-tarballs/BUILD_NODE/pkg-aarch64/OS_MAJOR_VERSION/freebsd12/PLATFORM/aws/crypto/openssl/ssl/statem/statem_lib.c:283:
                            DBG(1)[40213]> Fetch: fetching from: https://repo00.atx.netgate.com/pkg/pfSense_plus-v21_05_2_aarch64-core/meta.conf with opts "i"
                            Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo00.atx.netgate.com
                            1082900480:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-build-release-tarballs/BUILD_NODE/pkg-aarch64/OS_MAJOR_VERSION/freebsd12/PLATFORM/aws/crypto/openssl/ssl/statem/statem_clnt.c:1915:
                            Segmentation fault (core dumped)

                            1 Reply Last reply Reply Quote 0
                            • F
                              Freek_Box
                              last edited by Sep 26, 2022, 12:08 PM

                              When I do:
                              pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade

                              I get:
                              pkg-static: Repository pfSense missing. 'pkg update' required
                              pkg-static: No package database installed. Nothing to do!
                              Updating pfSense-core repository catalogue...
                              1082900480:error:141F0006:SSL routines:tls_construct_cert_verify:EVP lib:/var/jenkins/workspace/pfSense-build-release-tarballs/BUILD_NODE/pkg-aarch64/OS_MAJOR_VERSION/freebsd12/PLATFORM/aws/crypto/openssl/ssl/statem/statem_lib.c:283:
                              Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.atx.netgate.com
                              1082900480:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-build-release-tarballs/BUILD_NODE/pkg-aarch64/OS_MAJOR_VERSION/freebsd12/PLATFORM/aws/crypto/openssl/ssl/statem/statem_clnt.c:1915:
                              Child process pid=4480 terminated abnormally: Segmentation fault

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Sep 26, 2022, 12:17 PM

                                The segfault like that indicates the crypto chip is in an unreachable state. You need to completely power cycle the device to reset it. So halt the device then remove the power for 10s or so. It should update correctly when rebooted.
                                https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#segmentation-fault-in-pkg

                                Steve

                                F L 2 Replies Last reply Sep 26, 2022, 8:25 PM Reply Quote 0
                                • F
                                  Freek_Box @stephenw10
                                  last edited by Sep 26, 2022, 8:25 PM

                                  @stephenw10

                                  I have no possibility to unplug it is that a problem? The device is hours away from me.

                                  S 1 Reply Last reply Sep 26, 2022, 8:29 PM Reply Quote 0
                                  • S
                                    SteveITS Galactic Empire @Freek_Box
                                    last edited by Sep 26, 2022, 8:29 PM

                                    @freek_box If you click that doc page URL it's a known issue. It shouldn't affect normal operations but does affect packages and therefore upgrades. I believe it's just a one time fix though. I haven't had it recur on my 2100.

                                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                    Upvote 👍 helpful posts!

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Sep 26, 2022, 9:16 PM

                                      Unfortunately I know of no other way to reset that once it has entered that state. It will not be able to connect to the update repo until the crypto chip is reachable again.

                                      F 1 Reply Last reply Sep 27, 2022, 8:01 AM Reply Quote 0
                                      • F
                                        Freek_Box @stephenw10
                                        last edited by Sep 27, 2022, 8:01 AM

                                        @stephenw10 only rebooting is not enough?

                                        G S 2 Replies Last reply Sep 27, 2022, 8:12 AM Reply Quote 0
                                        • G
                                          Gertjan @Freek_Box
                                          last edited by Gertjan Sep 27, 2022, 8:16 AM Sep 27, 2022, 8:12 AM

                                          @freek_box
                                          Noop.
                                          The 'crypto chip' van't be reset using a command.
                                          A 10 seconds power down can bring it back online.

                                          edit : that is : a clean, commanded power down by the GUI or console(SSH),. Some ripping out the power and put it back in again could create other issues like a dirty file system.

                                          So : console or SSH option 6.
                                          Or GUI : Diagnostics > Halt System
                                          Let the system shut down.
                                          Then, remove the power for 10 seconds.
                                          Power back in.
                                          Done.

                                          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
                                          15 out of 50
                                          • First post
                                            15/50
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received