/var/db/dhcpd.leases line 0: whitespace too long, buffer overflow.



  • When trying to start the DHCP Service I recieve the following error.

    /var/db/dhcpd.leases line 0: whitespace too long, buffer overflow.

    Looking at the systems log I also see the following message.

    php-fpm[77080]: /status_services.php: The command '/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid re1' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.2.6 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ /var/db/dhcpd.leases line 0: whitespace too long, buffer overflow. ^ Exiting 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 get this software from ftp.isc.org and have not yet read the README, please read it before requesting help. If you intend to request help from the dhcp-bugs at isc.org mailing list, please read the section on the README about submitting bug reports and requests for help. Please do not under any circumstances send requests for help directly to the authors of this software - please send them to the ap

    Bad update maybe?
    2.2-RELEASE (i386)
    built on Thu Jan 22 14:04:25 CST 2015
    FreeBSD charybdis.ewtc.org 10.1-RELEASE-p4 FreeBSD 10.1-RELEASE-p4 #0 36d7dec(releng/10.1)-dirty: Thu Jan 22 15:12:38 CST 2015 root@pfsense-22-i386-builder:/usr/obj.i386/usr/pfSensesrc/src/sys/pfSense_SMP.10 i386

    You are on the latest version.



  • @twaters:

    When trying to start the DHCP Service I recieve the following error.
    /var/db/dhcpd.leases line 0: whitespace too long, buffer overflow.

    How big is that file?  It should be a plain text file that you can view with less or cat.
    Suggest you simply delete it then restart the dhcpd server, which will recreate the leases file.

    Also remember there's a chroot so its really reading    /var/dhcpd/var/db/dhcpd.leases


Log in to reply