On Sat, 2009-08-15 at 12:04 -0300, Devan Goodwin wrote: > Spacewalk comes with a default certificate > at: /usr/share/spacewalk/setup/spacewalk-public.cert > > It is a part of the spacewalk-branding package. You shouldn't be > seeing this prompt if that exists on your system.
It was not installed on my server -- but now it is. However:
* Activating Spacewalk.
** Loading Spacewalk Certificate.
** Verifying certificate locally.
** Activating Spacewalk.
There was a problem activating the satellite: Local activation failure.
Checking /var/log/rhn/rhn-installation.log, I saw:
=============================
WARNING: UNKNOWN DATATYPE 1184 processed as string. Check pg_type.h to decode
this OID
WARNING: UNKNOWN DATATYPE 1184 processed as string. Check pg_type.h to decode
this OID
ERROR: RHN Entitlement Certificate failed to validate:
Exception reported from masaustu01.evim.gunduz.org
Time: Sat Aug 15 22:10:47 2009
Exception type <class 'pgsql.ProgrammingError'>
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 296, in storeRhnCert
set_slots_from_cert(sc)
File "/usr/share/rhn/satellite_tools/satCerts.py", line 208, in
set_slots_from_cert
org_service_proc(org_id, slots.get_slot_name(), 'Y')
File "/usr/share/rhn/server/rhnSQL/driver_postgresql.py", line 137, in
__call__
results = self.cursor.execute(query, *new_args)
File "/usr/lib/python2.6/site-packages/pgsql.py", line 119, in execute
ret = self._source.execute(operation, params)
ProgrammingError: ERROR: operator is not unique: character varying[] || unknown
LINE 1: SELECT $1 || 'rhn_virtualization_platform'
^
HINT: Could not choose a best candidate operator. You might need to add
explicit type casts.
QUERY: SELECT $1 || 'rhn_virtualization_platform'
CONTEXT: PL/pgSQL function "modify_org_service" line 65 at assignment
==========================================================================
I'm leaving the first two lines to Tom :) But the last lines are because
of the removal of implicit casts in PostgreSQL 8.3+. See here:
http://www.postgresql.org/docs/8.3/static/release-8-3.html#AEN86487
We need to fix them.
Regards,
--
Devrim GÜNDÜZ , RHCE
Professional Services, Training, 24x7 Support
Authors: PostgreSQL Replicator, ODBCng, PostgreSQL RPMs, PITRTools
http://www.commandprompt.com/
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
