免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2056 | 回复: 2
打印 上一主题 下一主题

为什么我在配置dhcp时总是出现这个错误? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-21 19:28 |只看该作者 |倒序浏览
我无论在字符模式还是在webmin下配置dhcp完运行 “service httpd restart”命令时总是出现这样地错误,不知是什么原因?
好像是说什么参数在第一次声明后不被允许,什么意思啊?请高手指点一二。谢谢!
启动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 2: expecting left brace.
subnet 192.168.10.0 netmask 255.255.255.0;
^
/etc/dhcpd.conf line 4: parameters not allowed after first declaration.
option routers 192.168.10.1;
^
/etc/dhcpd.conf line 5: parameters not allowed after first declaration.
option subnet-mask 255.255.255.0;
^
/etc/dhcpd.conf line 6: parameters not allowed after first declaration.
option domain-name "ncie.com";
^
/etc/dhcpd.conf line 7: parameters not allowed after first declaration.
option domain-name-servers 192.168.10.1;
^
/etc/dhcpd.conf line 9: expecting a declaration.
{
^
/etc/dhcpd.conf line 11: expecting a declaration.
}
^
Configuration file errors encountered -- exiting
exiting.

论坛徽章:
0
2 [报告]
发表于 2004-04-25 20:56 |只看该作者

为什么我在配置dhcp时总是出现这个错误?

顶!!

论坛徽章:
0
3 [报告]
发表于 2004-04-26 00:31 |只看该作者

为什么我在配置dhcp时总是出现这个错误?

[quote]原帖由 "goodxiuqi" 发表:
我无论在字符模式还是在webmin下配置dhcp完运行 “service httpd restart”命令时总是出现这样地错误,不知是什么原因?
好像是说什么参数在第一次声明后不被允许,什么意思啊?请高手指点一二。谢谢!
启动dhcpd
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP