我尝试在 Ubuntu 12.04 (Precise Pangolin) 32 位服务器上安装 dhcp3 服务器。Dhcp3 服务器已安装,但无法dhcp3.conf
在文件夹中找到文件/etc/dhcp3
。
我使用了命令
tail -f /var/log/syslog
显示以下消息:
Sep 25 08:23:05 ubuntu AptDaemon: INFO: Quitting was requested
Sep 25 08:24:46 ubuntu named[1195]: error (network unreachable) resolving './DNSKEY/IN': 2001:7fd::1#53
Sep 25 08:24:46 ubuntu named[1195]: error (network unreachable) resolving './NS/IN': 2001:7fd::1#53
Sep 25 08:24:46 ubuntu named[1195]: error (network unreachable) resolving './DNSKEY/IN': 2001:500:2f::f#53
Sep 25 08:24:46 ubuntu named[1195]: error (network unreachable) resolving './NS/IN': 2001:500:2f::f#53
Sep 25 08:24:46 ubuntu named[1195]: error (network unreachable) resolving './DNSKEY/IN': 2001:500:3::42#53
Sep 25 08:32:51 ubuntu NetworkManager[1097]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Sep 25 08:32:51 ubuntu NetworkManager[1097]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Sep 25 08:35:03 ubuntu kernel: [ 1213.485377] type=1400 audit(1380078303.264:33): apparmor="DENIED" operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=820 comm="cupsd" pid=820 comm="cupsd" capability=36 capname="block_suspend"
Sep 25 08:39:01 ubuntu CRON[2785]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
我该如何解决这个问题?
答案1
编辑文件/etc/default/bind9
:
# run resolvconf?
RESOLVCONF=yes
# startup options for the server
OPTIONS="-4 -u bind"
然后重新启动 bind9 :
# service bind9 restart
答案2
/etc/default/bind9
按照上面的答案进行编辑。
然后重新启动bind9服务:
# service bind9 restart