[Spacewalk-list] Error during configuration Spacewalk server.

Ivan Pavlenko i.pavlenko at unsw.edu.au
Mon Jul 25 03:30:06 UTC 2011


Hello ALL,

I've installed Spacewalk-1.4(PostgreSQL 8.4) on RHEL5.5 using this 
manual https://fedorahosted.org/spacewalk/wiki/HowToInstall

When I do command "spacewalk-setup --disconnected", I got:

# spacewalk-setup --disconnected
** Database: Setting up database connection for PostgreSQL backend.
Hostname (leave empty for local)?
Database? spaceschema
Username? admin
Password?
** Database: Populating database.
*** Progress: ####
* Setting up users and groups.
** GPG: Initializing GPG and importing key.
** GPG: Creating /root/.gnupg directory
You must enter an email address.
Admin Email Address? root at localhost
* Performing initial configuration.
* Activating Spacewalk.
** Loading Spacewalk Certificate.
** Verifying certificate locally.
** Activating Spacewalk.
There was a problem validating the satellite certificate: 1
only.

The log file (/var/log/rhn/rhn-installation.log) keeps next:

Installation log of Spacewalk
Command: /usr/bin/spacewalk-setup

Enabling spacewalk services...
Done
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: key F24F1B08: public key "Red Hat, Inc (Red Hat Network) 
<rhn-feedback at redhat.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
disconnected
/var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini
/var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf.orig
/var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf
/var/lib/rhn/rhn-satellite-prep/etc -> /etc
/var/lib/rhn/rhn-satellite-prep/etc/rhn -> /etc/rhn
/var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini -> /etc/rhn/cluster.ini
/var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf.orig -> 
/etc/rhn/rhn.conf.orig
/var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf -> /etc/rhn/rhn.conf
  * Making backup of /etc/rhn/rhn.conf to 
/etc/sysconfig/rhn/backup-2011-07-25-13:15/etc/rhn/rhn.conf
Unsubstituted Tags:

ERROR: unhandled exception occurred:
Traceback (most recent call last):
   File "/usr/bin/rhn-satellite-activate", line 43, in ?
     sys.exit(abs(mod.main() or 0))
   File 
"/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/rhn_satellite_activate.py", 
line 585, in main
     username=db_user, password=db_password, database=database)
   File 
"/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/__init__.py", 
line 104, in initDB
     (password, dsn) = temp.split("@")
ValueError: too many values to unpack

Apparently, I have a problem with SSL-certificate. How can I fix this? 
As far as I understood the system expects this file - 
/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT, but I don't have one. How can I 
create it? Why the system didn't create it during installation process?

Thank you in advance,
Ivan




More information about the Spacewalk-list mailing list