Koozali.org: home of the SME Server

DHCP server gives this error on boot

sander

DHCP server gives this error on boot
« on: February 16, 2004, 07:02:53 PM »
Hello!
my dhcp server on SME 6.0 gives me an error upon boot, and doesn't give out dhcp addresses, log file is as follows:

Feb 16 19:06:56 serve dhcpd: Internet Software Consortium DHCP Server 2.0pl5
Feb 16 19:06:56 serve dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
Feb 16 19:06:56 serve dhcpd: All rights reserved.
Feb 16 19:06:56 serve dhcpd:
Feb 16 19:06:56 serve dhcpd: Please contribute if you find this software useful.
Feb 16 19:06:56 serve dhcpd: For info, please visit http://www.isc.org/dhcp-contrib.html
Feb 16 19:06:56 serve dhcpd:
Feb 16 19:06:56 serve dhcpd: Internet Software Consortium DHCP Server 2.0pl5
Feb 16 19:06:56 serve dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
Feb 16 19:06:56 serve dhcpd: All rights reserved.
Feb 16 19:06:56 serve dhcpd:
Feb 16 19:06:56 serve dhcpd: Please contribute if you find this software useful.
Feb 16 19:06:56 serve dhcpd: For info, please visit http://www.isc.org/dhcp-contrib.html
Feb 16 19:06:56 serve dhcpd: /etc/dhcpd.conf line 15: expecting a parameter or declaration.
Feb 16 19:06:56 serve dhcpd:
Feb 16 19:06:56 serve dhcpd: ddns-update-style
Feb 16 19:06:56 serve dhcpd: ^
Feb 16 19:06:56 serve dhcpd: /etc/dhcpd.conf line 16: expecting a parameter or declaration.
Feb 16 19:06:56 serve dhcpd: ignore
Feb 16 19:06:56 serve dhcpd: ^
Feb 16 19:06:56 serve dhcpd: /etc/dhcpd.conf line 15: expecting a parameter or declaration.
Feb 16 19:06:56 serve dhcpd: Configuration file errors encountered -- exiting
Feb 16 19:06:56 serve dhcpd: ddns-update-style
Feb 16 19:06:56 serve dhcpd: exiting.
Feb 16 19:06:56 serve dhcpd: ^
Feb 16 19:06:56 serve kernel: denylog:IN=eth1 OUT= MAC=00:80:48:e5:e8:ae:00:0b:fc:98:b4:38:08:00 SRC=129.119.173.131 DST=194.204.56.77 LEN=48 TOS=0x00 PREC=0x00 TTL=108 ID=22333 DF PROTO=TCP SPT=3500 DPT=33659 WINDOW=25200 RES=0x00 SYN URGP=0
Feb 16 19:06:56 serve dhcpd: /etc/dhcpd.conf line 16: expecting a parameter or declaration.
Feb 16 19:06:56 serve dhcpd: ignore
Feb 16 19:06:56 serve dhcpd: ^
Feb 16 19:06:56 serve dhcpd: Configuration file errors encountered -- exiting
Feb 16 19:06:56 serve dhcpd: exiting.
Feb 16 19:06:56 serve dhcpd: Internet Software Consortium DHCP Server 2.0pl5
Feb 16 19:06:56 serve dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
Feb 16 19:06:56 serve dhcpd: dhcpd startup failed
Feb 16 19:06:56 serve dhcpd: All rights reserved.
Feb 16 19:06:56 serve dhcpd:
Feb 16 19:06:56 serve dhcpd: Please contribute if you find this software useful.
Feb 16 19:06:56 serve dhcpd: For info, please visit http://www.isc.org/dhcp-contrib.html
Feb 16 19:06:56 serve dhcpd:
Feb 16 19:06:56 serve dhcpd: /etc/dhcpd.conf line 15: expecting a parameter or declaration.
Feb 16 19:06:56 serve dhcpd: ddns-update-style
Feb 16 19:06:56 serve dhcpd: ^
Feb 16 19:06:56 serve dhcpd: /etc/dhcpd.conf line 16: expecting a parameter or declaration.
Feb 16 19:06:56 serve dhcpd: ignore
Feb 16 19:06:56 serve dhcpd: ^
Feb 16 19:06:56 serve dhcpd: Configuration file errors encountered -- exiting
Feb 16 19:06:56 serve dhcpd: exiting.
Feb 16 19:06:56 serve dhcpd:

I this started when I installed dhcp manager
Can anyone help?

thanks
sander

Offline Rigger

  • ****
  • 71
  • +0/-0
DHCP server gives this error on boot
« Reply #1 on: February 16, 2004, 07:57:19 PM »
First off I'd say try rebuilding the dhcpd.conf and then restart/reboot.

# /sbin/e-smith/expand-template /etc/dhcpd.conf
# service dhcpd restart

--
Doug M.
"Rigger"

sander

Tried, did,t work
« Reply #2 on: February 16, 2004, 08:26:09 PM »
# /sbin/e-smith/expand-template /etc/dhcpd.conf
[root@serve root]# service dhcpd restart
Shutting down dhcpd:                                       [ FAILED ]
Starting dhcpd: Internet Software Consortium DHCP Server 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

/etc/dhcpd.conf line 15: expecting a parameter or declaration.
ddns-update-style
^
/etc/dhcpd.conf line 16: expecting a parameter or declaration.
ignore
^
Configuration file errors encountered -- exiting
exiting.
                                                           [ FAILED ]
This is the error it gave
is there old config saved somewhare?

witch version of dhcpd is 6.0 final using?
mine is using 2.0pl5

thanks
sander

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
DHCP server gives this error on boot
« Reply #3 on: February 17, 2004, 07:44:33 PM »
I am running 6.0 final and mine is the same version.

[root@top60 config]# dhcpd
Internet Software Consortium DHCP Server 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
DHCP server gives this error on boot
« Reply #4 on: February 17, 2004, 07:59:09 PM »
I am running 6.0 final and mine is the same version.

[root@top60 config]# dhcpd
Internet Software Consortium DHCP Server 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
......