[Spacewalk-list] Problem while registering ( CentOS 7 )

Amir Kalhori kalhori at live.com
Tue Sep 3 04:22:15 UTC 2019


Dear All,

I got below error while registering a a CentOS 7 server.


[root at 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 at TAAM-DB /]#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190903/cbf24f80/attachment.htm>


More information about the Spacewalk-list mailing list