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
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
相关文章推荐
- freebsd网卡安装与dhcp配置方法
- PowerShell脚本实现网卡DHCP自动获取IP地址、设置静态IP地址的方法
- DNS、DHCP的备份恢复bat(批处理自动实现)
- linux下的dhcp服务的完全配置(图文详解)
- win7系统开机无法进入系统怎么办?win7开机无法进入系统提示DHCP...的原因和解决方法
- windows server2008 x64安装DHCP服务器
- 服务器的配置
- windows下的DHCP和中继代理的实验
- 无盘开机获取到dhcp后卡在tftp界面无法继续启动问题
- DHCP 简单搭建 本人初学者 勿喷
- DHCP Snooping + Dynamic ARP Inspection(DAI) 配置
- DHCP-HA
- 华为1821路由器qos car+nat+dhcp+vlan配置心得
- Cisco路由器上配置DHCP全程详解
- 思科路由DHCP设置分析
- Cisco 3550配置DHCP实例
- DHCP工作过程详解
- 【原理总结】DHCP数据包分析
- DHCP 协议概述