Red Hat Satellite upgrade from 5.4 to version 5.7 fails
Issue
- Upgrade Red Hat Satellite from
4.5.1to5.7fails 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
