[Spacewalk-list] Spacewalk 0.6 Setup Issue

Bradley Radjoo Bradley.Radjoo at is.co.za
Wed Nov 25 10:20:41 UTC 2009


Hi Justin, 

I do get the below :

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

Stopping tomcat5: Stopping RHN Taskomatic...
RHN Taskomatic was not running.
Stopping httpd: ESC[60G[ESC[0;31mFAILEDESC[0;39m]
Terminating jabberd processes ...
Stopping router: ESC[60G[ESC[0;31mFAILEDESC[0;39m]
Stopping sm: ESC[60G[ESC[0;31mFAILEDESC[0;39m]
Stopping c2s: ESC[60G[ESC[0;31mFAILEDESC[0;39m]
Stopping s2s: ESC[60G[ESC[0;31mFAILEDESC[0;39m]
Shutting down osa-dispatcher: ESC[60G[ESC[0;31mFAILEDESC[0;39m]
env: /etc/init.d/tsdb_local_queue: Permission denied
/root/.gnupg/pubring.gpg
------------------------
pub   1024D/F24F1B08 2002-04-23 [expired: 2004-04-22]
uid                  Red Hat, Inc (Red Hat Network)
<rhn-feedback at redhat.com>

gpg: key F24F1B08: "Red Hat, Inc (Red Hat Network)
<rhn-feedback at redhat.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
/etc/sysconfig/rhn-satellite-prep/etc/rhn/rhn.conf.orig
/etc/sysconfig/rhn-satellite-prep/etc/rhn/rhn.conf
/etc/sysconfig/rhn-satellite-prep/etc/rhn/cluster.ini
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/sm.xml
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/router-users.xml
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/s2s.xml
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/c2s.xml
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/router.xml
/etc/sysconfig/rhn-satellite-prep/etc/tomcat5/server.xml
/etc/sysconfig/rhn-satellite-prep/etc/tomcat5/tomcat5.conf
/etc/sysconfig/rhn-satellite-prep/etc -> /etc
/etc/sysconfig/rhn-satellite-prep/etc/rhn -> /etc/rhn
/etc/sysconfig/rhn-satellite-prep/etc/rhn/rhn.conf.orig ->
/etc/rhn/rhn.conf.orig
 * Making backup of /etc/rhn/rhn.conf.orig to
/etc/sysconfig/rhn/backup-2009-11-25-08:48/etc/rhn/rhn.conf.orig
/etc/sysconfig/rhn-satellite-prep/etc/rhn/rhn.conf -> /etc/rhn/rhn.conf
 * Making backup of /etc/rhn/rhn.conf to
/etc/sysconfig/rhn/backup-2009-11-25-08:48/etc/rhn/rhn.conf
/etc/sysconfig/rhn-satellite-prep/etc/rhn/cluster.ini ->
/etc/rhn/cluster.ini
 * Making backup of /etc/rhn/cluster.ini to
/etc/sysconfig/rhn/backup-2009-11-25-08:48/etc/rhn/cluster.ini
/etc/sysconfig/rhn-satellite-prep/etc/jabberd -> /etc/jabberd
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/sm.xml ->
/etc/jabberd/sm.xml
 * Making backup of /etc/jabberd/sm.xml to
/etc/sysconfig/rhn/backup-2009-11-25-08:48/etc/jabberd/sm.xml
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/router-users.xml ->
/etc/jabberd/router-users.xml
 * Making backup of /etc/jabberd/router-users.xml to
/etc/sysconfig/rhn/backup-2009-11-25-08:48/etc/jabberd/router-users.xml
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/s2s.xml ->
/etc/jabberd/s2s.xml
 * Making backup of /etc/jabberd/s2s.xml to
/etc/sysconfig/rhn/backup-2009-11-25-08:48/etc/jabberd/s2s.xml
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/c2s.xml ->
/etc/jabberd/c2s.xml
 * Making backup of /etc/jabberd/c2s.xml to
/etc/sysconfig/rhn/backup-2009-11-25-08:48/etc/jabberd/c2s.xml
 tellite-prep/etc/tomcat5/server.xml -> /etc/tomcat5/server.xml
 * Making backup of /etc/tomcat5/server.xml to
/etc/sysconfig/rhn/backup-2009-11-25-08:48/etc/tomcat5/server.xml
/etc/sysconfig/rhn-satellite-prep/etc/tomcat5/tomcat5.conf ->
/etc/tomcat5/tomcat5.conf
 * Making backup of /etc/tomcat5/tomcat5.conf to
/etc/sysconfig/rhn/backup-2009-11-25-08:48/etc/tomcat5/tomcat5.conf
Unsubstituted Tags:

ERROR: unhandled exception occurred:
Traceback (most recent call last):
  File "/usr/bin/rhn-satellite-activate", line 45, in ?
    sys.exit(abs(mod.main() or 0))
  File "/usr/share/rhn/satellite_tools/rhn_satellite_activate.py", line
581, in main
    username=db_user, password=db_password, database=database)
  File "/usr/share/rhn/server/rhnSQL/__init__.py", line 93, in initDB
    (password, database) = temp.split("@")
ValueError: need more than 1 value to unpack

Regards,
Brad

-----Original Message-----
From: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Justin Sherrill
Sent: 24 November 2009 06:04 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Spacewalk 0.6 Setup Issue

Bradley Radjoo wrote:
> Greetings,
> 
> Please can you assist as the below error is returned when I attempt
and
> installation :
> 
> LANG=C; spacewalk-setup --disconnected
> 
> Available database backends:
>    oracle
>    postgresql
> Database? oracle
> * Setting up Oracle environment.
> * Setting up database.
> ** Database: Setting up database connection.
> DB User? spacewalk
> DB Password?
> DB SID? xe
> DB hostname? localhost
> DB port [1521]?
> DB protocol [TCP]?
> ** Database: Testing database connection.
> ** Database: Populating database.
> The Database has schema.  Would you like to clear the database [Y]? Y
> ** Database: Clearing database.
> ** Database: Shutting down services that may be using DB: [tomcat5,
> taskomatic, httpd, jabberd, osa-dispatcher, tsdb_local_queue].
> 
> ** Database: Services stopped.  Clearing DB.
> ** Database: Re-populating database.
> *** Progress:
>
########################################################################
########################################################################
########################################################################
########################################################################
########################################################################
########################################################################
########################################################################
########################################################################
########################################################################
########################################################################
################
> 
> * Setting up users and groups.
> ** GPG: Initializing GPG and importing key.
> * Performing initial configuration.
> chown: changing ownership of
> `/var/satellite/systemlogs/audit-review.log': Operation not permitted
> * Activating Spacewalk.
> ** Loading Spacewalk Certificate.
> ** Verifying certificate locally.
> ** Activating Spacewalk.
> *There was a problem validating the satellite certificate: 1*


Any errors in /var/log/rhn/rhn-installation.log?

-Justin


> 
> 
> Regards,
> Brad
> 
> Please note: This email and its content are subject to the disclaimer
as
> displayed at the following link
>
http://www.is.co.za/legal/E-mail+Confidentiality+Notice+and+Disclaimer.h
tm.
> Should you not have Web access, send an email to
> mailto:disclaimers at is.co.za and a copy will be sent to you.
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




-- 
Justin Sherrill, RHCA          1801 Varsity Drive.
Software Engineer                Raleigh, NC 27603
Red Hat, Inc.

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
Please note: This email and its content are subject to the disclaimer as displayed at the following link http://www.is.co.za/legal/E-mail+Confidentiality+Notice+and+Disclaimer.htm. Should you not have Web access, send a mail to disclaimers at is.co.za and a copy will be emailed to you.




More information about the Spacewalk-list mailing list