You're missing the python xml2 module. You need to manually download it from 
your spacewalk server and install it.

Robert

⁣sent from my mobile device​


-------- Originale Nachricht --------
Von: Amir Kalhori <kalh...@live.com>
Gesendet: Tue Sep 03 06:22:15 GMT+02:00 2019
An: "spacewalk-list@redhat.com" <spacewalk-list@redhat.com>
Betreff: [Spacewalk-list] Problem while registering ( CentOS 7 )


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
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to