- 论坛徽章:
- 0
|
本帖最后由 mengcun123 于 2014-12-19 14:44 编辑
贴出代码:为什么启动失败
dncp服务器端的ip地址192.168.1.1 掩码255.255.255.0 网关192.168.1.254 分配网段192.168.1.2-192.168.1.250
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.250;
option domain-name-servers 8.8.8.8;
option routers 192.168.1.254;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}
host fantasia {
hardware ethernet EC:17:2F:BD:EC:B8;
fixed-address 192.168.1.1;
}
log:
Dec 19 14:38:47 localhost dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Dec 19 14:38:47 localhost dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Dec 19 14:38:47 localhost dhcpd: All rights reserved.
Dec 19 14:38:47 localhost dhcpd: For info, please visit
Dec 19 14:38:47 localhost dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Dec 19 14:38:47 localhost dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Dec 19 14:38:47 localhost dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Dec 19 14:38:47 localhost dhcpd: All rights reserved.
Dec 19 14:38:47 localhost dhcpd: For info, please visit
Dec 19 14:38:47 localhost dhcpd: Can't chown new lease file: Operation not permitted
Dec 19 14:38:47 localhost dhcpd:
Dec 19 14:38:47 localhost dhcpd: This version of ISC DHCP is based on the release available
Dec 19 14:38:47 localhost kernel: type=1400 audit(1418971127.037:34407): avc: denied { chown } for pid=29897 comm="dhcpd" capability=0 scontext=unconfined_u:system_r:dhcpd_t:s0 tcontext=unconfined_u:system_r:dhcpd_t:s0 tclass=capability
Dec 19 14:38:47 localhost dhcpd: on ftp.isc.org. Features have been added and other changes
Dec 19 14:38:47 localhost dhcpd: have been made to the base software release in order to make
Dec 19 14:38:47 localhost dhcpd: it work better with this distribution.
Dec 19 14:38:47 localhost dhcpd:
Dec 19 14:38:47 localhost dhcpd: Please report for this software via the CentOS Bugs Database:
Dec 19 14:38:47 localhost dhcpd:
Dec 19 14:38:47 localhost dhcpd:
Dec 19 14:38:47 localhost dhcpd: exiting.
|
|