Sorry for the spam, but I seem to have gotten ahead of myself...when I
initially tried to update the cert, all seemed well and I could login.
However, I was still getting a big Certificate expired exception across
the top.  If I increase the verbosity, it turns out that my command
wasn't entirely successful:

rhn-satellite-activate -vvv --rhn-cert=spacewalk-public.cert
--disconnected
HTTP_PROXY: None
HTTP_PROXY_USERNAME: None
HTTP_PROXY_PASSWORD: <password>
CA_CERT: /usr/share/rhn/RHNS-CA-CERT
Checking cert XML sanity and GPG signature:
'/usr/bin/validate-sat-cert.pl --keyring /etc/webapp-keyring.gpg
/etc/sysconfig/rhn/rhn-entitlement-cert.xml-12590-1280946616.02662396'
Database connectioned initialized: refer to /etc/rhn/rhn.conf Attempting
local RHN Certificate push (and therefore activation)

ERROR: RHN Entitlement Certificate failed to validate:
Exception reported from spacewalk.privatenet.com
Time: Wed Aug  4 14:30:18 2010
Exception type server.rhnSQL.sql_base.SQLError

Exception Handler Information
Traceback (most recent call last):
  File "/usr/share/rhn/satellite_tools/rhn_satellite_activate.py",
line 203, in activateSatellite_local
    satCerts.storeRhnCert(cert, check_generation=1,
check_version=not(options.ignore_version_mismatch))
  File "/usr/share/rhn/satellite_tools/satCerts.py", line 288, in
storeRhnCert
    h.execute(label=label, version=version, expires=expires,
issued=issued)
  File "/usr/share/rhn/server/rhnSQL/sql_base.py", line 168, in execute
    return apply(self._execute_wrapper, (self._execute, ) + p, kw)
  File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 119, in
_execute_wrapper
    raise apply(sql_base.SQLError, ret)
SQLError: (1, 'ORA-00001: unique constraint
(SPACEWALK.RHN_SATCERT_LABEL_VERSION_UQ) violated\n', "INSERT into
rhnSatelliteCert (label, version, cert, expires, issued) VALUES (:label,
:version, empty_blob(), TO_DATE(:expires, 'YYYY-MM-DD HH24:MI:SS'),
TO_DATE(:issued, 'YYYY-MM-DD HH24:MI:SS'))")


-----Original Message-----
From: spacewalk-list-boun...@redhat.com
[mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Van Deman, Quint
CTR US USJFCOM J7
Sent: Wednesday, August 04, 2010 2:15 PM
To: spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] Spacewalk dormant, now no login?

Never mind, just ran across the "certificate expired" thread.

Problem solved.

Thanks,

Quint

-----Original Message-----
From: spacewalk-list-boun...@redhat.com
[mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Van Deman, Quint
CTR US USJFCOM J7
Sent: Wednesday, August 04, 2010 1:59 PM
To: spacewalk-list@redhat.com
Subject: [Spacewalk-list] Spacewalk dormant, now no login?

Hello--

I have a Spacewalk 0.7 installation on a virtual machine that I haven't
used in quite a while (the VM has been powered down for many months).
This morning I wanted to dust it off, but after firing up the VM and
noting that all of the services started as expected I encountered
something of an odd issue...on the login page, there simply isn't a
login box...has anyone else encountered this? There aren't any obvious
problems in any of the logs that I've seen thus far.  The browser I'm
accessing the page with is the up to date RHEL 5.5 standard, firefox
3.6.7 and unfortunately I don't have many other options to test with in
that environment.

Thanks,

Quint

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to