Normally the main config file is /etc/bootpd.plist I don't have access to a machine to check for other related files right now. I have also see reports that currently the Internet sharing feature in Mountain Lion server can conflict with the basic DHCP server function. Internet sharing (aka. NAT) also uses the DHCP code. So you could check and turn off Internet sharing.
I have the same trouble. I have been very careful to not modify anything except from Server.app and everything worked great for several weeks of testing, and then I made an image of it.
Then after an hour or so in the war zone (deployed) I got the same troubles. If I restore from the image it works for some time, I can make static maps, etc. and then suddently out of nowhere it stops working the next time I start the program or the program is open and I want to add a new client.
I was hoping OS X Server had finally matured, but it still has this wierd bugs, and worst of all, very hard to debug.
Hi I too have this issue.
DHCP seems to be working but I get the error message and DHCP service is marked as OFF.
Server app does not list any clients in server app.
I can edit the settings and they are saved. ( I can confirm with sudo serveradmin settings dhcp)
changeip -checkhostname checks out OK. My only modification so far has been manually starting the RADIUS service to work with non-Apple APs.
Thanks for answering. This is an ML server, and I don't use Internet sharing. I have deleted and let the server app recreate the bootpd.plist file from scratch. No difference. I can edit dhcp settings and have them save, but when reopening server app I still get this error and I can't see connected clients.
I had same problem with:
the error occurred while processing a command of type "getState" in plugin 'servermgr_dhcp'
and serverapp crash.
In terminal running:
sudo serveradmin status dhcp
It did said it was running, stopped the dhcp service in terminal
sudo serveradmin stop dhcp
Went to folder
did a copy to my desktop of file: dhcpd_leases
then deleted the file from /var/db/dhcpd_leases
Start Dhcp service in terminal:
sudo serveradmin start dhcp
Everythings seems to work