PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Wieso gibt das eine Fehlermeldung?



kaheki
21.02.04, 14:34
Wieso gibt folgende dhcpd.conf:

default-lease-time 600;
max-lease-time 7200;
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.168.255.255;
# option routers 192.168.255.100;
# option domain-name-servers 62.2.17.60, 62.2.17.61, 62.2.24.158;
domain-name "XXX";
ddns-update-style none;
ddns-updates off;
authorative;
subnet 192.168.255.0 netmask 255.255.255.0
{
range 192.168.255.10 192.168.255.20;
}

folgende Fehlermeldung:

Internet Software Consortium DHCP Server V3.0.1rc13
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
/etc/dhcpd.conf line 2: expecting a parameter or declaration
# option domain-name-servers 62.2.17.60, 62.2.17.61, 62.2.24.158;
^
Configuration file errors encountered -- exiting

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.

Ich versteh das echt nicht! # sollte doch die Zeile auskommentieren, oder? Dieser Shceiss DHCPD Server spinnt!

Edit:

Habs gefunden. Vor domain-name "XXX"; kommt noch ein Option. Ist halt wieder mal so ein Grottenschlechter Debugger...