My Oracle Support Banner

Registering Spacewalk Client via Rhnreg_ks Fails with "ImportError: No module named rhn.connections" (Doc ID 2681195.1)

Last updated on NOVEMBER 17, 2021

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64

Symptoms

Registering spacewalk client via Rhnreg_ks fails with "ImportError: No module named rhn.connections"


# rhnreg_ks --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --serverUrl=https://<SPACEWALK_SERVER_FQDN>/XMLRPC --activationkey=<activation_key>
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 25, in
  from rhn.connections import idn_puny_to_unicode
ImportError: No module named rhn.connections

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.