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 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.