Re: server will not start (Debian) - Mailing list pgsql-general

From Adrian Klaver
Subject Re: server will not start (Debian)
Date
Msg-id 2887a700-04ec-2168-4039-08752025352c@aklaver.com
Whole thread Raw
In response to Re: server will not start (Debian)  (stan <stanb@panix.com>)
Responses Re: server will not start (Debian)
List pgsql-general
On 12/10/19 7:32 AM, stan wrote:
> On Tue, Dec 10, 2019 at 08:55:02AM -0500, Justin wrote:
>> Hi Stan
>>
>> Check security make sure V12 postgres  has the correct credentials....
>>
> OK,
> 
> postgres@stantest:/var/run/postgresql$ ls -ld
> drwxrwsr-x 2 postgres postgres 40 Dec 10 08:35 .
> 
> Looks correct to me.
> 
> This sundirectory 12-main.pg_stat_tmp keeps getting deleted.
> 
> If I create it by hand as user psotgres, the DB starts up when I run:
> 
> /usr/lib/postgresql/12/bin/postgres -D /var/lib/postgresql/12/main -c
> config_file=/etc/postgresql/12/main/postgresql.conf
> 
> But tring to start it with /etc/ini.d/postgresql start fails
> 

How did you install Postgres 12?

Why are you using the file in init.d/ instead of pg_ctlcluster?



-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Identity columns, DEFAULT keyword and multi-row inserts
Next
From: Ray O'Donnell
Date:
Subject: Re: server will not start (Debian)