pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: stan <stanb@panix.com>
To: Justin <zzzzz.graf@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: server will not start (Debian)
Date: Tue, 10 Dec 2019 08:11:32 -0800
Message-ID: <2887a700-04ec-2168-4039-08752025352c@aklaver.com> (raw)
In-Reply-To: <20191210153255.GA25615@panix.com>
References: <20191210114823.GA18735@panix.com>
	<20191210133635.GA24804@panix.com>
	<CALL-XeOD5CRqD58SEZqyWpAyem4m-pshT84JBsZngMKcr6apLQ@mail.gmail.com>
	<20191210153255.GA25615@panix.com>

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





view thread (11+ messages)  latest in thread

Message-ID: <2887a700-04ec-2168-4039-08752025352c@aklaver.com>
Permalink:  ../2887a700-04ec-2168-4039-08752025352c@aklaver.com/
Also on:    postgresql.org/message-id/2887a700-04ec-2168-4039-08752025352c@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, stanb@panix.com, zzzzz.graf@gmail.com
  Subject: Re: server will not start (Debian)
  In-Reply-To: <2887a700-04ec-2168-4039-08752025352c@aklaver.com>
  References: <20191210114823.GA18735@panix.com> <20191210133635.GA24804@panix.com> <CALL-XeOD5CRqD58SEZqyWpAyem4m-pshT84JBsZngMKcr6apLQ@mail.gmail.com> <20191210153255.GA25615@panix.com> <2887a700-04ec-2168-4039-08752025352c@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox