[Spacewalk-list] spacewalk install - python error

Tomas Lestach tlestach at redhat.com
Thu Jul 21 09:35:22 UTC 2016


What do you get when executing:

# spacewalk-cfg-get product_name

or

# grep product_name /usr/share/rhn/config-defaults/rhn.conf

?

Regards,
--
Tomas Lestach
Red Hat Satellite Engineering

On 07/20/2016 08:19 PM, Sandra Fredenburgh wrote:
> First install of spacewalk and encountering python errors.  Running on
> CentOS6 with Python 2.6.6
>
>   Preparing packages for installation...
> rhn-org-httpd-ssl-key-pair-st-sysmgmt-01-1.0-2
> Traceback (most recent call last):
>   File "/usr/bin/rhn-ssl-dbstore", line 25, in <module>
>     mod = __import__("spacewalk.satellite_tools", globals(), locals(),
> [mod_name])
>   File
> "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/rhn_ssl_dbstore.py",
> line 20, in <module>
>     from spacewalk.common import rhnTB
>   File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnTB.py",
> line 29, in <module>
>     from spacewalk.common.rhnConfig import CFG, PRODUCT_NAME
>   File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnConfig.py",
> line 535, in <module>
>     PRODUCT_NAME = ALL_CFG.PRODUCT_NAME
>   File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnConfig.py",
> line 229, in __getattr__
>     raise AttributeError(key)
> AttributeError: PRODUCT_NAME
>
> Any suggestions would be great to help move along the install.
>
>
>
>
>
>
> _______________________________________________
> 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