pgsql resource fails to start or stop with 'unknown error' in pacemaker cluster.
Issue
-
Below error is observed for
ocf:heartbeat:pgsqlresource 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.