From: Alan H. <al...@fa...> - 2004-10-30 16:14:58
|
On Sat, Oct 30, 2004 at 02:17:11PM +0100, Eric Oberlander wrote: > on 30/10/04 11:58 am, norman at no...@th... wrote: > > >> Any problems, send them here. > >> > >> Alan. > > > After applying the patch my DHCP server fails to start > > > > From /var/log/messages: > > Oct 30 11:40:25 ipcop140 dhcpd: /etc/dhcpd.conf line 6: expecting > > allow/deny key > > Oct 30 11:40:25 ipcop140 dhcpd: ^Ideny dynamic > > Oct 30 11:40:25 ipcop140 dhcpd: ^ > > Oct 30 11:40:25 ipcop140 dhcpd: /etc/dhcpd.conf line 6: expecting a > > parameter or declaration > > Oct 30 11:40:25 ipcop140 dhcpd: ^Ideny dynamic bootp clients; > > Oct 30 11:40:25 ipcop140 dhcpd: ^ > > Oct 30 11:40:25 ipcop140 dhcpd: Configuration file errors encountered -- > > exiting > > Oct 30 11:40:25 ipcop140 dhcpd: > > > > /var/ipcop/dhcp/dhcpd.conf: > > ddns-update-style none; > > deny bootp; > > authoritative; > > subnet 192.168.1.0 netmask 255.255.255.0 > > { > > option subnet-mask 255.255.255.0; > > option domain-name "local1"; > > option routers 192.168.1.1; > > option domain-name-servers 192.168.1.1; > > range dynamic-bootp 192.168.1.200 192.168.1.253; > > default-lease-time 86400; > > max-lease-time 86400; > > } > > > > /etc/dhcpd.conf file: > > ddns-update-style none; > > deny bootp; > > authoritative; > > subnet 192.168.1.0 netmask 255.255.255.0 > > { > > deny dynamic bootp clients; > > option subnet-mask 255.255.255.0; > > option domain-name "local1"; > > option routers 192.168.1.1; > > option domain-name-servers 192.168.1.1; > > range dynamic-bootp 192.168.1.200 192.168.1.253; > > default-lease-time 86400; > > max-lease-time 86400; > > } > > There are a number of problems here. > > The file /etc/dhcpd.conf should actually be a link to > /var/ipcop/dhcp/dhcpd.conf so it must be being overwritten in the upgrade > process, rather than editing /var/ipcop/dhcp/dhcpd.conf itself. Ugh. Fixed. > The modified /home/httpd/cgi-bin/dhcp.cgi file is not included in the > upgrade process, it need to added to the ROOTFILES.alpha-1.4.1 and > ROOTFILES.i386-1.4.1 lists, and it needs to be fixed to correct the 'deny > dynamic bootp clients;' problem. Ugh 2. Practice what you preach eh? Eric.... As for the rest, it's fixed in CVS. Alan. |