您的位置:首页 > 运维架构

Can't chown new lease file Operation not permitted

2017-02-07 20:21 309 查看
这个是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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  dhcp