- 论坛徽章:
- 0
|
[root@localhost ~]# vi /etc/dhcpd.conf
allow booting;
allow bootp;
class "pxeclients" {
match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
next-server ;
filename "pxelinux.0";
}
[root@localhost tftpboot]# service dhcpd start
Starting dhcpd: [FAILED]
[root@localhost ~]# tail /var/log/messages -f
Nov 18 23:36:04 localhost dhcpd: Internet Systems Consortium DHCP Server V3.0.5-RedHat
Nov 18 23:36:04 localhost dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Nov 18 23:36:04 localhost dhcpd: All rights reserved.
Nov 18 23:36:04 localhost dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Nov 18 23:36:04 localhost dhcpd: /etc/dhcpd.conf line 6: semicolon expected.
Nov 18 23:36:04 localhost dhcpd: filename
Nov 18 23:36:04 localhost dhcpd: ^
Nov 18 23:36:04 localhost dhcpd: /etc/dhcpd.conf line 6: expecting a parameter or declaration
Nov 18 23:36:04 localhost dhcpd: filename "pxelinux.0";
Nov 18 23:36:04 localhost dhcpd: ^
Nov 18 23:36:04 localhost dhcpd: /etc/dhcpd.conf line 7: unexpected end of file
Nov 18 23:36:04 localhost dhcpd: }
Nov 18 23:36:04 localhost dhcpd: ^
Nov 18 23:36:04 localhost dhcpd: Configuration file errors encountered -- exiting
Nov 18 23:36:04 localhost dhcpd:
Nov 18 23:36:04 localhost dhcpd: If you did not get this software from ftp.isc.org, please
Nov 18 23:36:04 localhost dhcpd: get the latest from ftp.isc.org and install that before
Nov 18 23:36:04 localhost dhcpd: requesting help.
Nov 18 23:36:04 localhost dhcpd:
Nov 18 23:36:04 localhost dhcpd: If you did get this software from ftp.isc.org and have not
Nov 18 23:36:04 localhost dhcpd: yet read the README, please read it before requesting help.
Nov 18 23:36:04 localhost dhcpd: If you intend to request help from the server@isc.org[/email]
Nov 18 23:36:04 localhost dhcpd: mailing list, please read the section on the README about
Nov 18 23:36:04 localhost dhcpd: submitting bug reports and requests for help.
Nov 18 23:36:04 localhost dhcpd:
Nov 18 23:36:04 localhost dhcpd: Please do not under any circumstances send requests for
Nov 18 23:36:04 localhost dhcpd: help directly to the authors of this software - please
Nov 18 23:36:04 localhost dhcpd: send them to the appropriate mailing list as described in
Nov 18 23:36:04 localhost dhcpd: the README file.
Nov 18 23:36:04 localhost dhcpd:
Nov 18 23:36:04 localhost dhcpd: exiting. |
|
|