|Looking at it a bit further under a virtual machine, I'd assume the following:
- you have isc-dhcp-server installed, but don't actually use it and have never configured it.
- the isc-dhcp-server init script (which is used as fallback by systemd, in the absence of a dedicated systemd unit) now fails, as you haven't configured the dæmon properly.
If you had followed systemd's advice of:
you would have noticed this error message (likely) confirming my suspicion above:
Job for isc-dhcp-server.service failed. See 'systemctl status isc-dhcp-server.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript isc-dhcp-server, action "start" failed
# systemctl status isc-dhcp-server.service
isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server)
Active: failed (Result: exit-code)
Process: 2861 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
dhcpd: Not configured to listen on any interfaces!
dhcpd: If you think you have received this message due to a bug rather
dhcpd: than a configuration issue please read the section on submitting
isc-dhcp-server: Starting ISC DHCP server: dhcpdcheck syslog for diagnostics. ... failed!
systemd: isc-dhcp-server.service: control process exited, code=exited status=1
systemd: Failed to start LSB: DHCP server.
systemd: Unit isc-dhcp-server.service entered failed state.
If that is your problem, you have basically three options:
- if you don't need isc-dhcp-server (apparently you don't) and have no intention to use it anytime soon, just purge it:
# apt-get purge isc-dhcp-server
- if you don't need isc-dhcp-server right now, but want to keep it installed for future use:
# update-rc.d isc-hdcp-server disable
# apt-get install -f
- if you actually want to use isc-dhcp-server right now, but can't get it to install:
# edit /etc/default/isc-dhcp-server ## configure it as needed
# apt-get install -f
Reporting a non-zero exit status from isc-dhcp-server's initscript upon installing/ upgrading it is probably an unfortunate choice by its maintainer and you might want to discuss this problem with him/ her in form of a bugreport against this package. Personally I'd consider having no interfaces to listen on a valid configuration signifying to the system not to do anything (don't start the dæmon, warn, but don't report an error to the init system), but this is certainly open to interpretation and discussion.