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

    Unbound.pid error in system log

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 1.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.
    • 3
      3th0
      last edited by

      The following errors started popping up in my System Logs:

      Aug 22 03:52:01 dhcpleases kqueue error: unkown
      Aug 22 03:52:01 dhcpleases Could not deliver signal HUP to process because its pidfile (/var/run/unbound.pid) does not exist, No such process.
      Aug 22 03:52:01 dhcpleases /var/etc/hosts changed size from original!

      However, unbound.pid exists…

      
      ls -lah /var/run/unbound.pid 
      -rw-r--r--  1 root  wheel     6B Aug 22 03:52 /var/run/unbound.pid
      
      
      
      cat /var/run/unbound.pid
      25713
      
      

      I am running pfSense 2.3.4.

      934a8bc1-1c77-4d4e-bc32-c81b57834dff.png
      934a8bc1-1c77-4d4e-bc32-c81b57834dff.png_thumb

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

        @3th0:

        However, unbound.pid exists…

        
        ls -lah /var/run/unbound.pid 
        -rw-r--r--  1 root  wheel     6B Aug 22 03:52 /var/run/unbound.pid
        
        
        
        cat /var/run/unbound.pid
        25713
        
        

        I advise you to execute one more cmmand to be sure :

        ps 25713
        

        or whatever is the value you find in the file /var/run/unbound.pid.
        THis should return something like this :

        [2.3.4-RELEASE][admin@pfsense.my.system]/root: ps 25713
          PID TT  STAT    TIME COMMAND
        11682  -  Ss   0:22.62 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
        
        

        The pid file exists, ok, but what if unbound itself isn't there anymore or has another pid ?

        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
        • 3
          3th0
          last edited by

          Since my original post the value in unbound.pid has changed.  I executed the command you suggested with the new value and received the following results.

          
          ps 11204
            PID TT  STAT    TIME COMMAND
          11204  -  Ss   0:01.93 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
          
          

          The errors pop up in the log when I save any changes to the DHCP Server settings.

          1 Reply Last reply Reply Quote 0
          • K
            kpa
            last edited by

            As far as I know it's a cosmetic bug in Unbound caused by chrooting it under /var/unbound. There is no real problem.

            1 Reply Last reply Reply Quote 0
            • 3
              3th0
              last edited by

              @kpa:

              As far as I know it's a cosmetic bug in Unbound caused by chrooting it under /var/unbound. There is no real problem.

              Good to know!  Thank you!

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