# Ansible Not Running in SELINUX Enforcing Mode

**URL:** <https://forum.ansible.com/t/ansible-not-running-in-selinux-enforcing-mode/35951>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [November 2, 2021, 3:57pm UTC](https://forum.ansible.com/t/ansible-not-running-in-selinux-enforcing-mode/35951 "2021-11-02T15:57:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Who](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@Mr\_Who](https://forum.ansible.com/u/Mr_Who)\
**Post date:** [November 2, 2021, 3:57pm UTC](https://forum.ansible.com/t/ansible-not-running-in-selinux-enforcing-mode/35951/1 "2021-11-02T15:57:58Z")

</div>

Hi Gurus,

Can I check if there is any guide on what we need to do to make the AWX Up and Running with SELINUX in enforcing mode? Our installation will run in permissive mode but not in enforcing mode. Hope there is someone that can share to help us solve this issue.

---

<div class="post-metadata">

**Author:** ![Andrew\_C](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@Andrew\_C](https://forum.ansible.com/u/Andrew_C)\
**Post date:** [November 3, 2021, 6:13am UTC](https://forum.ansible.com/t/ansible-not-running-in-selinux-enforcing-mode/35951/2 "2021-11-03T06:13:38Z")

</div>

Have you tried running: restorecon -Rv / after you installed awx? You can also look in /var/log/messages|secure for selinux violations to see what is being blocked. Another quick check is to run: setenforce 0 and then restart awx to be absolutely sure it is selinux that is blocking.
