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

Robert Paschedag robert.paschedag at web.de
Tue Sep 3 05:17:39 UTC 2019


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 <kalhori at live.com>
Gesendet: Tue Sep 03 06:22:15 GMT+02:00 2019
An: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Betreff: [Spacewalk-list] Problem while registering ( CentOS 7 )


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 /]#



------------------------------------------------------------------------

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




More information about the Spacewalk-list mailing list