There must be something broken with your installation on that server.
Some packages are missing, probably some dependencies missing.
Run "yum check dependencies" or even "yum check" as root. The latter
takes a while.
I guess there will be some dependencies missing, maybe from an
interrupted installation?
-Gerald
On 03.09.19 06:22, Amir Kalhori wrote:
Dear All,
I got below error while registering a a CentOS 7 server.
[root@TAAM-DB /]# sudo rhnreg_ks --serverUrl=https://repo.yaas.bm/XMLRPC
--sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
--activationkey=1-centos7
Traceback (most recent call last):
File "/sbin/rhnreg_ks", line 35, in <module>
from up2date_client import rhnreg
File "/usr/lib/python2.7/site-packages/up2date_client/rhnreg.py",
line 20, in <module>
from up2date_client import hardware
File "/usr/lib/python2.7/site-packages/up2date_client/hardware.py",
line 57, in <module>
import dmidecode
File "/usr/lib64/python2.7/site-packages/dmidecode.py", line 28, in
<module>
import libxml2
ImportError: No module named libxml2
[root@TAAM-DB /]#
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list