新的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了。
阅读(2173) | 评论(0) | 转发(0) |