Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

dhcp error getState serveradmin_dhcp plug-in module

Hi!


I have a 10.8.2 server serving netinstall images DHCP and SUS. Suddenly it stopped serving IP addresses, and after checking in Server.app I got an error "An error occurred on the server while processing a command. The error occurred while processing a command of type 'getState' in plug-in 'servermgr_dhcp'.



I ga see in the log for the DHCP service that its in fact recieveing ACKS from devices but i cannot view connected clients och see the status of the DHCP service in Server.app, version 2.1.1 to be clear...


It also seems like the netinstall service is having difficulties serving clients.


No change was made to the server, but there war a pending update, the small update to 10.8.2 ver 1.0 interim update. I applied it, but nothing changed. Still same problem as before. As an attempt to fix this I removed the /var/bootpd.plist and let the service recreate it. it populated with old data?!? Where did that come from?


I then proceeded to deleting Server.app and emptying the trash, rebooted and reinstalled Server.app from App Store. config showed successful, and then the same error in Aerver.app. what is the cause of this, and more importantly, what is the fix? can I somehow reset the DHCP service? And where are all files associated with the service so I can delete them and have them recreated?

Posted on Oct 15, 2012 9:24 AM

Reply
11 replies

Nov 8, 2012 5:47 AM in response to Driver28

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.

Nov 9, 2012 4:45 AM in response to Driver28

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.

Dec 1, 2012 8:04 AM in response to Driver28

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.

May 2, 2013 3:49 AM in response to Driver28

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

/var/db/

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

dhcp error getState serveradmin_dhcp plug-in module

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.