# \[SLES\] AWX setup link

**URL:** <https://forum.ansible.com/t/sles-awx-setup-link/37173>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 4, 2022, 5:38am UTC](https://forum.ansible.com/t/sles-awx-setup-link/37173 "2022-10-04T05:38:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saravanan\_jothilinga](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@saravanan\_jothilinga](https://forum.ansible.com/u/saravanan_jothilinga)\
**Post date:** [October 4, 2022, 5:38am UTC](https://forum.ansible.com/t/sles-awx-setup-link/37173/1 "2022-10-04T05:38:25Z")

</div>

Hi,  
I am looking out for a clear setup documentation link for installing AWX on SLES12/SLES15 server. Please help.

Thanks  
Saravanan

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [October 4, 2022, 5:56pm UTC](https://forum.ansible.com/t/sles-awx-setup-link/37173/2 "2022-10-04T17:56:44Z")

</div>

AWX runs in containers either through Docker or Kuberneties.  
Because of this we do not have specific instructions on installing in SLES.  
Please see the [install documentation](https://github.com/ansible/awx/blob/devel/INSTALL.md) and let us know if you hit specific errors in one of the install methods.

-The AWX Team

---

<div class="post-metadata">

**Author:** ![saravanan\_jothilinga](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@saravanan\_jothilinga](https://forum.ansible.com/u/saravanan_jothilinga)\
**Post date:** [October 15, 2022, 6:33am UTC](https://forum.ansible.com/t/sles-awx-setup-link/37173/3 "2022-10-15T06:33:16Z")

</div>

Thanks for this information. I tried the following AWX installation on the SLES server. I am hitting the below error. Could you please sharing your inputs on how to resolve this? Appreciate your help!

1. Installed the following dependent software binaries on SLES12 SP5 - Docker version 20.10.17-ce/docker-compose version 1.29.1/Python 2.7.18/ansible 2.8.2/pip 20.3.4/Node.js v18.2.0/Npm 8.9.0
2. Downloaded 17.0.1 AWX and installed it as a git clone as per the instructions updated in this wiki.
3. Updated inventory for the required parameters
4. Ran this playbook cmd – ansible-playbook -i inventory install.yml

**I get this error:**  
TASK [local\_docker : Run migrations in task container] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [localhost]: FAILED! =\> {“changed”: true, “cmd”: “docker-compose run --rm --service-ports task awx-manage migrate --no-input”, “delta”: “0:00:00.936957”, “end”: “2022-10-12 10:13:12.283706”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2022-10-12 10:13:11.346749”, “stderr”: “Starting awx\_postgres … \r\nStarting awx\_redis … \r\nStarting awx\_postgres … error\r\n\nERROR: for awx\_postgres Cannot start service postgres: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: \nerror: exec: "apparmor\_parser": executable file not found in $PATH\nStarting awx\_redis … error\r\n\nERROR: for awx\_redis Cannot start service redis: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: \nerror: exec: "apparmor\_parser": executable file not found in $PATH\n\nERROR: for postgres Cannot start service postgres: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: \nerror: exec: "apparmor\_parser": executable file not found in $PATH\n\nERROR: for redis Cannot start service redis: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: \nerror: exec: "apparmor\_parser": executable file not found in $PATH\nEncountered errors while bringing up the project.”, “stderr\_lines”: ["Starting awx\_postgres … ", "Starting awx\_redis … ", “Starting awx\_postgres … error”, “”, "ERROR: for awx\_postgres Cannot start service postgres: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: ", “error: exec: "apparmor\_parser": executable file not found in $PATH”, “Starting awx\_redis … error”, “”, "ERROR: for awx\_redis Cannot start service redis: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: ", “error: exec: "apparmor\_parser": executable file not found in $PATH”, “”, "ERROR: for postgres Cannot start service postgres: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: ", “error: exec: "apparmor\_parser": executable file not found in $PATH”, “”, "ERROR: for redis Cannot start service redis: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: ", “error: exec: "apparmor\_parser": executable file not found in $PATH”, “Encountered errors while bringing up the project.”], “stdout”: “”, “stdout\_lines”: }

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=15 changed=3 unreachable=0 failed=1 skipped=73 rescued=0 ignored=2

vmansible02:/awx\_home/awx/installer # docker images

REPOSITORY TAG IMAGE ID CREATED SIZE

redis latest 9da089657551 3 weeks ago 117MB

postgres 12 d05bfc9d176b 4 weeks ago 373MB

centos 8 5d0da3dc9764 13 months ago 231MB

ansible/awx 17.1.0 599918776cf2 19 months ago 1.41GB

kanaone/suse15 latest e20ce6664bfd 2 years ago 558MB

vmansible02:/awx\_home/awx/installer # docker ps -a

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

18098769634e postgres:12 “docker-entrypoint.s…” 38 hours ago Created 5432/tcp awx\_postgres

0738b1147a95 redis “docker-entrypoint.s…” 38 hours ago Created 6379/tcp awx\_redis

c252a19cd4d5 kanaone/suse15:latest “bash” 2 days ago Up 2 days sles15cont
