4 Replies Latest reply: May 29, 2013 6:36 AM by Scott Guenther
Scott Guenther Level 1 Level 1 (15 points)

I have a printer on my network that got set up with 2 different static IP addresses.  I'm unable to delete either one of them.  Each time I try, I get this message i the log:

 

May 28 13:37:24 server servermgrd[39315]: servermgr_dhcp:bootp config:Error:Unable to update/remove record with id A361709A-E042-4F2C-9D10-483925796882 because 2 records found.

 

Any way to delete the one static IP?

 

thanks

 

Scott

  • 1. Re: Can't delete duplicate static IP address
    MrHoffman Level 6 Level 6 (12,455 points)

    I'd expect the duplicate entry can be removed, but I haven't encountered this particular case.

     

    What version of OS X Server are you running (10.6, as implied by the forum?), and is the OS X Server configured as an Open Directory master?

     

    See this discussion for the directories and files involved back in the 10.5 and 10.6 range.

     

    Make a backup of the files before changing anything.

     

    Untested...  I'd shut down the dhcp server and go poking around in the directories, looking to remove one of the two entries manually.

  • 2. Re: Can't delete duplicate static IP address
    Scott Guenther Level 1 Level 1 (15 points)

    I am running OSX Server 10.6 as an Open Directory master.  I did shut down the dhcp server and try deleting both entries.  Always get the same error.  Last night I shut off everything and rebooted the server.  Now the messages says this:

     

    May 29 07:48:23 server servermgrd[77]: servermgr_dhcp:bootp config:Error:Unable to update/remove record with id A361709A-E042-4F2C-9D10-483925796882 because 3 records found.

     

     

    I don't know where 3 records are.  I only have two static IP's set up for the printer in question

  • 3. Re: Can't delete duplicate static IP address
    MrHoffman Level 6 Level 6 (12,455 points)

    I am referring to direct file-level deletion of the entries, and not to the use of any Server Admin tools. 

     

    Find the database entries, and delete them manually.

     

    No, I haven't tried this as I haven't seen this case, so there's no guidance I can provide at the file level.  That'll take some investigation into how DHCP server has this stuff structured.

     

    The other obvious options are to reset all of DHCP context; to start over.  First by an export of the data and fix the contents of the backup, and then import, then if that fails and less desirably by deleting the whole context all and re-entering the mappings.

  • 4. Re: Can't delete duplicate static IP address
    Scott Guenther Level 1 Level 1 (15 points)

    I was afraid of that.  My server experience is not terribly strong, but I have not been opposed to mucking around and trying things. 

     

    I saw the discussion you sent me referenced the possibility of the files being stored here:

     

    /private/var/db/dslocal/nodes/Default/computers/

     

     

    Not sure where to go to find that first /private/ folder.  Is it an invisible folder?

     

     

    Once I get to the database do you know if I will be able to delete just the individual record, or will I need to delete it all?

     

    Unless I can find an easier solution, I may just leave well enough alone and live with both IP's being assigned to the same printer.  The printer is working ok and I found a device that was conflicting with the second IP I set up and was able to change its IP.