Mounting storage on pgsql data directory /var/lib/pgsql/ showing Permission denied message

Solution In Progress - Updated -

Issue

  • pgsql cluster resource times out on start operation with the permission denied error for agent pgsql:

    Could not change directory to "/var/lib/pgsql/data": Permission denied pg_ctl: could not access directory "/var/lib/pgsql/data": Permission denied
    

Environment

  • Red Hat Enterprise Linux Server 7 (with the High Availability Add-on)
  • Pacemaker
  • PostgreSQL

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