pgsql resource fails to start or stop with 'unknown error' in pacemaker cluster.

Solution Verified - Updated -

Issue

  • Below error is observed for ocf:heartbeat:pgsql resource in a pacemaker cluster:

    'unknown error' (1): call=28, status=Timed Out, exitreason='In PostgreSQL 9.3 or higher, socketdir can't be empty if you define unix_socket_directories in the postgresql.conf.'
    

Environment

  • Red Hat Enterprise Linux (RHEL) 7, 8 with the High Availability Add On
  • PostgreSQL 9.3 or higher

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