Satellite 5 update fails with error "/var/lib/pgsql/delete_old_cluster.sh: Permission denied"

Solution Verified - Updated -

Issue

  • Satellite upgrade fails with below error message,
Install fails with:
*** Upgrading embedded database.
There was a problem during embedded database upgrade.
  Exit value: 1.
Please examine /var/log/rhn/rhn_installation.log for more information.
  • Installation logs reflects
Running this script will delete the old cluster's data files:
    delete_old_cluster.sh
/usr/bin/spacewalk-upgrade-postgresql: line 52: /var/lib/pgsql/delete_old_cluster.sh: Permission denied

Environment

  • Red Hat Satellite v 5.6
  • Postgresql (embedded)

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