Hi there,

I'm trying to setup spacewalk 0.3 on a RHEL 5.2 32bits. I followed steps
described here :
https://hosted.fedoraproject.org/spacewalk/wiki/HowToInstall and here :
https://hosted.fedoraproject.org/spacewalk/wiki/OracleXeSetup ; I use Oracle
XE (rpm: oracle-xe-univ-10.2.0.1-1.0).

Everything goes ok til "spacewalk-setup --disconnected" step, where I get
this error :
    ** Verifying certificate locally.
    ** Activating Satellite.
    There was a problem activating the satellite: Local activation failure.

Then I tried to generate my own cert as suggested in the wiki, but the
gen-oss-sat-sert.pl script failed because of "compute_signature" no more
supported. It seems to be the same problem as described here :
http://www.mail-archive.com/[email protected]/msg00740.html

Someone on the irc channel #spacew...@freenode told me I could use the
default certificate spacewalk-public.cert, which would be ok for me.
I ran a "rhn-satellite-activate --disconnected
--rhn-cert=/usr/share/spacewalk/setup/spacewalk-public.cert" but it failed
with an Oracle-related error, see attachment for the trace.

We spent a moment trying to understand the problem (many thanks to him) but
didn't found a solution.
Database is working correctly (tested with a sqlplus connection) and it has
already been populated by spacewalk-setup.
/etc/rhn/rhn.conf seems to be ok.

Does anyone have an idea to get spacewalk run, solving one problem or the
other ?
Thanks in advance,

-- 
Jean-Baptiste BARTH
[r...@spacewalk oracle]# rhn-satellite-activate --disconnected 
--rhn-cert=/usr/share/spacewalk/setup/spacewalk-public.cert

ERROR: RHN Entitlement Certificate failed to validate: 
Exception reported from spacewalk.setra.fr
Time: Thu Dec 11 23:53:53 2008
Exception type server.rhnSQL.sql_base.SQLSchemaError

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 228, in storeRhnCert
    create_first_org(owner=sc.owner)
  File "/usr/share/rhn/satellite_tools/satCerts.py", line 97, in 
create_first_org
    p(owner, pword)
  File "/usr/share/rhn/server/rhnSQL/int_oracle.py", line 38, in __call__
    retval = self._call_proc(args)
  File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 249, in 
_call_proc
    return self._call_proc_ret(args, ret_type=None)
  File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 270, in 
_call_proc_ret
    raise sql_base.SQLSchemaError(e.code, e.message, e.context)
SQLSchemaError: (6550, 'ORA-06550: Ligne 1, colonne 7 :', "PLS-00201: 
l'identificateur 'CREATE_FIRST_ORG' doit \xc3\xaatre 
d\xc3\xa9clar\xc3\xa9\nORA-06550: Ligne 1, colonne 7 :\nPL/SQL: Statement 
ignored\n", 'Cursor_InternalExecute()')
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to