| From: | Ray O'Donnell <ray(at)rodonnell(dot)ie> |
|---|---|
| To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, stan <stanb(at)panix(dot)com>, Justin <zzzzz(dot)graf(at)gmail(dot)com> |
| Cc: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: server will not start (Debian) |
| Date: | 2019-12-10 16:13:02 |
| Message-ID: | 5d82c056-49a0-0512-2915-4aac6b25802b@rodonnell.ie |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 10/12/2019 16:11, Adrian Klaver wrote:
> 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(at)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?
Or indeed systemctl? :-)
Ray.
--
Raymond O'Donnell // Galway // Ireland
ray(at)rodonnell(dot)ie
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Justin | 2019-12-10 16:13:27 | Re: server will not start (Debian) |
| Previous Message | Adrian Klaver | 2019-12-10 16:11:32 | Re: server will not start (Debian) |