亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: centos 6.3 安裝dhcp的問(wèn)提 [打印本頁(yè)]

作者: mengcun123    時(shí)間: 2014-12-19 14:26
標(biāo)題: centos 6.3 安裝dhcp的問(wèn)提
本帖最后由 mengcun123 于 2014-12-19 14:44 編輯

貼出代碼:為什么啟動(dòng)失敗

dncp服務(wù)器端的ip地址192.168.1.1 掩碼255.255.255.0  網(wǎng)關(guān)192.168.1.254  分配網(wǎng)段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.

作者: cryboy2001    時(shí)間: 2014-12-22 13:50
看看是不是文件權(quán)限的問(wèn)題

Can't chown new lease file: Operation not permitted

還有selinux有沒(méi)有關(guān)掉。
作者: linuxzkq    時(shí)間: 2014-12-22 17:07
權(quán)限問(wèn)題是
作者: mengcun123    時(shí)間: 2014-12-22 17:24
回復(fù) 3# linuxzkq
什么權(quán)限問(wèn)題,能具體說(shuō)一下嗎,謝謝

   
作者: mengcun123    時(shí)間: 2014-12-22 17:27
回復(fù) 2# cryboy2001

已經(jīng)掉了,但是service dhcpd start 還是啟動(dòng)不了


    ,
作者: linuxzkq    時(shí)間: 2014-12-22 22:05
什么掉了?說(shuō)清楚回復(fù) 5# mengcun123


   
作者: mengcun123    時(shí)間: 2014-12-23 08:08
回復(fù) 6# linuxzkq
selinux關(guān)掉了


   
作者: jixuuse    時(shí)間: 2014-12-23 10:00
Dec 19 14:38:47 localhost dhcpd: Can't chown new lease file: Operation not permitted

dhcpd無(wú)權(quán)寫lease文件,將該文件權(quán)限改為666試試
作者: mengcun123    時(shí)間: 2014-12-23 10:32
回復(fù) 8# jixuuse


你是說(shuō)把dhcp里面所有的文件權(quán)限全部賦成666??我已經(jīng)賦予到775了


   
作者: jixuuse    時(shí)間: 2014-12-23 10:56
看清楚提示好么?lease這個(gè)文件默認(rèn)應(yīng)該是在/var/xxx/目錄里,你改dhcp當(dāng)前目錄下的文件有用么?
作者: linuxzkq    時(shí)間: 2014-12-23 11:15
iptables呢,關(guān)了沒(méi)有?




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2