Error: No dhcp service is associated with the server dn

  • 7015612
  • 02-Sep-2014
  • 02-Sep-2014

Environment

Novell Open Enterprise Server 2 (OES 2) Linux
Novell Open Enterprise Server 11 (OES 11) Linux

Situation

dhcpService object for a given cluster was "accidentally" deleted.  To recover, an ldif file was created to recreate the many missing object.  Upon starting up, the following was observed in the dhcpd.log file:

dhcpd: Internet Systems Consortium DHCP Server V3.0.7
dhcpd: Copyright 2004-2008 Internet Systems Consortium.
dhcpd: All rights reserved.
dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
dhcpd: LDAPS session successfully enabled to clstr1dhcpvol.novell.net:636
dhcpd: Error: No dhcp service is associated with the server dn
       cn=DHCP_server01,ou=SERVERS,ou=CHI,ou=IL,o=Novell
dhcpd: Configuration file errors encountered -- exiting

Resolution

Use iManager (or another tool) to modify the "dhcpServerDN" attribute on the dhcpService object to point to the proper DHCP_serverName object.

Cause

When the ldif file was created, it the dhcpServerDN was pointing to a different object.  Therefore, when the clustered dhcp service tried to load, it found no dhcpService associated to the given dhcpServer (DHCP_serverName) object.

Additional Information

Ideally, it is better to rebuild the service using iManager as it will ensure proper linkages occur.  At a minimum, it is recommended to rebuild the base objects -- dhcpService, dhcpServer, etc. -- and then try starting the service.  If all works with the base objects, then subnets/pools/etc. can be created by other methods -- and any new issues are related to the data used to create the additional objects.