Hi Devan,
Definitely, I see some errors at the end. 
Attached is the logging.
Regards,
Cem.

On Thu, 2008-11-20 at 09:03 -0400, Devan Goodwin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Are there any errors in /var/log/rhn/rhn-installation.log?
> 
> Thanks,
> 
> Devan
> 
> On Wed, 19 Nov 2008 23:57:36 +0200
> Cem Vedat ISIK <[EMAIL PROTECTED]> wrote:
> 
> > Hi Devan,
> > Thanks in advance for your time and consideration. Here are the
> > versions of spacewalk components I currently use,
> > 
> > [EMAIL PROTECTED] ~]# rpm -qa | grep spacewalk
> > spacewalk-java-lib-0.3.8-1.el5.sw
> > spacewalk-backend-xmlrpc-0.3.3-1.el5.sw
> > spacewalk-java-0.3.8-1.el5.sw
> > spacewalk-grail-0.3.7-1.el5.sw
> > spacewalk-cypress-0.3.7-1.el5.sw
> > spacewalk-backend-0.3.3-1.el5.sw
> > spacewalk-backend-config-files-tool-0.3.3-1.el5.sw
> > spacewalk-schema-0.3.6-1.el5.sw
> > spacewalk-branding-0.1.6-1.el5.sw
> > spacewalk-backend-xml-export-libs-0.3.3-1.el5.sw
> > spacewalk-backend-applet-0.3.3-1.el5.sw
> > spacewalk-search-0.3.5-1.el5.sw
> > spacewalk-base-0.3.7-1.el5.sw
> > spacewalk-certs-tools-0.2.3-1.el5.sw
> > spacewalk-backend-server-0.3.3-1.el5.sw
> > spacewalk-backend-app-0.3.3-1.el5.sw
> > spacewalk-backend-xp-0.3.3-1.el5.sw
> > spacewalk-config-0.3.3-1.el5.sw
> > spacewalk-moon-0.3.7-1.el5.sw
> > spacewalk-sniglets-0.3.7-1.el5.sw
> > spacewalk-dobby-0.3.7-1.el5.sw
> > spacewalk-0.3.6-1.el5.sw
> > spacewalk-backend-sql-0.3.3-1.el5.sw
> > spacewalk-backend-package-push-server-0.3.3-1.el5.sw
> > spacewalk-html-0.3.7-1.el5.sw
> > spacewalk-backend-tools-0.3.3-1.el5.sw
> > spacewalk-java-config-0.3.8-1.el5.sw
> > spacewalk-backend-config-files-common-0.3.3-1.el5.sw
> > spacewalk-pxt-0.3.7-1.el5.sw
> > spacewalk-repo-0.3-1.el5.sw
> > spacewalk-backend-config-files-0.3.3-1.el5.sw
> > spacewalk-taskomatic-0.3.8-1.el5.sw
> > spacewalk-setup-0.3.7-1.el5.sw
> > spacewalk-admin-0.3.3-1.el5.sw
> > [EMAIL PROTECTED] ~]#
> > 
> > No upgrade has been performed, just a clean installation.
> > 
> > The output from "validate-sat-cert.pl 
> > /usr/share/spacewalk/setup/spacewalk-public.cert" is below,
> > 
> > [EMAIL PROTECTED] ~]# validate-sat-cert.pl 
> > /usr/share/spacewalk/setup/spacewalk-public.cert
> > gpg: Signature made Fri 13 Jun 2008 09:14:03 PM CEST using DSA key ID 
> > 06947932
> > gpg: Good signature from "Red Hat Network (Satellite Certificate
> > Signing Key) <[EMAIL PROTECTED]>"
> > gpg: WARNING: This key is not certified with a trusted signature!
> > gpg: There is no indication that the signature belongs to the owner.
> > Primary key fingerprint: 3E7B 88A8 BD63 A59F FCD6 8B58 9E72 9DAF 0694
> > 7932 Certificate validated successfully.
> > [EMAIL PROTECTED] ~]#
> > 
> > Kind regards,
> > Cem.
> > 
> > Devan Goodwin yazm?s,:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Hi Cem, could you confirm which version of spacewalk you are running
> > > and if it has any history. (was is upgraded, etc)
> > >
> > > Specifically also the version of spacewalk-admin you have installed
> > > would be useful.
> > >
> > > And thirdly could you run: 
> > >
> > > validate-sat-cert.pl /usr/share/spacewalk/setup/spacewalk-public.cert
> > >
> > > And include it's output as well.
> > >
> > > This should be working fine if you are running spacewalk 0.3 so
> > > we're a little puzzled. :)
> > >
> > > Thanks,
> > >
> > > Devan
> > >
> > > On Wed, 19 Nov 2008 17:22:42 +0200
> > > Cem Vedat ISIK <[EMAIL PROTECTED]> wrote:
> > >
> > >   
> > >> Dear all,
> > >> I've been trying to install spacewalk on RHEL5 over Oracle-XE,
> > >> just as mentioned on [1] and [2].
> > >> I completed the installation and it seems the spacewalk user was
> > >> properly setup (I got Connected to: response from SQL)
> > >> I'd like to use spacewalk as 
> > >> But after all, when I run "spacewalk-setup --disconnected"
> > >> Here's how it does,
> > >>
> > >> <clipped>
> > >> [EMAIL PROTECTED] ~]# spacewalk-setup --disconnected
> > >> * Loading answer file: /usr/share/spacewalk/setup/defaults.conf.
> > >> Only one database option available, assuming: 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.
> > >> sh: dbhome: command not found
> > >> *** Progress:
> > >> #################################################################
> > >> * Setting up users and groups.
> > >> ** GPG: Initializing GPG and importing key.
> > >> * Performing initial configuration.
> > >> * Activating Satellite.
> > >> ** Loading Satellite Certificate.
> > >> ** Verifying certificate locally.
> > >> ** Activating Satellite.
> > >> There was a problem validating the satellite certificate: 1
> > >> </clipped>
> > >>
> > >> What I see is, during "** Activating Satellite" stage,
> > >>
> > >> # /usr/bin/rhn-satellite-activate
> > >> --rhn-cert /usr/share/spacewalk/setup/spacewalk-public.cert
> > >> --disconnected
> > >>
> > >> is run. When I run the command manually,
> > >> # /usr/bin/rhn-satellite-activate
> > >> --rhn-cert /usr/share/spacewalk/setup/spacewalk-public.cert
> > >> --disconnected
> > >> #
> > >>
> > >> No output is obtained.
> > >>
> > >> What do you suggest me do? After running the satelite activation
> > >> manually, shall I comment out,
> > >>     satellite_activate(-filename =>
> > >> $answers->{'satellite-cert-file'}, %activate_options);
> > >> line at /usr/bin/spacewalk-setup?
> > >>
> > >> Looking forward to hearing your solutions,
> > >> Regards,
> > >> Cem.
> > >>
> > >> [1] https://fedorahosted.org/spacewalk/wiki/HowToInstall
> > >> [2] https://fedorahosted.org/spacewalk/wiki/OracleXeSetup
> > >>
> > >>
> > >>     
> > >
> > >
> > > - -- 
> > > Devan Goodwin <[EMAIL PROTECTED]>
> > > Software Engineer - Spacewalk / RHN Satellite
> > > Halifax, Canada            650.567.9039x79267
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v2.0.9 (GNU/Linux)
> > >
> > > iEYEARECAAYFAkkkOSQACgkQAyHWaPV9my6IYgCgodWJ6djd6Tyz3dWC+NMls4/t
> > > zIEAn073VCWOhnLTM3SIwRXgnBYv6oaq
> > > =urhx
> > > -----END PGP SIGNATURE-----
> > >   
> > 
> 
> 
> - -- 
> Devan Goodwin <[EMAIL PROTECTED]>
> Software Engineer - Spacewalk / RHN Satellite
> Halifax, Canada            650.567.9039x79267
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> 
> iEYEARECAAYFAkklYCQACgkQAyHWaPV9my4jjACeIvAzqb0SCk186os81srXGNnj
> 3sgAoOuOmcEMq5JOLjPD6oN00QGq8nBl
> =YAc3
> -----END PGP SIGNATURE-----
-- 
Cem Vedat ISIK
Bitbrains IT Services
T +31-(0)20-3162610 x3112
T +90-(216)-3375650 x9012
M +90-(532)-7078037
E [EMAIL PROTECTED]
[EMAIL PROTECTED] rhn]# cat rhn-installation.log
RHN Satellite installation log.
Command: /usr/bin/spacewalk-setup

