DHCP help server won't start.
Posted: Fri Feb 04, 2011 8:53 pm
Hello.
I'm having problems with my dhcp server. It is failing to start.
My symptoms seem exactly like Bug 412
In my log I see:
Feb 4 22:48:39 localhost dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Feb 4 22:48:39 localhost dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Feb 4 22:48:39 localhost dhcpd: All rights reserved.
Feb 4 22:48:39 localhost dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 4 22:48:39 localhost dhcpd: /etc/dhcp/dhcpd.conf line 20: semicolon expected.
Feb 4 22:48:39 localhost dhcpd: #011max-lease-time
Feb 4 22:48:39 localhost dhcpd: ^
Feb 4 22:48:39 localhost dhcpd: /etc/dhcp/dhcpd.conf line 20: expecting a parameter or declaration
Feb 4 22:48:39 localhost dhcpd: #011max-lease-time ;
Feb 4 22:48:39 localhost dhcpd: ^
Feb 4 22:48:39 localhost dhcpd: Configuration file errors encountered -- exiting
Feb 4 22:48:39 localhost dhcpd:
Feb 4 22:48:39 localhost dhcpd: This version of ISC DHCP is based on the release available
Feb 4 22:48:39 localhost dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 4 22:48:39 localhost dhcpd: have been made to the base software release in order to make
Feb 4 22:48:39 localhost dhcpd: it work better with this distribution.
Feb 4 22:48:39 localhost dhcpd:
Feb 4 22:48:39 localhost dhcpd: Please report for this software via the Red Hat Bugzilla site:
Feb 4 22:48:39 localhost dhcpd: http://bugzilla.redhat.com
Feb 4 22:48:39 localhost dhcpd:
Feb 4 22:48:39 localhost dhcpd: exiting.
and my dhcpd.conf reads:
ddns-update-style interim;
do-forward-updates on;
allow unknown-clients;
ddns-updates on;
ddns-domainname "emjake.local";
ddns-rev-domainname "in-addr.arpa";
ignore client-updates;
allow bootp;
allow booting;
subnet 192.168.1.0 netmask 255.255.255.0 {
authoritative;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-name "emjake.local";
option domain-name-servers 192.168.1.10, 192.168.1.10;
option time-offset -18000;
range 192.168.1.100 192.168.1.254;
default-lease-time ;
max-lease-time ;
filename "pxelinux.0";
next-server 192.168.1.10;
}
key "ddnskey" {
algorithm hmac-md5;
secret "8zaPJsiw9tOh2JFv4xiArw==";
};
zone emjake.local. {
primary 127.0.0.1;
key ddnskey;
}
zone 1.168.192.in-addr.arpa. {
primary 127.0.0.1;
key ddnskey;
}
I am a complete newb to linux. I've tried to do my own research.. but I'm just kind of lost. Have I provided enough information?
Any help would be appreciated.
Thanks
I'm having problems with my dhcp server. It is failing to start.
My symptoms seem exactly like Bug 412
In my log I see:
Feb 4 22:48:39 localhost dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Feb 4 22:48:39 localhost dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Feb 4 22:48:39 localhost dhcpd: All rights reserved.
Feb 4 22:48:39 localhost dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 4 22:48:39 localhost dhcpd: /etc/dhcp/dhcpd.conf line 20: semicolon expected.
Feb 4 22:48:39 localhost dhcpd: #011max-lease-time
Feb 4 22:48:39 localhost dhcpd: ^
Feb 4 22:48:39 localhost dhcpd: /etc/dhcp/dhcpd.conf line 20: expecting a parameter or declaration
Feb 4 22:48:39 localhost dhcpd: #011max-lease-time ;
Feb 4 22:48:39 localhost dhcpd: ^
Feb 4 22:48:39 localhost dhcpd: Configuration file errors encountered -- exiting
Feb 4 22:48:39 localhost dhcpd:
Feb 4 22:48:39 localhost dhcpd: This version of ISC DHCP is based on the release available
Feb 4 22:48:39 localhost dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 4 22:48:39 localhost dhcpd: have been made to the base software release in order to make
Feb 4 22:48:39 localhost dhcpd: it work better with this distribution.
Feb 4 22:48:39 localhost dhcpd:
Feb 4 22:48:39 localhost dhcpd: Please report for this software via the Red Hat Bugzilla site:
Feb 4 22:48:39 localhost dhcpd: http://bugzilla.redhat.com
Feb 4 22:48:39 localhost dhcpd:
Feb 4 22:48:39 localhost dhcpd: exiting.
and my dhcpd.conf reads:
ddns-update-style interim;
do-forward-updates on;
allow unknown-clients;
ddns-updates on;
ddns-domainname "emjake.local";
ddns-rev-domainname "in-addr.arpa";
ignore client-updates;
allow bootp;
allow booting;
subnet 192.168.1.0 netmask 255.255.255.0 {
authoritative;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-name "emjake.local";
option domain-name-servers 192.168.1.10, 192.168.1.10;
option time-offset -18000;
range 192.168.1.100 192.168.1.254;
default-lease-time ;
max-lease-time ;
filename "pxelinux.0";
next-server 192.168.1.10;
}
key "ddnskey" {
algorithm hmac-md5;
secret "8zaPJsiw9tOh2JFv4xiArw==";
};
zone emjake.local. {
primary 127.0.0.1;
key ddnskey;
}
zone 1.168.192.in-addr.arpa. {
primary 127.0.0.1;
key ddnskey;
}
I am a complete newb to linux. I've tried to do my own research.. but I'm just kind of lost. Have I provided enough information?
Any help would be appreciated.
Thanks