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

2019-09-02 Thread Gerald Vogt
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 
     from up2date_client import rhnreg
   File "/usr/lib/python2.7/site-packages/up2date_client/rhnreg.py", 
line 20, in 

     from up2date_client import hardware
   File "/usr/lib/python2.7/site-packages/up2date_client/hardware.py", 
line 57, in 

     import dmidecode
   File "/usr/lib64/python2.7/site-packages/dmidecode.py", line 28, in 


     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

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

2019-09-02 Thread Amir Kalhori

Hi Robert,

How can I find it from spacewalk server ?
I don't know why this server has this problem, I have registered ten CentOS 
servers without any problems.

Best Regards,




From: spacewalk-list-boun...@redhat.com  on 
behalf of Robert Paschedag 
Sent: Tuesday, September 3, 2019 5:17 AM
To: spacewalk-list@redhat.com 
Subject: Re: [Spacewalk-list] Problem while registering ( CentOS 7 )

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 
Gesendet: Tue Sep 03 06:22:15 GMT+02:00 2019
An: "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 
from up2date_client import rhnreg
  File "/usr/lib/python2.7/site-packages/up2date_client/rhnreg.py", line 20, in 

from up2date_client import hardware
  File "/usr/lib/python2.7/site-packages/up2date_client/hardware.py", line 57, 
in 
import dmidecode
  File "/usr/lib64/python2.7/site-packages/dmidecode.py", line 28, in 
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
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

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

2019-09-02 Thread Robert Paschedag
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 
Gesendet: Tue Sep 03 06:22:15 GMT+02:00 2019
An: "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 
from up2date_client import rhnreg
  File "/usr/lib/python2.7/site-packages/up2date_client/rhnreg.py", line 20, in 

from up2date_client import hardware
  File "/usr/lib/python2.7/site-packages/up2date_client/hardware.py", line 57, 
in 
import dmidecode
  File "/usr/lib64/python2.7/site-packages/dmidecode.py", line 28, in 
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

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

2019-09-02 Thread Amir Kalhori

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 
from up2date_client import rhnreg
  File "/usr/lib/python2.7/site-packages/up2date_client/rhnreg.py", line 20, in 

from up2date_client import hardware
  File "/usr/lib/python2.7/site-packages/up2date_client/hardware.py", line 57, 
in 
import dmidecode
  File "/usr/lib64/python2.7/site-packages/dmidecode.py", line 28, in 
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