[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, 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