Ansible Errors when running Playbook

53 views
Skip to first unread message

Anfield

unread,
Apr 17, 2017, 8:40:31 PM4/17/17
to Ansible Project
Getting the following errors - can anyone help?

Traceback (most recent call last):
  File "/usr/bin/ansible-playbook", line 41, in <module>
    from multiprocessing import Lock
  File "/usr/lib64/python2.7/multiprocessing/__init__.py", line 65, in <module>
    from multiprocessing.util import SUBDEBUG, SUBWARNING
  File "/usr/lib64/python2.7/multiprocessing/util.py", line 40, in <module>
    from subprocess import _args_from_interpreter_flags
  File "/usr/lib64/python2.7/subprocess.py", line 432, in <module>
    import pickle
  File "/usr/lib64/python2.7/pickle.py", line 34, in <module>
    import struct
  File "/usr/lib64/python2.7/struct.py", line 1, in <module>
    from _struct import *
ImportError: /usr/lib64/python2.7/lib-dynload/_struct.so: invalid ELF header

Ted Timmons

unread,
Apr 18, 2017, 12:53:49 AM4/18/17
to Ansible Project

Looks like you have a corrupted file or are running on a different CPU type (eg 386 vs Arm).


--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/69b9005a-8fe5-46db-a945-3928c3fc3545%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Benjamin Redling

unread,
Apr 18, 2017, 5:23:20 AM4/18/17
to ansible...@googlegroups.com
Hello,

On 2017-04-18 02:40, Anfield wrote:
> Getting the following errors - can anyone help?
[...]
> ImportError: /usr/lib64/python2.7/lib-dynload/_struct.so: invalid ELF header

what platform are you on?
How did you install python, ansible and the dependencies?

Regards,
Benjamin
--
FSU Jena | JULIELab.de/Staff/Benjamin+Redling.html
☎ +49 3641 9 44323
Reply all
Reply to author
Forward
0 new messages