- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
10-10-2019 01:26 AM
Hi all,
I'm installing minemeld-ansible on Redhat 7.
When i run this command:
sudo ansible-playbook -K -i 127.0.0.1, local.yml
i got this error:
`PLAY [minemeld playbook] **************************************************************************************************************************************************************************************
TASK [Gathering Facts] ****************************************************************************************************************************************************************************************
ok: [127.0.0.1]
TASK [infrastructure : debug] *********************************************************************************************************************************************************************************
ok: [127.0.0.1] => {
"msg": "Loading vars for RedHat 7.2"
}
TASK [infrastructure : include_vars] **************************************************************************************************************************************************************************
ok: [127.0.0.1] => (item=/root/minemeld-ansible/roles/infrastructure/vars/RedHat-7.yml)
TASK [infrastructure : create minemeld group] *****************************************************************************************************************************************************************
ok: [127.0.0.1]
TASK [infrastructure : include task based on distribution] ****************************************************************************************************************************************************
included: /root/minemeld-ansible/roles/infrastructure/tasks/RedHat-7.yml for 127.0.0.1
TASK [infrastructure : enable epel] ***************************************************************************************************************************************************************************
ok: [127.0.0.1]
TASK [infrastructure : enable RedHat RHEL 7 Optional repo (AWS)] **********************************************************************************************************************************************
changed: [127.0.0.1]
TASK [infrastructure : enable RedHat RHEL 7 Optional repo] ****************************************************************************************************************************************************
changed: [127.0.0.1]
TASK [infrastructure : Check for custom python] ***************************************************************************************************************************************************************
ok: [127.0.0.1]
TASK [infrastructure : Extract Python 2.7.15] *****************************************************************************************************************************************************************
ok: [127.0.0.1]
TASK [infrastructure : Configure Python 2.7.15] ***************************************************************************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": "./configure --prefix=/usr/local", "delta": "0:00:00.004001", "end": "2019-10-07 19:42:36.961017", "msg": "non-zero return code", "rc": 126, "start": "2019-10-07 19:42:36.957016", "stderr": "/bin/sh: ./configure: Permission denied", "stderr_lines": ["/bin/sh: ./configure: Permission denied"], "stdout": "", "stdout_lines": []}
PLAY RECAP ****************************************************************************************************************************************************************************************************
127.0.0.1 : ok=10 changed=2 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0`
I have root privileges and i have disabled SELinux, so why does it happen?
Thanks.
10-10-2019 03:25 AM
I have solved to mount /tmp directory with exec.
05-09-2021 09:17 PM
@ECerafogli I tried to follow Solved: LIVEcommunity - need steps to install minemeld on redhat - LIVEcommunity - 236821 (paloalton... , but my RHEL 7 cant go through the installation. Somehow I couldn't complete followed .
1. sudo -H /opt/minemeld/engine/current/bin/pip install -U "pip<10.0"
2. when I run
TASK [infrastructure : Configure Python 2.7.15] **********************************************************************************************************************************************************************************************************
[0;31mfatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": "./configure --prefix=/usr/local", "delta": "0:00:00.008122", "end": "2021-05-10 10:43:29.923838", "msg": "non-zero return code", "rc": 126, "start": "2021-05-10 10:43:29.915716", "stderr": "/bin/sh: ./configure: Permission denied", "stderr_lines": ["/bin/sh: ./configure: Permission denied"], "stdout": "", "stdout_lines": []}[0m
PLAY RECAP ***********************************************************************************************************************************************************************************************************************************************
[0;31m127.0.0.1[0m : [0;32mok=10 [0m [0;33mchanged=4 [0m unreachable=0 [0;31mfailed=1 [0m skipped=0 rescued=0 ignored=0
Can share what you meant by "mount /tmp directory with exec." to get it resolved please. If you have more convenient guide please share with me. thanks in advance
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!