subscription-manager commands fails with the error "/usr/lib/python2.4/site-packages/rhsm/_certificate.so: wrong ELF class: ELFCLASS32"

Solution Verified - Updated -

Issue

  • subscription-manager commands fails with the error message "/usr/lib/python2.4/site-packages/rhsm/_certificate.so: wrong ELF class: ELFCLASS32"
  • System registration fails with the error "/usr/lib/python2.4/site-packages/rhsm/_certificate.so: wrong ELF class: ELFCLASS32"
# subscription-manager remove --all
0 subscriptions removed from this system.
/usr/lib/python2.4/site-packages/rhsm/_certificate.so: wrong ELF class: ELFCLASS32

# subscription-manager clean
All local data removed
/usr/lib/python2.4/site-packages/rhsm/_certificate.so: wrong ELF class: ELFCLASS32

# subscription-manager register --auto-attach
/usr/lib/python2.4/site-packages/rhsm/_certificate.so: wrong ELF class: ELFCLASS32

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat subscription-manager

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In