Ron Watkins wrote:
> 2018-02-22 11:18:51.703 MST [3113] FATAL: could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": No
suchfile or directory
Either the directory does not exist, or the operating system user as which
you started PostgreSQL does not have permissions on the file.
You can either:
# mkdir -m 0755 /var/run/postgresql
# chown postgres:postgres /var/run/postgresql
or edit postgresql.conf and change the parameter unix_socket_directories.
Yours,
Laurenz Albe