Hello
I installed Debian 8 on Virtual Box and also updated and upgraded, but when I install DHCP and edited the files with my config, when i try to do a "service isc-dhcp-server restart" i got this message "Failed to start LSB: DHCP Server".
I had tried my config and also diferent ones from tutorials on youtube, and keeps doing the same.
What could be the problem please? Thanks in advance for your help.
Debian 8 DHCP Server error "Failed to start LSB: DHCP Server
-
- Posts: 4
- Joined: 2017-10-23 08:57
Re: Debian 8 DHCP Server error "Failed to start LSB: DHCP Se
Well, for starters, check the relevant logs and post here whatever may look relevant.BorrowedByte wrote:Hello
I installed Debian 8 on Virtual Box and also updated and upgraded, but when I install DHCP and edited the files with my config, when i try to do a "service isc-dhcp-server restart" i got this message "Failed to start LSB: DHCP Server".
I had tried my config and also diferent ones from tutorials on youtube, and keeps doing the same.
What could be the problem please? Thanks in advance for your help.
Then we take it from there..
-
- Posts: 4
- Joined: 2017-10-23 08:57
Re: Debian 8 DHCP Server error "Failed to start LSB: DHCP Se
So far this is my config, but still not working
Any help will be great, its driving me mad allready....
Re: Debian 8 DHCP Server error "Failed to start LSB: DHCP Se
It seems to me that you're trying to run a DHCP server on an interface that is configurerd with DHCP. You have mixed up the configuration of your network card, as defined in /etc/network/interfaces.
You have
You should replace the "dhcp" with "static" (and restart the interface).
My guess is that the dhcp-client takes the interface, so that the dhcp-server can not.
You have
Code: Select all
iface eth0 inet dhcp
address ..
netmask ..
My guess is that the dhcp-client takes the interface, so that the dhcp-server can not.
-
- Posts: 4
- Joined: 2017-10-23 08:57
Re: Debian 8 DHCP Server error "Failed to start LSB: DHCP Se
Thanks a lot Woefdram if was that and also a bug generated with the "nano" when i configured de dhcpd.conf i created some conflicts, i deleted the file and created a new one, but this time i used "vi" instead of "nano" to add my configuration, and it worked fine.
Again thanks a lot for your help as been very helpful.
Again thanks a lot for your help as been very helpful.
Re: Debian 8 DHCP Server error "Failed to start LSB: DHCP Se
in addition to everything else, you might want to be using systemd commands (systemctl start xxxx.service in this case) instead.
jessie already made the switch to systemd. the old sysvinit commands still work, though.
jessie already made the switch to systemd. the old sysvinit commands still work, though.
-
- Posts: 4
- Joined: 2017-10-23 08:57
Re: Debian 8 DHCP Server error "Failed to start LSB: DHCP Se
Thanks a lot for your hep debiman, very appreciateddebiman wrote:in addition to everything else, you might want to be using systemd commands (systemctl start xxxx.service in this case) instead.
jessie already made the switch to systemd. the old sysvinit commands still work, though.