# touch /var/named/chroot/var/named/named.log
# chown named.named /var/named/chroot/var/named/named.log
# chmod 755 /var/named/chroot/var/named/named.log
# service named restart
并且确保 selinux是关闭状态(查看/etc/sysconfig/selinux配置信息)
然后查看采集到的/var/named/chroot/var/named/named.log是否存在故障信息
#LOG 配置信息
logging {
channel default_syslog { syslog local2. severity error. }.
channel audit_log {
file "named.log" versions 3 size 20m.
severity info.
print-time yes.
print-category yes.
}.
category default { audit_log. }.
category general { audit_log. }.
category security { audit_log. default_syslog. }.
category config { default_syslog. }.
category resolver { audit_log. }.
category xfer-in { audit_log. }.
category xfer-out { audit_log. }.
category notify { audit_log. }.
category client { audit_log. }.
category network { audit_log. }.
category 0update { audit_log. }.
category queries { audit_log. }.
category lame-servers { audit_log. }.
}. |
相关文章
LAMP(Linux Apache Mysql PHP)优化技巧
如何来量身定制安全的Linux系统服务平台
Linux系统内存错误产生的原因及调试方法
通过rpm包安装、配置及卸载mysql
在Linux操作系统上配置D 服务器的日志
在你的UbuntuLinux桌面上嵌入终端窗口
Linux环境进程间通信:管道及有名管道
Windows下与Linux下编写socket程序的区别
Linux2.6内核启动传递命令行的过程分析
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