QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1412|回复: 5

Help: dhcpd startup failed!

[复制链接]
发表于 2006-2-8 10:49:07 | 显示全部楼层 |阅读模式
OS: FC4
User: root

Error Messages:
Feb  8 10:42:13 shixm dhcpd: Internet Systems Consortium DHCP Server V3.0.2
Feb  8 10:42:13 shixm dhcpd: Copyright 2004 Internet Systems Consortium.
Feb  8 10:42:13 shixm dhcpd: All rights reserved.
Feb  8 10:42:13 shixm dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Feb  8 10:42:13 shixm dhcpd: Wrote 0 deleted host decls to leases file.
Feb  8 10:42:13 shixm dhcpd: Wrote 0 new dynamic host decls to leases file.
Feb  8 10:42:13 shixm dhcpd: Wrote 0 leases to leases file.
Feb  8 10:42:13 shixm dhcpd: Listening on LPF/eth0/00:0d:87:f7:9b:d7/172.16.154/
24
Feb  8 10:42:13 shixm dhcpd: Sending on   LPF/eth0/00:0d:87:f7:9b:d7/172.16.154/
24
Feb  8 10:42:13 shixm dhcpd: Can't bind to dhcp address: Permission denied
Feb  8 10:42:13 shixm dhcpd: Please make sure there is no other dhcp server
Feb  8 10:42:13 shixm dhcpd: running and that there's no entry for dhcp or
Feb  8 10:42:13 shixm dhcpd: bootp in /etc/inetd.conf.   Also make sure you
Feb  8 10:42:13 shixm dhcpd: are not running HP JetAdmin software, which
Feb  8 10:42:13 shixm dhcpd: includes a bootp server.

dhcpd.conf:
#1. Global

default-lease-time 259200;
max-lease-time 518400;

ddns-update-style interim;

option domain-name "phjb.gov.cn";
option domain-name-servers 220.189.127.106, 220.189.127.107;

#2. Dynamic IP
subnet 172.16.154.0 netmask 255.255.255.0 {
        range 172.16.154.2 172.16.154.254;
        option broadcast-address 172.16.154.255;
        option routers 172.16.154.1;
}

#3. Static IP
host dhcpsrv {
        hardware ethernet 00:0d:87:f7:9b:d7;
        fixed-address 172.16.154.181;
        option broadcast-address 172.16.154.255;
        option routers 172.16.154.1;
}
发表于 2006-2-8 11:13:16 | 显示全部楼层
[code:1]Feb 8 10:42:13 shixm dhcpd: Can't bind to dhcp address: Permission denied
Feb 8 10:42:13 shixm dhcpd: Please make sure there is no other dhcp server
Feb 8 10:42:13 shixm dhcpd: running and that there's no entry for dhcp or
Feb 8 10:42:13 shixm dhcpd: bootp in /etc/inetd.conf. Also make sure you
Feb 8 10:42:13 shixm dhcpd: are not running HP JetAdmin software, which
Feb 8 10:42:13 shixm dhcpd: includes a bootp server. [/code:1]
回复

使用道具 举报

 楼主| 发表于 2006-2-8 14:31:53 | 显示全部楼层
Feb 8 10:42:13 shixm dhcpd: Can't bind to dhcp address: Permission denied

不能绑定到dhcp地址是什么意思,能否请高手解释一下?用户root还会Permission denied?

Feb 8 10:42:13 shixm dhcpd: Please make sure there is no other dhcp server
Feb 8 10:42:13 shixm dhcpd: running and that there's no entry for dhcp or
Feb 8 10:42:13 shixm dhcpd: bootp in /etc/inetd.conf. Also make sure you
Feb 8 10:42:13 shixm dhcpd: are not running HP JetAdmin software, which
Feb 8 10:42:13 shixm dhcpd: includes a bootp server.

我确实没有开启任何其他的DHCP或Bootcp服务。
回复

使用道具 举报

发表于 2006-2-9 08:48:01 | 显示全部楼层
很简单,

init 1
/etc/init.d/network restart
/etc/init.d/dhcpd restart

看看结果如何
回复

使用道具 举报

 楼主| 发表于 2006-2-10 09:52:24 | 显示全部楼层
I do what you said, but dhcpd startup failed again.
回复

使用道具 举报

发表于 2006-2-13 22:37:56 | 显示全部楼层
1. 用 netstat 检查有没有另一个进程已经在监听端口 67;
2. 检查你的 SELinux 配置是否允许以 root 来运行 dhcpd。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 22:28 , Processed in 0.050803 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表