Chinaunix首页 | 论坛 | 博客
  • 博客访问: 856802
  • 博文数量: 436
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: -103
  • 用 户 组: 普通用户
  • 注册时间: 2016-08-01 09:48
个人简介

爱生活,爱IT

文章分类

全部博文(436)

文章存档

2015年(1)

2014年(2)

2013年(6)

2011年(39)

2010年(176)

2009年(30)

2008年(28)

2007年(54)

2006年(91)

2005年(9)

分类: LINUX

2008-04-21 10:43:28

新的DNS服务器,运行rc.bind start,出现如下出错信息。

Stopping BIND:  /usr/sbin/rndc stop
Starting BIND:  /usr/sbin/named
WARNING:  named did not start.  Perhaps this is because the "capability" module required by newer kernels is not loaded (or built into the kernel)? Attempting to load security capability module: /sbin/modprobe capability
Attempting to start named again:  /usr/sbin/named
FAILED:  Sorry, but even after attempting to load the "capability" module, named did not start. There may be a different configuration error that  needs fixing.  Good luck!

Version: BIND 9.4.1
OS: Slackware 12 (还测试过Slackware 11,)
Update kernels: 2.6.22.11 (还测试过2.6.23.2)


补充:
重新编核:

CONFIG_SECURITY=y
CONFIG_SECURITY_CAPABILITIES=y
执行rc.bin start:结果仍是相同,出错信息如上.

再重新编核:
CONFIG_SECURITY=y
CONFIG_SECURITY_CAPABILITIES=m
在系统启动明显示看到下列错误提示(Slackware 11也是如此):
/sbin/modprobe capability
WARNING: Error inserting commoncap (/lib/modules/2.6.23.2/kerner/security/commoncap.ko_: Invalid modludes format.
用ls查看 /lib/modules/2.6.23.2/kerner/security/目录,有如下两件文件:
capability.ko
comoncap.ko
 
执行rc.bin start:结果仍是相同,出错信息如上

待解:

---解决方案:

原来我的那个Bind的启动文件中用了非root用户去执行。出掉这个设置后就OK了。


 

阅读(2125) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~