From: | Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Дмитрий Карасёв <karasev(dot)dmitrii94(at)mail(dot)ru>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pg_ctl cannot find postgresql.conf |
Date: | 2022-07-13 13:08:06 |
Message-ID: | CAC+AXB2E7JaT2cHWpSKH95R=M3tJaY=8CWXL4awCVQv_ZztbCQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Wed, Jul 13, 2022 at 2:29 PM David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
> On Wednesday, July 13, 2022, Дмитрий Карасёв <karasev(dot)dmitrii94(at)mail(dot)ru>
> wrote:
>
>> pg_ctl (PostgreSQL) 14.4
>> PGDATA=/mnt/disk/base/postgresql/14/main
>> ERROR:
>> pg_ctl start
>> ожидание запуска сервера....postgres не может открыть файл конфигурации
>> сервера "/mnt/disk/base/postgresql/14/main/postgresql.conf": No such file
>> or directory
>> but postgresql.conf located in /etc/postgresql/14/main/postgresql.conf
>>
>>
>
> This isn’t a bug. Use the command line options or environment variables
> to tell pg_ctl where to find the configuration file in the non-default
> location.
>
> Maybe you are working on a Debian environment, in that case you should be
using 'pg_ctlcluster' as a 'pg_ctl' replacement:
https://wiki.debian.org/PostgreSql#pg_ctl_replacement
Regards,
Juan José Santamaría Flecha
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-07-13 14:27:39 | Re: BUG #17549: wrong index scan plan with RLS |
Previous Message | David G. Johnston | 2022-07-13 12:28:52 | Re: pg_ctl cannot find postgresql.conf |