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

    dhcpleases error in system log

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 740 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.
    • emammadovE
      emammadov
      last edited by

      Hello,
      I see this errors in my system logs. Why did this happen?
      Oct 12 11:55:24 dhcpleases Could not deliver signal HUP to process because its pidfile (/var/run/unbound.pid) does not exist, No such process.

      Elvin

      1 Reply Last reply Reply Quote 1
      • VeldkornetV
        Veldkornet
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • emammadovE
          emammadov
          last edited by

          Do anyone knows why this error happens?

          Elvin

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

            dhcpleases is a process that "copies" local DHCP leases to a file that unbound (the DNS resolver) uses to resolve local devices.
            dhcpleases forces unbound to reload by HUPping it.

            What happens is : "dhcpleases" decides to tell "unbound" to reload, and uses unboud's PID file. The PID file doesn't exists ... which means unbound isn't running (is already restarting) ? dhcpleases complains about this.
            This can happen : unbound is a rather stupid program (btw : this is my opinion) and has to be restarted to have the changed config read in again. But shouldn't happen that often.
            The message isn't a show-stopper.

            Check how often your unbound restarts in the log file.

            Btw :

            0_1539590113392_391b89c0-eb56-4c2a-b959-6aab5bfa328b-image.png

            Uncheck DHCP Regsitration (and make all your DHCP leases "static" with their mAC value)
            Check "Static DHCP".

            This will calm down unbound restarting.

            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
            • emammadovE
              emammadov
              last edited by emammadov

              Thank you for your reply. If I uncheck DHCP Registration, then will I be able to enter the servers and etc with their hostname, not with their ip address?

              My screenshot:

              0_1539590630798_1.jpg

              Elvin

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

                @emammadov said in dhcpleases error in system log:

                DHCP Registration

                When "DHCP Registration" is checked, on every incoming (new) lease, the dhcpleases process will restart unbound.
                This is a very know subject on this forum btw.

                You have many devices ? unbound will get hail-stormed.

                So, as said above, create "DHCP Static Mappings" (DHCP Server page) for all you devices (or : the ones that need to be resolved) and you'll be fine, or at least : better.

                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
                • emammadovE
                  emammadov
                  last edited by

                  Thank you very much for your comprehensive answer. It is highly appreciated.

                  Elvin

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