码迷,mamicode.com
首页 > 其他好文 > 详细

Centos 6.5 启动DHCP报错 Can't chown new lease file: Operation not permitted

时间:2015-08-12 14:53:34      阅读:292      评论:0      收藏:0      [点我收藏+]

标签:can't chown new lease file: operation not permitted

在使用centos 6.5安装DHCP时,配置已经全部ok,但在启动服务时报错 message“ Can‘t chown new lease file: Operation not permitted” 服务无法正常启动,

在6.5中多了一个配置要修改,如下:


编辑 /etc/rc.d/init.d/dhcpd 文件,将其中的

user=dhcpd

group=dhcpd

改为

user=root

group=root

 

注: 如果不做此修改,启动DHCP时在 “/var/log/messages” 文件里会有 “Can’t chown new lease file: Operation not permitted” 错误。


本文出自 “lihongweibj” 博客,请务必保留此出处http://lihongweibj.blog.51cto.com/6235038/1683953

Centos 6.5 启动DHCP报错 Can't chown new lease file: Operation not permitted

标签:can't chown new lease file: operation not permitted

原文地址:http://lihongweibj.blog.51cto.com/6235038/1683953

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!