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

    Dhcp problem maybe?

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 2.0k 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.
    • J
      jjackson524
      last edited by

      hello everyone,

      today i logged into my router and was looking around and i found alot of entries of this error im not really sure why this is happening no other pc on the network is trying to use the same ip if i read this currently could this be a bug ?

      hp-fpm[46302]: /services_dhcp.php: The command '/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid re0' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.2.8 Copyright 2004-2015 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Wrote 0 deleted host decls to leases file. Wrote 0 new dynamic host decls to leases file. Wrote 25 leases to leases file. Listening on BPF/re0/90:2b:34:d5:94:45/10.0.5.0/24 Sending on BPF/re0/90:2b:34:d5:94:45/10.0.5.0/24 Can't bind to dhcp address: Address already in use Please make sure there is no other dhcp server running and that there's no entry for dhcp or bootp in /etc/inetd.conf. Also make sure you are not running HP JetAdmin software, which includes a bootp server. If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that before requesting help. If you did
      
      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        "Can't bind to dhcp address: Address already in use Please make sure there is no other dhcp server running"

        This is not a PC on your network.. This is something on pfsense saying something is already bound to the dhcp port on that IP..

        Are you trying to run the forwarder and the resolver at the same time?

        Where exactly are you looking in the log?  Why did it post in one long line?  I would stop both resolver and forwarder and then start the one you want to use..  Did it start up correctly.. you should see that in the log where it starts without any errors.  What interfaces are you wanting to run dhcp server on?

        example - just restarted mine
        Jul 11 08:23:11 dhcpd: Internet Systems Consortium DHCP Server 4.2.8
        Jul 11 08:23:11 dhcpd: Copyright 2004-2015 Internet Systems Consortium.
        Jul 11 08:23:11 dhcpd: All rights reserved.
        Jul 11 08:23:11 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
        Jul 11 08:23:11 dhcpd: Internet Systems Consortium DHCP Server 4.2.8
        Jul 11 08:23:11 dhcpd: Copyright 2004-2015 Internet Systems Consortium.
        Jul 11 08:23:11 dhcpd: All rights reserved.
        Jul 11 08:23:11 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
        Jul 11 08:23:11 dhcpd: Wrote 0 deleted host decls to leases file.
        Jul 11 08:23:11 dhcpd: Wrote 0 new dynamic host decls to leases file.
        Jul 11 08:23:11 dhcpd: Wrote 29 leases to leases file.
        Jul 11 08:23:11 dhcpd: Listening on BPF/em2_vlan300/00:50:56:00:00:03/192.168.6.0/24
        Jul 11 08:23:11 dhcpd: Sending on BPF/em2_vlan300/00:50:56:00:00:03/192.168.6.0/24
        Jul 11 08:23:11 dhcpd: Listening on BPF/em2_vlan100/00:50:56:00:00:03/192.168.5.0/24
        Jul 11 08:23:11 dhcpd: Sending on BPF/em2_vlan100/00:50:56:00:00:03/192.168.5.0/24
        Jul 11 08:23:11 dhcpd: Listening on BPF/em2_vlan200/00:50:56:00:00:03/192.168.4.0/24
        Jul 11 08:23:11 dhcpd: Sending on BPF/em2_vlan200/00:50:56:00:00:03/192.168.4.0/24
        Jul 11 08:23:11 dhcpd: Listening on BPF/em3/00:50:56:00:00:04/192.168.3.0/24
        Jul 11 08:23:11 dhcpd: Sending on BPF/em3/00:50:56:00:00:04/192.168.3.0/24
        Jul 11 08:23:11 dhcpd: Listening on BPF/em2/00:50:56:00:00:03/192.168.2.0/24
        Jul 11 08:23:11 dhcpd: Sending on BPF/em2/00:50:56:00:00:03/192.168.2.0/24
        Jul 11 08:23:11 dhcpd: Listening on BPF/em1/00:50:56:00:00:02/192.168.9.0/24
        Jul 11 08:23:11 dhcpd: Sending on BPF/em1/00:50:56:00:00:02/192.168.9.0/24
        Jul 11 08:23:11 dhcpd: Sending on Socket/fallback/fallback-net

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • J
          jjackson524
          last edited by

          alright thanks i will look into when i get home im at work right now. you dont think the openVPN could do this do ya because i was trying to config it the other day?

          @johnpoz:

          "Can't bind to dhcp address: Address already in use Please make sure there is no other dhcp server running"

          This is not a PC on your network.. This is something on pfsense saying something is already bound to the dhcp port on that IP..

          Are you trying to run the forwarder and the resolver at the same time?

          Where exactly are you looking in the log?  Why did it post in one long line?  I would stop both resolver and forwarder and then start the one you want to use..  Did it start up correctly.. you should see that in the log where it starts without any errors.  What interfaces are you wanting to run dhcp server on?

          example - just restarted mine
          Jul 11 08:23:11 dhcpd: Internet Systems Consortium DHCP Server 4.2.8
          Jul 11 08:23:11 dhcpd: Copyright 2004-2015 Internet Systems Consortium.
          Jul 11 08:23:11 dhcpd: All rights reserved.
          Jul 11 08:23:11 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
          Jul 11 08:23:11 dhcpd: Internet Systems Consortium DHCP Server 4.2.8
          Jul 11 08:23:11 dhcpd: Copyright 2004-2015 Internet Systems Consortium.
          Jul 11 08:23:11 dhcpd: All rights reserved.
          Jul 11 08:23:11 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
          Jul 11 08:23:11 dhcpd: Wrote 0 deleted host decls to leases file.
          Jul 11 08:23:11 dhcpd: Wrote 0 new dynamic host decls to leases file.
          Jul 11 08:23:11 dhcpd: Wrote 29 leases to leases file.
          Jul 11 08:23:11 dhcpd: Listening on BPF/em2_vlan300/00:50:56:00:00:03/192.168.6.0/24
          Jul 11 08:23:11 dhcpd: Sending on BPF/em2_vlan300/00:50:56:00:00:03/192.168.6.0/24
          Jul 11 08:23:11 dhcpd: Listening on BPF/em2_vlan100/00:50:56:00:00:03/192.168.5.0/24
          Jul 11 08:23:11 dhcpd: Sending on BPF/em2_vlan100/00:50:56:00:00:03/192.168.5.0/24
          Jul 11 08:23:11 dhcpd: Listening on BPF/em2_vlan200/00:50:56:00:00:03/192.168.4.0/24
          Jul 11 08:23:11 dhcpd: Sending on BPF/em2_vlan200/00:50:56:00:00:03/192.168.4.0/24
          Jul 11 08:23:11 dhcpd: Listening on BPF/em3/00:50:56:00:00:04/192.168.3.0/24
          Jul 11 08:23:11 dhcpd: Sending on BPF/em3/00:50:56:00:00:04/192.168.3.0/24
          Jul 11 08:23:11 dhcpd: Listening on BPF/em2/00:50:56:00:00:03/192.168.2.0/24
          Jul 11 08:23:11 dhcpd: Sending on BPF/em2/00:50:56:00:00:03/192.168.2.0/24
          Jul 11 08:23:11 dhcpd: Listening on BPF/em1/00:50:56:00:00:02/192.168.9.0/24
          Jul 11 08:23:11 dhcpd: Sending on BPF/em1/00:50:56:00:00:02/192.168.9.0/24
          Jul 11 08:23:11 dhcpd: Sending on Socket/fallback/fallback-net

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            My BAD, not sure what I was thinking???  Maybe not enough coffee this morning.. dhcp and dns completely different things ;)

            I think the bind threw me ;)  Got me thinking dns..

            I would make sure you fully stop your dhcp service..  you could check if running with netstat or sockstat looking to see if anything listening on dhcp

            [2.2.3-RELEASE][root@pfSense.local.lan]/root: sockstat
            dhcpd    dhcpd      44674 18 udp4  *:67                  :
            dhcpd    dhcpd      44674 20 udp4  *:9083                :
            dhcpd    dhcpd      44674 21 udp6  *:56341              :

            Or just reboot pfsense - what do you see in the log then?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • J
              jjackson524
              last edited by

              your fine lol i will let you know when i get home Thanks!! 8) 8)

              @johnpoz:

              My BAD, not sure what I was thinking???  Maybe not enough coffee this morning.. dhcp and dns completely different things ;)

              I think the bind threw me ;)  Got me thinking dns..

              I would make sure you fully stop your dhcp service..  you could check if running with netstat or sockstat looking to see if anything listening on dhcp

              [2.2.3-RELEASE][root@pfSense.local.lan]/root: sockstat
              dhcpd    dhcpd      44674 18 udp4  *:67                  :
              dhcpd    dhcpd      44674 20 udp4  *:9083                :
              dhcpd    dhcpd      44674 21 udp6  *:56341              :

              Or just reboot pfsense - what do you see in the log then?

              1 Reply Last reply Reply Quote 0
              • F
                FlashEngineer
                last edited by

                I have/had same issue as well.  The DHCP server won't run, this was fresh install with DNS resolver enabled.  I disabled resolver and DHCP started working… care to explain?

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  With the amount of info you have given… What do you want us to explain exactly??  I could go into why the moon is not made of cheese if you would like..  I get as much info for that topic from your post than your actual problem.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

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