我完全被这种情况所困扰,交易是这样的:
我目前正在build立一个debian的uml实例,作为networking服务器,作为大学课程的一部分。
一部分是安装一个DNS服务器(在这种情况下是bind9),几周前我没有任何问题。
其他安装的服务是ntp,nfs,nis和一些简单的raid设置。
几天前,我在机器上安装了一台imap服务器(Courier),虽然我没有完成configuration,但一切都很顺利。
今天当我login时,我注意到dns已经停止工作,我检查了日志,注意到rndc.key文件中缺less/ etc / bind目录。
由于我总是硬复位这台机器,我认为这是某种文件系统损坏,我检查了启动日志,看到一些恢复信息。
下一步是简单地重新创buildDNS设置,我删除了/ etc / bind并重新安装了绑定,但是在安装绑定时,我从apt获得以下消息:
wrote key file "/etc/bind/rndc.key" chgrp: cannot access ´/etc/bind/named.conf* : No such file or directory chmod: cannot access ´/etc/bind/named.conf* : No such file or directory
我不知道下一步该怎么做,任何帮助表示赞赏!
谢谢!
apt-get purge bind9 apt-get install bind9
并重新开始。
噢,closures系统。