[Spacewalk-list] Problem with installing Spacewalk on Rhel 5.2

krzychk2 krzychk2 at o2.pl
Mon Sep 22 10:51:09 UTC 2008


Hi.

I've got problem during spacewalk-setup procedure. 

The installation stops ]# spacewalk-setup --disconnect
* Loading answer file: /usr/share/spacewalk/setup/defaults.conf.
* Setting up environment and users.
** GPG: Initializing GPG and importing key.
* 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.
sh: dbhome: command not found
*** Progress: ###############################
* Performing initial configuration.
* Activating Satellite.
** Loading Satellite Certificate.
** Verifying certificate locally.
** Activating Satellite.
There was a problem activating the satellite: Local activation failure.

In rhn-installation.log I've got:

ERROR: RHN Entitlement Certificate failed to validate:
Exception reported from test.domek.aster.pl
Time: Mon Sep 22 12:19:37 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: line 1, column 7:', "PLS-00201:
identifier 'CREATE_FIRST_ORG' must be declared\nORA-06550: line 1, column 7
:\nPL/SQL: Statement ignored\n", 'Cursor_InternalExecute()')

In populate_db.log I've got:

SQL_FILE
--------------------------------
rhnsat/tables/rhnFAQ_satdata.sql

, 1,  TO_Date( '10/02/2002 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), 
TO_Date( '05/12/2003 10:18:24 PM', 'MM/DD/YYYY HH:MI:SS AM')
               *
Erorr at line 4:
ORA-01855: AM/A.M. or PM/P.M. required

I've tried to google out this issue but without luck.

Greetings
KrzychK2






More information about the Spacewalk-list mailing list