×

辅DNS提示:could not set file modification time of

hqy hqy 发表于2019-10-09 14:28:17 浏览2365 评论0

抢沙发发表评论

solaris 10 BIND 9.4.2,看dmesg,有如下错误提示,区数据文件改为777也不行。solaris 10下named是以什么用户运行的啊?区数据文件放在了/var下叫named,named的属主和属组应该是什么啊?root或bin可以吗?

Feb 18 05:11:55 dns2 named[233]: [ID 873579 daemon.error] zone abc.com/IN: refresh: could not set file modification time of 'db.abc.com': permission denied
Feb 18 05:45:32 dns2 named[233]: [ID 873579 daemon.error] zone 6.168.192.in-addr.arpa/IN: refresh: could not set file modification time of 'db.6.168.192': permission denied
Feb 18 06:07:29 dns2 named[233]: [ID 873579 daemon.error] zone 7.168.192.in-addr.arpa/IN: refresh: could not set file modification time of 'db.7.168.192': permission denied
Feb 18 06:49:37 dns2 named[233]: [ID 873579 daemon.error] zone 8.168.192.in-addr.arpa/IN: refresh: could not set file modification time of 'db.8.168.192': permission denied



把辅助DNS的/var/named下的区数据文件都删除,只剩个db.cache,不手工建立辅的dns区数据文件,通过主DNS更新自动建立这几个区数据文件,观察了3个小时,没那个错误提示了。




named - g -u named 出错 :区域传输出问题
15-Feb-2013 13:36:39.627 zone mydomain.org/IN: Transfer started.
15-Feb-2013 13:36:39.627 transfer of 'mydomain.org/IN' from 192.168.1.7#53: connected using 192.168.1.6#33628
15-Feb-2013 13:36:39.628 zone mydomain.org/IN: transferred serial 20070301
15-Feb-2013 13:36:39.628 transfer of 'mydomain.org/IN' from 192.168.1.7#53: Transfer completed: 1 messages, 9 records, 229 bytes, 0.001 secs (229000 bytes/sec)
15-Feb-2013 13:36:39.628 zone mydomain.org/IN: sending notifies (serial 20070301)
15-Feb-2013 13:36:39.628 dumping master file: tmp-7kBEKdUxzm: open: permission denied
 
方法:
chown named:named /var/named
 


打赏

本文链接:https://www.kinber.cn/post/931.html 转载需授权!

分享到:


推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

 您阅读本篇文章共花了: 

群贤毕至

访客