[Spacewalk-list] rhn_register leads to error
Tomas Lestach
tlestach at redhat.com
Mon May 9 15:20:55 UTC 2016
> Hi Zeal,
>
> What repo did you install packages from?
Spacewalk 2.3 client repository contains the same rhnlib version
http://spacewalk.redhat.com/yum/2.3-client/RHEL/7/x86_64/
Regards,
--
Tomas Lestach
Red Hat Satellite Engineering, Red Hat
>
> and also, please, do this:
> 1) ls /usr/lib/python2.7/site-packages/rhn/
> check connections.py exists there
>
> 2) run python console and then try import from connections:
>
> >>> from rhn.connections import idn_ascii_to_puny,
> >>> idn_puny_to_unicode
> >>>
> do you see the same error? If yes, problem maybe in sys.path, check
> it:
> >>> import sys
> >>> print sys.path
>
> sys.path sould contain '/usr/lib/python2.7/site-packages'
>
> ----- Original Message -----
> From: "Zeal Vora" <zeal at freecharge.com>
> To: spacewalk-list at redhat.com
> Sent: Monday, May 9, 2016 3:22:43 PM
> Subject: [Spacewalk-list] rhn_register leads to error
>
> Hi
>
> We are using Amazon Linux on our servers and planning to run
> SpaceWalk client on it.
>
> The packages installs properly, however whenever we run :
> rhn_register , it gives following error :
>
> Traceback (most recent call last):
> File "/usr/sbin/rhn_register", line 22, in <module>
> from up2date_client import up2dateLog
> File "/usr/share/rhn/up2date_client/up2dateLog.py", line 4, in
> <module>
> import config
> File "/usr/share/rhn/up2date_client/config.py", line 16, in <module>
> from rhn.connections import idn_ascii_to_puny, idn_puny_to_unicode
> ImportError: No module named rhn.connections
>
>
> Current Python version : 2.7.10
> rhn_lib version : rhnlib-2.5.77
>
>
> Any idea on how to go about that ? Can't seem to find proper solution
> for this :(
>
>
> Thanks,
> Zeal
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> 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