On Mon, 2011-03-28 at 09:38 -0700, Dale Bewley wrote:
> ERROR: unhandled exception occurred:
> Traceback (most recent call last):
>   File "/usr/bin/rhn-satellite-activate", line 43, in <module>
>     sys.exit(abs(mod.main() or 0))
>   File 
> "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/rhn_satellite_activate.py",
>  line 584, in main
>     username=db_user, password=db_password, database=database)
>   File 
> "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/__init__.py", line 
> 104, in initDB
>     (password, dsn) = temp.split("@")
> ValueError: too many values to unpack
> 

Turns out to be a silly problem. A DSN string like this:
"spaceuser/pass@dbname=spaceschema"
was being split on "@" by line 104 of
    /usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/__init__.py

My password contained an "@". A "/" in the password would also be
problematic.

If I'd looked closer at the example configuration dialog at
https://fedorahosted.org/spacewalk/wiki/HowToInstall I would have
figured this out a lot sooner. I didn't realize it had actually failed.

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to