Article ID: 112903, created on Nov 28, 2011, last review on Oct 26, 2016

  • Applies to:
  • Plesk for Linux/Unix


How to disable AppArmor?


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 Plesk 12.x. Sometimes AppArmor can interfere with Plesk installation or functionality.

AppArmor can be disabled or removed as follows:

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

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

Note: AppArmor is requirement for Docker on Ubunet 14, 16, so do not disabled it on these operating systems. Plesk supports AppArmor on them.

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

502 Bad Gateway

dns slave

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

Installation will not continue



Plesk Upgrade Failed, corrupt MySQL

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838

Email subscription for changes to this article
Save as PDF