Re: New DB cluster.

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Ron Watkins <rwatki(at)gmail(dot)com>, 'pgsql-novice' <pgsql-novice(at)postgresql(dot)org>
Subject: Re: New DB cluster.
Date: 2018-02-23 07:18:52
Message-ID: 1519370332.2530.3.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 such file 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Laurenz Albe 2018-02-23 07:22:29 Re: Differing data directories
Previous Message Ron Watkins 2018-02-22 18:21:15 New DB cluster.