Install microupdates/upgrade Plesk fails: error processing package bind9

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 10.x and below for Linux

Created:

2016-11-16 12:59:34 UTC

Modified:

2017-01-19 10:13:04 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Install microupdates/upgrade Plesk fails: error processing package bind9

Symptoms

Installation of microupdates or upgrade Plesk fails with the following errors:

    dpkg: error processing package bind9 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
bind9

OR

    bind9 : Depends: libbind9-80 (= 1:9.8.1.dfsg.P1-4ubuntu0.10) but 1:9.8.1.dfsg.P1-4ubuntu0.12 is to be installed
Depends: libdns81 (= 1:9.8.1.dfsg.P1-4ubuntu0.10) but 1:9.8.1.dfsg.P1-4ubuntu0.12 is to be installed
Depends: libisc83 (= 1:9.8.1.dfsg.P1-4ubuntu0.10) but 1:9.8.1.dfsg.P1-4ubuntu0.12 is to be installed
...

Also, DNS service is not managable via Plesk.

The following error may be shown while trying to start bind9 service:

named[43159]: loading configuration from '/etc/named.conf'
named[43159]: open: /etc/named.conf: permission denied
named[43159]: loading configuration: permission denied
named[43159]: exiting (due to fatal error)
kernel: [257884.045621] type=1400 audit(1453357306.616:35): apparmor="DENIED" operation="open" profile="/usr/sbin/named" name="/var/named/run-root/etc/named.conf" pid=43160 comm="named" requested_mask="r" denied_mask="r" fsuid=108 ouid=0

Cause

The issue is caused by bind9 package misconfiguration.

Resolution

  1. Disable apparmor if it is installed according to article #213909965

  2. Check the status of bind9 package:

    # dpkg -l | grep "bind9"
    iF bind9 1:9.9.5.dfsg-3ubuntu0.4 amd64 Internet Domain Name Server
    ii bind9-host 1:9.9.5.dfsg-3ubuntu0.4 amd64 Version of 'host' bundled with BIND 9.X

    Status iF means that configuration files might be corrupted.

  3. Reinstall bind9 package:

    # dpkg -r --force-depends bind9
    # apt-get install bind9
  4. Rebuild all DNS zones and records according to article #213917945

Have more questions? Submit a request
Please sign in to leave a comment.