Stopping RHN Taskomatic...                                 [  OK  ]
Stopped RHN Taskomatic.
Stopping httpd:                                            [FAILED]
jabberd: unrecognized service
osa-dispatcher: unrecognized service
env: /etc/init.d/tsdb_local_queue: Permission denied
/root/.gnupg/pubring.gpg
------------------------
pub   1024D/37017186 2006-12-06
uid                  Red Hat, Inc. (release key) <[EMAIL PROTECTED]>

pub   1024D/7666240E 2008-10-24
uid                  Spacewalk Bitbrains (Bitbrains Spacewalk) <[EMAIL PROTECTED]>
sub   2048g/4CA0EE57 2008-10-24

pub   1024D/288F4452 2008-10-24
uid                  Bitbrains Spacewalk <[EMAIL PROTECTED]>
sub   2048g/2C4B4C84 2008-10-24

gpg: key 37017186: "Red Hat, Inc. (release key) <[EMAIL PROTECTED]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
/etc/sysconfig/rhn-satellite-prep/etc/satname
/etc/sysconfig/rhn-satellite-prep/etc/webapp-keyring.gpg
/etc/sysconfig/rhn-satellite-prep/etc/tomcat5/tomcat5.conf
/etc/sysconfig/rhn-satellite-prep/etc/httpd/conf.d/satellite-installed.conf
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/c2s.xml
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/sm.xml
/etc/sysconfig/rhn-satellite-prep/etc/jabberd/s2s.xml
/etc/sysconfig/rhn-satellite-prep/etc/sysconfig/satellite-httpd
/etc/sysconfig/rhn-satellite-prep/etc/init.d/satellite-httpd
/etc/sysconfig/rhn-satellite-prep/etc/rhn/rhn.conf
/etc/sysconfig/rhn-satellite-prep/etc/rhn/rhn.conf.orig
/etc/sysconfig/rhn-satellite-prep/etc/rhn/cluster.ini
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/workers.properties
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/ssl.conf
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/satidmap.pl
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/startup.pl
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/rhnweb.conf
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/httpd.conf
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf
/etc/sysconfig/rhn-satellite-prep/etc -> /etc
/etc/sysconfig/rhn-satellite-prep/etc/satname -> /etc/satname
 * Making backup of /etc/satname to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/satname
