wesupport

Need help?

Our experts have had an average response time of 13.14 minutes in February 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

isc-dhcp-server: Job failed to start – Fix it now

by | Mar 25, 2021

Wondering how to fix ‘isc-dhcp-server: Job failed to start’ error? We can help you fix it.

Here at Bobcares, we have seen several such DHCP-related errors as part of our Server Management Services for web hosts and online service providers.

Today we will see how our Support Engineers fix this DHCP error for our customers.

 

How we fix ‘isc-dhcp-server: Job failed to start’

Recently, we had a customer who has eth0 and eth1. His eth0 has dynamic IP-address and eth1 has static IP-address. After installing isc-dhcp-server, he went to this one /etc/dhcpd.conf with the following command:

default-lease-time 650;

max-lease-time 79520;

option subnet-mask 255.0.0.0;
option broadcast-address 10.10.0.255;
option routers 10.10.0.2;

subnet 10.10.0.0 netmask 255.0.0.0

{

range 10.10.0.10 10.10.0.250;

}

Then he tried to start the server by running the below command.

sudo /etc/init.d/isc-dhcp-server start

As a result, he received the below error message.

start: Job failed to start

Now let’s take a look at the solution our Support Engineers provide to resolve this error.

Here, we found that the customer was using 8 bit subnet mask. So it is not possible to use 10.10.0.0 with 8 bit subnet mask. So we suggested either to change it to 10.0.0.0 or change the mask to 255.255.0.0.

Finally, it must be as below.

subnet 10.0.0.0 netmask 255.0.0.0

We can also run the DHCP daemon directly to get more information because the startup scripts will eat the error messages.

sudo /usr/sbin/dhcpd -df

This will display the specific complaints it has with the configuration file.

Also, we can see the manual page for the details of -d and -f

man dhcpd

[Need any further assistance in fixing DHCP errors? – We are here to help you]

 

Conclusion

In short, ‘isc-dhcp-server: Job failed to start’ error can happen if there is any issues with the commands that we run.  Today, we saw the solution provided by our Support Engineers to this DHCP error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags