这个是dhcp启动失败的一个错误,日志如下
Jan 2 02:28:01 lylinux dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Jan 2 02:28:01 lylinux dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Jan 2 02:28:01 lylinux dhcpd: All rights reserved.
Jan 2 02:28:01 lylinux dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jan 2 02:28:01 lylinux dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Jan 2 02:28:01 lylinux dhcpd: Can‘t chown new lease file: Operation not permitted
Jan 2 02:28:01 lylinux dhcpd:
Jan 2 02:28:01 lylinux dhcpd: This version of ISC DHCP is based on the release available
Jan 2 02:28:01 lylinux dhcpd: on ftp.isc.org. Features have been added and other changes
Jan 2 02:28:01 lylinux dhcpd: have been made to the base software release in order to make
Jan 2 02:28:01 lylinux dhcpd: it work better with this distribution.
Jan 2 02:28:01 lylinux dhcpd:
Jan 2 02:28:01 lylinux dhcpd: Please report for this software via the CentOS Bugs Database:
Jan 2 02:28:01 lylinux dhcpd: http://bugs.centos.org/
Jan 2 02:28:01 lylinux dhcpd:
Jan 2 02:28:01 lylinux dhcpd: exiting.
解决办法:
# vim /etc/init.d/dhcpd
user=dhcpd
group=dhcpd
修改为user=root
group=root
本文出自 “Liew” 博客,转载请与作者联系!
Can't chown new lease file Operation not permitted
原文:http://walterliew.blog.51cto.com/11286797/1895845