[Spacewalk-list] spacewalk 1.0 - external DB setup issues

Tom Brown tom at ng23.net
Tue Jun 1 10:51:39 UTC 2010


Hi

My install of 1.0 to an external db is failing with the following

# spacewalk-setup --disconnected
* Setting up Oracle environment.
* Setting up database.
** Database: Setting up database connection.
DB User? XXXXXX
DB Password?
DB SID? XXXXXX
DB hostname? XXXXXX
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 spacewalk services that may be using DB.
** Database: Services stopped.  Clearing DB.
** Database: Re-populating database.
*** Progress: ########################################################
* Setting up users and groups.
** GPG: Initializing GPG and importing key.
* Performing initial configuration.
* Activating Spacewalk.
** Loading Spacewalk Certificate.
** Verifying certificate locally.
** Activating Spacewalk.
There was a problem validating the satellite certificate: 1

And in the log ...

# tail /var/log/rhn/rhn-installation.log

-- snip --
 * Making backup of /etc/rhn/rhn.conf to
/etc/sysconfig/rhn/backup-2010-06-01-10:42/etc/rhn/rhn.conf
/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-2010-06-01-10:42/etc/rhn/cluster.ini
Unsubstituted Tags:
RHN 25676 2010/06/01 10:44:24 -00:00: ('Connection attempt failed',
1017, 'ORA-01017: invalid username/password; logon denied\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 588, in main
    username=db_user, password=db_password, database=database)
  File "/usr/share/rhn/server/rhnSQL/__init__.py", line 98, in initDB
    __init__DB(backend, host, port, username, password, database)
  File "/usr/share/rhn/server/rhnSQL/__init__.py", line 52, in __init__DB
    __DB.connect()
  File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 386, in connect
    raise apply(sql_base.SQLConnectError, err_args)
server.rhnSQL.sql_base.SQLConnectError: (1017, 'ORA-01017: invalid
username/password; logon denied\n', 'SPACEWALK',
'Connection_Connect(): begin session')

How can this be ? The connection to the db seems fine and i can see
tables populated there so how can the creds be wrong?

thanks




More information about the Spacewalk-list mailing list