Plesk: DNS Server installed but Bind9 won’t load

Symptom: Plesk 11 comes installed with Bind9 but the DNS Server will not start.

Solution: There is a known conflict with apparmor in Ubuntu 10.04 LTS

1. sudo /etc/init.d/apparmor stop

2. Add the following to the apparmor profile: /etc/apparmor.d/usr.sbin.named

# plesk runs bind in chroot, need perms
/var/named/run-root/** rw,

3. sudo /etc/init.d/bind9 start

4. sudo /etc/init.d/apparmor start

5. sudo /etc/init.d/psa stop

6. sudo /etc/init.d/psa start

Bind9 / DNS Service should now be enabled in the control panel.

Leave a Reply

Your email address will not be published. Required fields are marked *