On Mon, 2011-03-28 at 09:10 +0200, Jan Pazdziora wrote: > On Fri, Mar 25, 2011 at 01:50:42PM -0700, Dale Bewley wrote: > > Hello, > > I have a new install on F14 x86_64 of spacewalk 1.3.9. > > I'm stuck at a 404 error in the web interface. > > > > /rhn/Login.do 404 Error - File Not Found > > > > I'm a newb, and I'm not really sure how RHN factors into Satellite on > > Linux. I assume an actually RHN subscription is not required. > > > > This is a minimal install of Fedora 14 with selinux disabled. I followed > > the instructions at https://fedorahosted.org/spacewalk/wiki/HowToInstall > > > > > > Installation goes mostly fine. I'm not sure the cert error below is a > > problem: > > > > [root@spacewalk ~]# spacewalk-setup --disconnected > > --answer-file=spacewalk.cfg > > * Loading answer file: spacewalk.cfg. > > ** Database: Setting up database connection for PostgreSQL backend. > > ** Database: Populating database. > > *** Progress: #### > > * Setting up users and groups. > > ** GPG: Initializing GPG and importing key. > > ** GPG: Creating /root/.gnupg directory > > * Performing initial configuration. > > * Activating Spacewalk. > > ** Loading Spacewalk Certificate. > > ** Verifying certificate locally. > > ** Activating Spacewalk. > > There was a problem validating the satellite certificate: 1 > > Your installation / setup did not finish properly, so let's start here. > > What is in your /var/log/rhn/rhn-installation.log? >
Thank you for the reply. Here is /var/log/rhn/rhn-installation.log: 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) <[email protected]>" 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 /var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf.orig /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 -> /etc/rhn/rhn.conf * Making backup of /etc/rhn/rhn.conf to /etc/sysconfig/rhn/backup-2011-03-25-12:55/etc/rhn/rhn.conf /var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf.orig -> /etc/rhn/rhn.conf.orig Unsubstituted Tags: 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 The answer file used for install looks like this: [root@spacewalk ~]# grep db- spacewalk.cfg db-backend=postgresql db-name=spaceschema db-user=spaceuser db-password=pass db-host= db-port=5432 I notice the resultant rhn.conf does not have the port number filled in: [root@spacewalk ~]# grep db_ /etc/rhn/rhn.conf db_backend = postgresql db_user = spaceuser db_password = pass db_name = spaceschema db_host = db_port = BTW, db connection tests do work: [root@spacewalk ~]# PGPASSWORD=pass psql -h localhost -a -U spaceuser spaceschema psql (8.4.7) Type "help" for help. spaceschema=# \q [root@spacewalk ~]# PGPASSWORD=pass psql -a -U spaceuser spaceschema psql (8.4.7) Type "help" for help. spaceschema=# \q _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
