DHCP server is not starting on startup
-
I am using Ubuntu Server 18.04.5 LTS. The dhcp server doesnt seem to start whenever I reboot the server. I have to run “sudo /etc/init.d/isc-dhcp-server restart” manually to get it back. I know this isn’t a FOG specific problem, but hopefully someone can help me out.
-
@brakcounty You should use the systemd commands to ensure its configured to run at startup.
sudo systemctl enable isc-dhcp-server
I guessed at the service name but the rest of the command is accurate.Also to start the service you would issue:
sudo systemctl start isc-dhcp-server
-
Of course I didn’t run that command ever! I thought I had run something like that but I guess I didn’t. Thanks!
-
@brakcounty The FOG installer should enable the service for you. Possibly something went wrong when you did the initial install.
-
@sebastian-roth Is it possible that running apt upgrade might have broken something? On my home server (Ubuntu Server 20.04) upgrading packages broke the qbittorent-nox service and I had to recreate the .service file and re-enable it.
-
@brakcounty While I can imagine an upgrade to break things in rare cases I would not think this would happen for a service like ISC-DHCP which has been around for so many years. But hey, you never know. Everything is possible.