DHCP Service not working
-
Today (7/10/2013) I have noticed that none of my clients on the LAN are getting IP address from the DHCP service. I tried to start the service and it does not start (pic attached ). I have updated the firewall code to the latest 2.1 snapshot and still no success. Help is appreciated.
-
Please post the contents of the DHCP log: Status -> System Logs, click on DHCP tab or use pfSense shell command```
clog /var/log/dhcpd.log -
Thank you and here are requested logs:
ul 10 19:18:11 calypso dhcpd: exiting.
Jul 10 19:19:20 calypso dhcpd: Internet Systems Consortium DHCP Server 4.2.5-P1
Jul 10 19:19:20 calypso dhcpd: Copyright 2004-2013 Internet Systems Consortium.
Jul 10 19:19:20 calypso dhcpd: All rights reserved.
Jul 10 19:19:20 calypso dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jul 10 19:19:20 calypso dhcpd: Internet Systems Consortium DHCP Server 4.2.5-P1
Jul 10 19:19:20 calypso dhcpd: Copyright 2004-2013 Internet Systems Consortium.
Jul 10 19:19:20 calypso dhcpd: All rights reserved.
Jul 10 19:19:20 calypso dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jul 10 19:19:20 calypso dhcpd: Wrote 0 deleted host decls to leases file.
Jul 10 19:19:20 calypso dhcpd: Wrote 0 new dynamic host decls to leases file.
Jul 10 19:19:20 calypso dhcpd: Wrote 12 leases to leases file.
Jul 10 19:19:20 calypso dhcpd: Listening on BPF/fxp1/00:d0:68:02:e8:fc/192.168.1.0/24
Jul 10 19:19:20 calypso dhcpd: Sending on BPF/fxp1/00:d0:68:02:e8:fc/192.168.1.0/24
Jul 10 19:19:20 calypso dhcpd: Sending on Socket/fallback/fallback-net
Jul 10 19:19:20 calypso dhcpd: There's already a DHCP server running.
Jul 10 19:19:20 calypso dhcpd:
Jul 10 19:19:20 calypso dhcpd: If you did not get this software from ftp.isc.org, please
Jul 10 19:19:20 calypso dhcpd: get the latest from ftp.isc.org and install that before
Jul 10 19:19:20 calypso dhcpd: requesting help.
Jul 10 19:19:20 calypso dhcpd:
Jul 10 19:19:20 calypso dhcpd: If you did get this software from ftp.isc.org and have not
Jul 10 19:19:20 calypso dhcpd: yet read the README, please read it before requesting help.
Jul 10 19:19:20 calypso dhcpd: If you intend to request help from the dhcp-server@isc.org
Jul 10 19:19:20 calypso dhcpd: mailing list, please read the section on the README about
Jul 10 19:19:20 calypso dhcpd: submitting bug reports and requests for help.
Jul 10 19:19:20 calypso dhcpd:
Jul 10 19:19:20 calypso dhcpd: Please do not under any circumstances send requests for
Jul 10 19:19:20 calypso dhcpd: help directly to the authors of this software - please
Jul 10 19:19:20 calypso dhcpd: send them to the appropriate mailing list as described in
Jul 10 19:19:20 calypso dhcpd: the README file.
Jul 10 19:19:20 calypso dhcpd:
Jul 10 19:19:20 calypso dhcpd: exiting.
Jul 10 19:29:28 calypso dhcpd: Internet Systems Consortium DHCP Server 4.2.5-P1
Jul 10 19:29:28 calypso dhcpd: Copyright 2004-2013 Internet Systems Consortium.
Jul 10 19:29:28 calypso dhcpd: All rights reserved.
Jul 10 19:29:28 calypso dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jul 10 19:29:28 calypso dhcpd: Internet Systems Consortium DHCP Server 4.2.5-P1
Jul 10 19:29:28 calypso dhcpd: Copyright 2004-2013 Internet Systems Consortium.
Jul 10 19:29:28 calypso dhcpd: All rights reserved.
Jul 10 19:29:28 calypso dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jul 10 19:29:28 calypso dhcpd: Wrote 0 deleted host decls to leases file.
Jul 10 19:29:28 calypso dhcpd: Wrote 0 new dynamic host decls to leases file.
Jul 10 19:29:28 calypso dhcpd: Wrote 12 leases to leases file.
Jul 10 19:29:28 calypso dhcpd: Listening on BPF/fxp1/00:d0:68:02:e8:fc/192.168.1.0/24
Jul 10 19:29:28 calypso dhcpd: Sending on BPF/fxp1/00:d0:68:02:e8:fc/192.168.1.0/24
Jul 10 19:29:28 calypso dhcpd: Sending on Socket/fallback/fallback-net
Jul 10 19:29:28 calypso dhcpd: There's already a DHCP server running.
Jul 10 19:29:28 calypso dhcpd:
Jul 10 19:29:28 calypso dhcpd: If you did not get this software from ftp.isc.org, please
Jul 10 19:29:28 calypso dhcpd: get the latest from ftp.isc.org and install that before
Jul 10 19:29:28 calypso dhcpd: requesting help.
Jul 10 19:29:28 calypso dhcpd:
Jul 10 19:29:28 calypso dhcpd: If you did get this software from ftp.isc.org and have not
Jul 10 19:29:28 calypso dhcpd: yet read the README, please read it before requesting help.
Jul 10 19:29:28 calypso dhcpd: If you intend to request help from the dhcp-server@isc.org
Jul 10 19:29:28 calypso dhcpd: mailing list, please read the section on the README about
Jul 10 19:29:28 calypso dhcpd: submitting bug reports and requests for help.
Jul 10 19:29:28 calypso dhcpd:
Jul 10 19:29:28 calypso dhcpd: Please do not under any circumstances send requests for
Jul 10 19:29:28 calypso dhcpd: help directly to the authors of this software - please
Jul 10 19:29:28 calypso dhcpd: send them to the appropriate mailing list as described in
Jul 10 19:29:28 calypso dhcpd: the README file.
Jul 10 19:29:28 calypso dhcpd:
Jul 10 19:29:28 calypso dhcpd: exiting.
Jul 10 20:05:47 calypso dhclient: RENEW
Jul 10 20:05:47 calypso dhclient: Creating resolv.conf
Jul 10 21:05:47 calypso dhclient: RENEW
Jul 10 21:05:47 calypso dhclient: Creating resolv.conf
Jul 10 22:05:48 calypso dhclient: RENEW
Jul 10 22:05:48 calypso dhclient: Creating resolv.conf
Jul 10 23:05:48 calypso dhclient: RENEW
Jul 10 23:05:48 calypso dhclient: Creating resolv.conf
Jul 11 00:05:49 calypso dhclient: RENEW
Jul 11 00:05:49 calypso dhclient: Creating resolv.conf
Jul 11 01:05:49 calypso dhclient: RENEW
Jul 11 01:05:49 calypso dhclient: Creating resolv.conf
Jul 11 02:05:49 calypso dhclient: RENEW
Jul 11 02:05:49 calypso dhclient: Creating resolv.conf
Jul 11 03:05:49 calypso dhclient: RENEW
Jul 11 03:05:49 calypso dhclient: Creating resolv.conf
Jul 11 04:05:49 calypso dhclient: RENEW
Jul 11 04:05:49 calypso dhclient: Creating resolv.conf
Jul 11 05:05:50 calypso dhclient: RENEW
Jul 11 05:05:50 calypso dhclient: Creating resolv.conf -
It believes it's already running, so it probably is, but perhaps the pid file is stale/mismatching.
From the shell:
# killall -9 dhcpd # rm /var/dhcpd/var/run/dhcpd.pid /var/dhcpd/var/run/dhcpdv6.pid
And then restart it from the GUI.
-
Thank you jump. Your suggested stems seems to have worked. Now my DHCP demon is running.