Search for:

Available article translations:

How to disable AppArmor

Article ID: 112903, created on Nov 28, 2011, last review on Nov 23, 2015

  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux


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:

  1. 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:

    /var/named/run-root/** rwm,

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

  3. Remove the apparmor package 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.

Search words:

mysql doesn't start anymore

initializing DST: openssl failure

Plesk update fails


require_once(class.Conf.php3): failed to open stream

An error occurred on attempt to install packages

SSL certificate

ERROR: PleskMainDBException

long running backup


upgrade failure


Bind9 not starting


named plesk

bind9 not starting

loading configuration: permission denied

dns slave

502 Bad Gateway

Error: Unable to create a subscription: the IP pool is empty.

Installation will not continue



[Sun Mar 15 09:24:24.757525 2015] [authz_core:error] [pid 7382] [client] AH01630: client denied by server configuration: /data/vhosts/, referer:

Plesk Upgrade Failed, corrupt MySQL

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Was this article helpful?
Tell us how we may improve it.
Yes No
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification