Koozali.org: home of the SME Server

DHCP Crash

SSBN

DHCP Crash
« on: February 17, 2004, 10:44:24 PM »
My DHCP server just crashed. I wasn't doing anything and it went down. I have restarted but it still wont work. I am using SME 5.6 with all updates.


17 14:33:44 BMW-M5 e-smith-bg: Internet Software Consortium DHCP Server 2.0pl5
Feb 17 14:33:44 BMW-M5 dhcpd: dhcpd startup failed
Feb 17 14:33:44 BMW-M5 e-smith-bg: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
Feb 17 14:33:44 BMW-M5 e-smith-bg: All rights reserved.
Feb 17 14:33:44 BMW-M5 e-smith-bg:
Feb 17 14:33:44 BMW-M5 e-smith-bg: Please contribute if you find this software useful.
Feb 17 14:33:44 BMW-M5 e-smith-bg: For info, please visit http://www.isc.org/dhcp-contrib.html
Feb 17 14:33:44 BMW-M5 e-smith-bg:
Feb 17 14:33:44 BMW-M5 e-smith-bg: /etc/dhcpd.conf line 13: expecting numeric value.
Feb 17 14:33:44 BMW-M5 e-smith-bg:     range     ;
Feb 17 14:33:44 BMW-M5 e-smith-bg:               ^
Feb 17 14:33:44 BMW-M5 e-smith-bg: Configuration file errors encountered -- exiting
Feb 17 14:33:44 BMW-M5 e-smith-bg: exiting.
Feb 17 14:33:44 BMW-M5 e-smith-bg: [ FAILED ]^M

Offline genzil

  • ***
  • 51
  • +0/-0
    • http://www.tuxx.org.uk
try this
« Reply #1 on: February 18, 2004, 12:42:16 PM »
It looks like the config file is broken

Try the following and see if this fixs it.

run this as root:
/sbin/e-smith/expand-template /etc/dhcpd.conf

then try and restart the DHCP server
(/etc/init.d/dhcpd start)

If you still get errors then you need to look in /etc/dhcpd.conf and work out what is wrong with the file, it looks like there is an error on line 13.

Thanks

Craig
Smile :-)......