1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Bind problems on Plesk panel 11

Discussion in 'Plesk 11.x for Linux' started by PaddingtonC, Sep 15, 2012.

  1. PaddingtonC

    PaddingtonC Basic Pleskian

    15
    60%
    Joined:
    Jan 24, 2012
    Messages:
    48
    Likes Received:
    0
    Good day,

    I am having a problem with installing bind9 on Ubuntu 12.04 LTS. I have installed a Plesk 11 server but DNS service is not running.

    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]

    When I try to check the log file:
    root@cp11:~# tail -f /var/log/messages
    tail: cannot open `/var/log/messages' for reading: No such file or directory


    I checked in /etc and there is a bind directory
    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

    When I try to uninstall bind9 it also removes the Plesk control panel.

    So I updated and the upgraded the packages and I see bind error:

    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)
     
  2. WilcoW

    WilcoW New Pleskian

    20
     
    Joined:
    Jul 22, 2009
    Messages:
    18
    Likes Received:
    0
    Same problem, no solution found
     
  3. WilcoW

    WilcoW New Pleskian

    20
     
    Joined:
    Jul 22, 2009
    Messages:
    18
    Likes Received:
    0
  4. PaddingtonC

    PaddingtonC Basic Pleskian

    15
    60%
    Joined:
    Jan 24, 2012
    Messages:
    48
    Likes Received:
    0
    I found a work around.

    This is caused by apparmor conflicting with bind in a Plesk set up, so remove apparmor more:
    root@cp11:~# /etc/init.d/apparmor teardown
    * Unloading AppArmor profiles [ OK ]
    then start bind
    /etc/init.d/bind9 start
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    http://kb.parallels.com/en/112903
     
Loading...