Archive > 15.7 Legacy Series
[SOLVED] Cant restart DHCP Server
jstrebel:
Hi,
I did the upgrade last Night which went fine. One hour ago I realized a PC did not receive anymore a IP address from the DHCP server. Looking into the OPNsense dashboard I realized the DHCP Server was down. First I restarted the Service, which did not help. I restarted the Router, did not help either.
The log does not say a lot. What can I do to provide you with details to get to the root cause.
(I have put 15.1.12 in place)
One thing I like to say. This is the first time since March my OPNsense let me down. Absolutely great work, gratulations to the team.
Regards Jakob
Jul 3 12:47:01 dhcpd: exiting.
Jul 3 12:47:01 dhcpd:
Jul 3 12:47:01 dhcpd: the README file.
Jul 3 12:47:01 dhcpd: send them to the appropriate mailing list as described in
Jul 3 12:47:01 dhcpd: help directly to the authors of this software - please
Jul 3 12:47:01 dhcpd: Please do not under any circumstances send requests for
Jul 3 12:47:01 dhcpd:
Jul 3 12:47:01 dhcpd: submitting bug reports and requests for help.
Jul 3 12:47:01 dhcpd: mailing list, please read the section on the README about
Jul 3 12:47:01 dhcpd: If you intend to request help from the dhcp-bugs at isc.org
Jul 3 12:47:01 dhcpd: yet read the README, please read it before requesting help.
Jul 3 12:47:01 dhcpd: If you did get this software from ftp.isc.org and have not
Jul 3 12:47:01 dhcpd:
Jul 3 12:47:01 dhcpd: requesting help.
Jul 3 12:47:01 dhcpd: get the latest from ftp.isc.org and install that before
Jul 3 12:47:01 dhcpd: If you did not get this software from ftp.isc.org, please
Jul 3 12:47:01 dhcpd:
Jul 3 12:47:01 dhcpd: no such user: dhcpd
Jul 3 12:47:01 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jul 3 12:47:01 dhcpd: All rights reserved.
Jul 3 12:47:01 dhcpd: Copyright 2004-2015 Internet Systems Consortium.
Jul 3 12:47:01 dhcpd: Internet Systems Consortium DHCP Server 4.2.8
weust:
You only get that message in the logs when the dhcpd.conf has an error in it.
Providing the conf file would provide more insight probably.
jstrebel:
The identical config file is running fine with 15.1.12
Gesendet von iPhone mit Tapatalk
jstrebel:
Hi,
here is the /var/dhcpd/etc/dhvpd.conf.
I have removed most of the hosts. If needed I can sent it via pm.
The structure of the dhcpd entries look fine in the config file.
root@OPNsense:/var/dhcpd/etc # cat dhcpd.conf
option domain-name "teamstrebel.ch";
option ldap-server code 95 = text;
option domain-search-list code 119 = text;
option arch code 93 = unsigned integer 16; # RFC4578
default-lease-time 7200;
max-lease-time 86400;
log-facility local7;
one-lease-per-client true;
deny duplicates;
ping-check true;
update-conflict-detection false;
authoritative;
subnet 192.168.10.0 netmask 255.255.255.0 {
pool {
range 192.168.10.210 192.168.10.240;
}
option routers 192.168.10.1;
option domain-name-servers 192.168.10.1;
}
host s_lan_0 {
hardware ethernet 34:15:9e:09:0f:32;
fixed-address 192.168.10.10;
option host-name "idefix";
}
host s_lan_1 {
hardware ethernet 00:c0:ee:aa:19:71;
option dhcp-client-identifier "printer";
fixed-address 192.168.10.30;
option host-name "kyocera1370";
}
subnet 172.22.0.0 netmask 255.255.240.0 {
pool {
range 172.22.0.10 172.22.1.100;
}
option routers 172.22.0.1;
option domain-name-servers 172.22.0.1;
}
root@OPNsense:/var/dhcpd/etc #
root@OPNsense:/var/dhcpd/etc # ls -l
total 8
-rw-r--r-- 1 root wheel 4255 Jul 3 15:10 dhcpd.conf
root@OPNsense:/var/dhcpd/etc #
weust:
Looks fine to me too.
It's been a whle since I used a UNIX DHCP server, but when you start the DHCP server deamon and it finds an error, it will show you a message like the one you get, but above what you posted should also be a part on which line something is wrong?
Navigation
[0] Message Index
[#] Next page
Go to full version