Red Hat Satellite upgrade from 5.4 to version 5.7 fails

Solution Verified - Updated -

Issue

  • Upgrade Red Hat Satellite from 4.5.1 to 5.7 fails with following error messages:
# ./install.pl --upgrade --skip-selinux-test
[...]
* Database: Starting Oracle to PostgreSQL database migration.
** Database: Starting embedded Oracle database.
** Database: Trying to connect to Oracle database: succeded.
** Database: Migrating data.
*** Database: Migration process logged at: /var/log/rhn/rhn_db_migration.log
*** Data migration failed.  Exit value: 3.
Please examine /var/log/rhn/rhn_installation.log for more information.

# cat /var/log/rhn/rhn_db_migration.log
Running: psql -U rhnuser -d rhnschema -v ON_ERROR_STOP=ON -f -
psql:<stdin>:1: ERROR:  syntax error at or near "Package"
LINE 1: Package rhn-upgrade detected, which may lead to errors during...

Environment

  • Red Hat Network Satellite 5.4
  • Red Hat Satellite 5.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content