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:
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.
Note: AppArmor is requirement for Docker on Ubunet 14, 16, so do not disabled it on these operating systems. Plesk supports AppArmor on them.