Article ID: 112903, created on Nov 28, 2011, last review on May 16, 2016

  • Applies to:
  • Plesk for Linux/Unix

Question

How to disable AppArmor?

Answer

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

Search Words

mysql doesn't start anymore

initializing DST: openssl failure

Plesk update fails

apparmour

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

An error occurred on attempt to install packages

SSL certificate

ERROR: PleskMainDBException

long running backup

bind

upgrade failure

apparmor

Bind9 not starting

dns

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

ERR_CONNECTION_REFUSED

update

Plesk Upgrade Failed, corrupt MySQL

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838

Email subscription for changes to this article
Save as PDF