/etc/sysconfig/rhn-satellite-prep/etc/webapp-keyring.gpg -> /etc/webapp-keyring.gpg
 * Making backup of /etc/webapp-keyring.gpg to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/webapp-keyring.gpg
/etc/sysconfig/rhn-satellite-prep/etc/tomcat5 -> /etc/tomcat5
/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-2008-11-20-14:06/etc/tomcat5/tomcat5.conf
/etc/sysconfig/rhn-satellite-prep/etc/httpd -> /etc/httpd
/etc/sysconfig/rhn-satellite-prep/etc/httpd/conf.d -> /etc/httpd/conf.d
/etc/sysconfig/rhn-satellite-prep/etc/httpd/conf.d/satellite-installed.conf -> /etc/httpd/conf.d/satellite-installed.conf
 * Making backup of /etc/httpd/conf.d/satellite-installed.conf to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/httpd/conf.d/satellite-installed.conf
/etc/sysconfig/rhn-satellite-prep/etc/jabberd -> /etc/jabberd
/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-2008-11-20-14:06/etc/jabberd/c2s.xml
/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-2008-11-20-14:06/etc/jabberd/sm.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-2008-11-20-14:06/etc/jabberd/s2s.xml
/etc/sysconfig/rhn-satellite-prep/etc/sysconfig -> /etc/sysconfig
/etc/sysconfig/rhn-satellite-prep/etc/sysconfig/satellite-httpd -> /etc/sysconfig/satellite-httpd
 * Making backup of /etc/sysconfig/satellite-httpd to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/sysconfig/satellite-httpd
