[Satelltie 5.8] Upgrade failed with error: Could not open file "./analyze_new_cluster.sh": Permission denied

Solution Verified - Updated -

Issue

  • Error while upgrading from Red Hat Satellite 5.7 to 5.8.
/var/log/rhn/rhn_installation.log:
Starting postgresql92-postgresql service: [  OK  ]
Stopping postgresql92-postgresql service: [  OK  ]
 * upgrading from 'postgresql92-postgresql' to 'rh-postgresql95-postgresql'
 * Upgrading database.
ERROR: pg_upgrade tool failed
ERROR: Upgrade failed.
 * See /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log for details.

/var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log:
Setting next OID for new cluster                            ok
Sync data directory to disk                                 ok
Creating script to analyze new cluster                      
Could not open file "./analyze_new_cluster.sh": Permission denied
Failure, exiting

Environment

  • Red Hat Satellite 5.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.