Hello,
I'm experiencing some difficulties with the new DHCP system.
From time to time (most of time), when adding a static IP to the list, DHCP server fails to restart. Restarting it from the admin gives me a:
"The module was restarted correctly."
But in facts, it does not restart correctly.
There goes the error reported by the DHCP server when trying to restart it:
dhcpd self-test failed. Please fix the config file.
The error was:
Internet Systems Consortium DHCP Server V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
/etc/dhcp3/dhcpd.conf line 59: expecting left brace.
some static name
^
Configuration file errors encountered -- exiting
Ok,
I must admit that I'm a bit short in time so I didn't test every possibilities in order to identify where this error comes from.
So it can be:
a) A space in "some static name"
b) The MAC is already listed in the DHCP server list.
** This is the current "workaround" that I'm using in order to restart the DHCP server:
1) Check the error log
2) Remove the problematic static IP from the list
3) Restart the DHCP server
Any help for figuring this one out would be greatly appreciated
otherwise
I'll post the solution/problem source when I'll find it
Thanks for reading
Best,
Marcus