首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >bind9在Plesk 11上发行

bind9在Plesk 11上发行
EN

Server Fault用户
提问于 2012-09-17 06:15:30
回答 1查看 1.4K关注 0票数 1

我在Ubuntu12.04LTS上安装bind9有问题。我已经安装了Plesk 11服务器,但DNS服务没有运行。

代码语言:javascript
复制
root@cp11:~# apt-get install bind
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package bind is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  bind9 dnsutils dnsutils:i386 bind9:i386 manpages

E: Package 'bind' has no installation candidate
root@cp11:~# 

root@cp11:~# /etc/init.d/bind9 start
 * Starting domain name service... bind9                                  [fail] 

root@cp11:~# /etc/init.d/bind9 restart
 * Stopping domain name service... bind9                                  [ OK ] 
 * Starting domain name service... bind9                                  [fail]

当我试图检查日志文件时:

代码语言:javascript
复制
root@cp11:~# tail -f /var/log/messages
tail: cannot open `/var/log/messages' for reading: No such file or directory

我签了/etc,这里有一个绑定目录

代码语言:javascript
复制
root@cp11:/etc/bind# ls
bind.keys  db.127  db.empty  db.root     named.conf.default-zones  named.conf.options  rndc.key
db.0       db.255  db.local  named.conf  named.conf.local          rndc.conf           zones.rfc1918

当我试图卸载bind9时,它也会移除Plesk控制面板。

因此,我更新和升级了包,并看到了绑定错误:

代码语言:javascript
复制
root@cp11:~# apt-get upgrade
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-23-generic
Processing triggers for resolvconf ...
Processing triggers for python-support ...
Errors were encountered while processing:
 bind9
E: Sub-process /usr/bin/dpkg returned an error code (1)
EN

回答 1

Server Fault用户

发布于 2012-09-17 12:58:32

我经历了一个问题,在Ubuntu,Apparmor导致了这一切。所以,尝试#/etc/init.d/apparmor,然后再试一次

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/429003

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档