Re: New DB cluster. - Mailing list pgsql-novice

From Laurenz Albe
Subject Re: New DB cluster.
Date
Msg-id 1519370332.2530.3.camel@cybertec.at
Whole thread Raw
In response to New DB cluster.  ("Ron Watkins" <rwatki@gmail.com>)
List pgsql-novice
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


pgsql-novice by date:

Previous
From: "Ron Watkins"
Date:
Subject: New DB cluster.
Next
From: Laurenz Albe
Date:
Subject: Re: Differing data directories