AppArmor is a security tool that uses name-based mandatory access controls to restrict or confine the system access of “at risk” applications. AppArmor is not supported by Parallel Plesk Panel (Plesk). Sometimes AppArmor can interfere with Plesk installation or functionality.
You can solve the issue in three different ways:
Allow Plesk's configuration for bind9 to run with AppArmor
1.1 Open /etc/apparmor.d/local/usr.sbin.named and add the following string:
1.2 Reload AppArmor profiles
# service apparmor reload
1.3. Start bind9, which should start without error now:
# service bind9 start
1.4 You should be able to refresh the list of services on the services management page and see that bind9 is now running. If not, you may need to restart Plesk:
# service psa restart
Disable AppArmor using the following commands:
# /etc/init.d/apparmor stop # /etc/init.d/apparmor teardown # update-rc.d -f apparmor remove
Then restart the server.
apparmorpackage with your package manager:
# apt-get remove apparmor
Do not 'purge' apparmor if you think you might want to re-enable AppArmor at a later date.