09
2019
10
14:28:17

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

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
 




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

image.png

本文链接:https://hqyman.cn/post/931.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏





休息一下~~


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

请先 登录 再评论,若不是会员请先 注册

您的IP地址是: