How to disable AppArmor?


2016-11-16 12:45:25 UTC


2017-08-21 00:16:42 UTC


Was this article helpful?

Have more questions?

Submit a request

How to disable AppArmor?

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux


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:

        # service apparmor stop
    # service 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.

Warning : Be aware that this article is not applicable for Plesk Onyx 17.x. AppArmor is supported since Plesk Onyx 17.0 and removal of AppArmor packages will break Plesk.
Have more questions? Submit a request
Please sign in to leave a comment.