歡迎您光臨本站 註冊首頁

要崩潰了,var/named/log/dns_warning': permission denied

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

要崩潰了,var/named/log/dns_warning': permission denied

Jul 10 08:51:04 localhost named: starting BIND 9.2.4 -u named -t /var/named/chroot
Jul 10 08:51:04 localhost named: using 4 CPUs
Jul 10 08:51:04 localhost named: loading configuration from '/etc/named.conf'
Jul 10 08:51:04 localhost named: listening on IPv4 interface lo, 127.0.0.1#53
Jul 10 08:51:04 localhost named: listening on IPv4 interface eth0, 61.132.132.100#53
Jul 10 08:51:04 localhost named: command channel listening on 127.0.0.1#953
Jul 10 08:51:04 localhost named: command channel listening on ::1#953
Jul 10 08:51:04 localhost named: logging channel 'warning' file '/var/named/log/dns_warning': permission denied
Jul 10 08:51:04 localhost kernel: audit(1184028664.313:12): avc:  denied  { append } for  pid=5145 comm="named" name="dns_warning" dev=dm-0 ino=15189705 scontext=root:system_r:named_t tcontext=root:object_r:named_zone_t tclass=file
Jul 10 08:51:04 localhost kernel: audit(1184028664.314:13): avc:  denied  { append } for  pid=5145 comm="named" name="dns_log" dev=dm-0 ino=15189706 scontext=root:system_r:named_t tcontext=root:object_r:named_zone_t tclass=file
Jul 10 08:51:04 localhost named: logging channel 'general_dns' file '/var/named/log/dns_log': permission denied
Jul 10 08:51:04 localhost named: named startup succeeded

首先,我把dns_warning、dns_log這兩個文件放在了我能想到的任何地方比如/var/log/named/、/var/named/log/、/var/named/chroot/var/named/log/下
而且都是named.named用戶組,許可權都設置成777了,啟動dns時候還報這個錯。求助!
《解決方案》

取消SEL LINUX

[火星人 ] 要崩潰了,var/named/log/dns_warning': permission denied已經有332次圍觀

http://coctec.com/docs/service/show-post-37599.html