/etc/sysconfig/rhn-satellite-prep/etc/init.d -> /etc/init.d
/etc/sysconfig/rhn-satellite-prep/etc/init.d/satellite-httpd -> /etc/init.d/satellite-httpd
 * Making backup of /etc/init.d/satellite-httpd to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/init.d/satellite-httpd
/etc/sysconfig/rhn-satellite-prep/etc/rhn -> /etc/rhn
/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-2008-11-20-14:06/etc/rhn/rhn.conf
/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-2008-11-20-14:06/etc/rhn/rhn.conf.orig
/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-2008-11-20-14:06/etc/rhn/cluster.ini
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd -> /etc/rhn/satellite-httpd
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf -> /etc/rhn/satellite-httpd/conf
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/workers.properties -> /etc/rhn/satellite-httpd/conf/workers.properties
 * Making backup of /etc/rhn/satellite-httpd/conf/workers.properties to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/rhn/satellite-httpd/conf/workers.properties
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/ssl.conf -> /etc/rhn/satellite-httpd/conf/ssl.conf
 * Making backup of /etc/rhn/satellite-httpd/conf/ssl.conf to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/rhn/satellite-httpd/conf/ssl.conf
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/satidmap.pl -> /etc/rhn/satellite-httpd/conf/satidmap.pl
 * Making backup of /etc/rhn/satellite-httpd/conf/satidmap.pl to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/rhn/satellite-httpd/conf/satidmap.pl
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/startup.pl -> /etc/rhn/satellite-httpd/conf/startup.pl
 * Making backup of /etc/rhn/satellite-httpd/conf/startup.pl to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/rhn/satellite-Unsubstituted Tags:
httpd/conf/startup.pl
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/rhnweb.conf -> /etc/rhn/satellite-httpd/conf/rhnweb.conf
 * Making backup of /etc/rhn/satellite-httpd/conf/rhnweb.conf to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/rhn/satellite-httpd/conf/rhnweb.conf
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/httpd.conf -> /etc/rhn/satellite-httpd/conf/httpd.conf
 * Making backup of /etc/rhn/satellite-httpd/conf/httpd.conf to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/rhn/satellite-httpd/conf/httpd.conf
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/rhn -> /etc/rhn/satellite-httpd/conf/rhn
/etc/sysconfig/rhn-satellite-prep/etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf -> /etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf
 * Making backup of /etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf to /etc/sysconfig/rhn/backup-2008-11-20-14:06/etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf
Cmnd_Alias INSTALL_RHN = /sbin/service rhn-satellite restart,\
# The INSTALL_RHN commands are required for RHN Satellite
apache  ALL=(root)      NOPASSWD: INSTALL_RHN
tomcat  ALL=(root)      NOPASSWD: INSTALL_RHN
# and INSTALL_RHN commands via sudo even without a real tty
tomcat  ALL=(root)      NOPASSWD: CONFIG_RHN
# These two directives allow tomcat and apache to invoke CONFIG_RHN
RHN 22749 2008/11/20 14:10:36 +02:00: ('Connection attempt failed', 12537, 'ORA-12537: TNS:connection closed\n')

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 610, in main
    rhnSQL.initDB(CFG.DEFAULT_DB)
  File "/usr/share/rhn/server/rhnSQL/__init__.py", line 70, in initDB
    __init__DB(db)
  File "/usr/share/rhn/server/rhnSQL/__init__.py", line 48, in __init__DB
    __DB.connect()
  File "/usr/share/rhn/server/rhnSQL/int_oracle.py", line 324, in connect
    raise apply(sql_base.SQLConnectError, err_args)
server.rhnSQL.sql_base.SQLConnectError: (12537, 'ORA-12537: TNS:connection closed\n', 'xe', 'Connection_Connect(): server attach')
[EMAIL PROTECTED] rhn]# 
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to