I've converted a linux vm (RHEL 5.7 32bit) from Oracle VM to VMware using the conversion tool. After the conversion, I had to install the non-xen kernel to fix the kernel panic, did this by via the cd/iso of the same version. Did an update of the OS and the non-xen kernel got installed. The converted VM is running well and on. The problem I'm having is that when I try to register this server to the Red Hat network or run yum, i get this error: wrong ELF class ELFCLASS32 and I can't update the box. Any ideas?
[root@apu-lib-1-test2 tmp]# rhn_register
Traceback (most recent call last):
File "/usr/sbin/rhn_register", line 30, in ?
from up2date_client import up2dateAuth
File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 4, in ?
import rhnserver
File "/usr/share/rhn/up2date_client/rhnserver.py", line 21, in ?
import rpcServer
File "/usr/share/rhn/up2date_client/rpcServer.py", line 12, in ?
import clientCaps
File "/usr/share/rhn/up2date_client/clientCaps.py", line 10, in ?
import capabilities
File "/usr/share/rhn/up2date_client/capabilities.py", line 4, in ?
import up2dateErrors
File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 12, in ?
import OpenSSL
File "/usr/lib/python2.4/site-packages/OpenSSL/__init__.py", line 11, in ?
import rand, crypto, SSL, tsafe
ImportError: /usr/lib/python2.4/site-packages/OpenSSL/rand.so: wrong ELF class: ELFCLASS32