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

    2.4.5 error

    DHCP and DNS
    2
    10
    822
    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.
    • T
      techpro2004
      last edited by

      I recently updated to 2.4.5 and my internet keeps going down. I noticed the following messages in my dhcp logs:

      Apr 12 13:56:53 dhclient /var/db/dhclient.leases.em3 line 4: expecting lease declaration.
      Apr 12 13:56:53 dhclient next-server
      Apr 12 13:56:53 dhclient ^
      Apr 12 13:56:53 dhclient /var/db/dhclient.leases.em3 line 5: expecting semicolon.
      Apr 12 13:56:53 dhclient option
      Apr 12 13:56:53 dhclient ^
      Apr 12 13:56:53 dhclient Listening on BPF/em3/00:26:55:ea:82:e6
      Apr 12 13:56:53 dhclient Sending on BPF/em3/00:26:55:ea:82:e6
      Apr 12 13:56:53 dhclient Can't attach interface {} to bpf device /dev/bpf0: Device not configured

      when it happens the only solution is to reboot my modem (not pfsense). I have an arris sb8200 modem. Thanks

      1 Reply Last reply Reply Quote 0
      • T
        techpro2004
        last edited by

        I also noticed the following in the system log

        99013 /rc.newwanip: The command '/sbin/route delete -host ' returned exit code '64', the output was 'route: destination parameter required route: usage: route [-46dnqtv] command [[modifiers] args]'

        and

        99013 	/rc.newwanip: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '[1586714662] unbound[94302:0] error: bind: address already in use [1586714662] unbound[94302:0] fatal error: could not open ports' 
        

        thanks

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

          @techpro2004 said in 2.4.5 error:

          99013 /rc.newwanip: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '[1586714662] unbound[94302:0] error: bind: address already in use [1586714662] unbound[94302:0] fatal error: could not open ports'

          This means that unbound was instructed to stop - but it didn't.
          Stop it in the GUI using :

          743a3122-091e-4bab-a22a-4c4aca1fd374-image.png

          Use SSH/console access, option 8, and use

          [2.4.5-RELEASE][admin@pfsense.atwork.net]/etc/inc: ps ax | grep 'unbound'
          12495  -  S        0:52.53 /usr/local/sbin/lighttpd_pfb -f /var/unbound/pfb_dnsbl_lighty.conf
          73057  -  Ss       0:28.38 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
           7627  0  S+       0:00.00 grep unbound
          

          Process "73057" , unbound, shouldn't be there any-more, or after re running "ps ax | grep 'unbound'" several times, be gone.
          If it's still there after 30 seconds or so, kill it manually.
          Like

          kill 73057
          

          if there are multiple lines with a "/usr/local/sbin/unbound ..." process, : go kill them all.

          When done, start unbound in the GUI.

          Re check all is well (logs !!) and use "ps ax | grep 'unbound'" again to check that there is just one line with :

          53157  -  Ss       0:28.38 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
          

          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
          • T
            techpro2004
            last edited by

            I did as you said. All unbound processes stopped with the web gui button. i did not need to run kill [pid]. I am just wondering, how does all of this fix the dhclient log errors from my first post? thanks.

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

              @techpro2004 said in 2.4.5 error:

                /var/db/dhclient.leases.em3
              

              What's in these files ?
              /var/db/dhclient.leases.em0
              /var/db/dhclient.leases.em1
              /var/db/dhclient.leases.em2
              /var/db/dhclient.leases.em3

              Some of them are probably empty files, one of them, em3 ? is your WAN interface which is using DHCP client to obtain an IP from the upstream router ?

              If the file is some how corrupt, stop the DCP client (disconnect WAN), rename the var/db/dhclient.leases.em3 file into, for example, var/db/dhclient.leases/em3.old and re connect everything.

              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
              • T
                techpro2004
                last edited by

                I have attached the file.[0_1586868468438_dhclient.leases.em3](Uploading 100%)

                1 Reply Last reply Reply Quote 0
                • T
                  techpro2004
                  last edited by techpro2004

                  it did not take one more try

                  file removed by poster

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

                    File looks ok.
                    No semicolon missing - everything is there.
                    What ever the reason was you posted 2 days ago (first post) : that issue doesn't exist any more.

                    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
                    • T
                      techpro2004
                      last edited by

                      Sounds good. Thanks

                      I also switched from google dns to cloudflare dns. I think google was getting overloaded recently and that was causing my outages. are there any known issues with ether google dns or cloudflare dns. Does cloudflare hijack my results like my isp's dns supposedly does.

                      I also installed pfblocker-ng

                      1 Reply Last reply Reply Quote 0
                      • T
                        techpro2004
                        last edited by

                        Internet went down again. This time, I received the following error in the dhcp logs when trying a wan ip release/renew

                        Apr 16 08:47:23 dhclient Internet Systems Consortium DHCP Client 4.4.1
                        Apr 16 08:47:23 dhclient Copyright 2004-2018 Internet Systems Consortium.
                        Apr 16 08:47:23 dhclient All rights reserved.
                        Apr 16 08:47:23 dhclient For info, please visit https://www.isc.org/software/dhcp/
                        Apr 16 08:47:23 dhclient Listening on BPF/em3/00:26:55:ea:82:e6
                        Apr 16 08:47:23 dhclient Sending on BPF/em3/00:26:55:ea:82:e6
                        Apr 16 08:47:23 dhclient Can't attach interface {} to bpf device /dev/bpf0: Device not configured
                        Apr 16 08:47:23 dhclient If you think you have received this message due to a bug rather
                        Apr 16 08:47:23 dhclient than a configuration issue please read the section on submitting
                        Apr 16 08:47:23 dhclient bugs on either our web page at www.isc.org or in the README file
                        Apr 16 08:47:23 dhclient before submitting a bug. These pages explain the proper
                        Apr 16 08:47:23 dhclient process and the information we find helpful for debugging.
                        Apr 16 08:47:23 dhclient exiting.
                        Apr 16 08:47:23 dhclient 11334 connection closed
                        Apr 16 08:47:23 dhclient 11334 exiting.

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