Re: pg_ctlcluster is not stopping cluster

Поиск
Список
Период
Сортировка
От Thorsten Glaser
Тема Re: pg_ctlcluster is not stopping cluster
Дата
Msg-id 1c1a4fe5-ffe3-5d8d-294c-e9c177decca@evolvis.org
обсуждение исходный текст
Ответ на pg_ctlcluster is not stopping cluster  ("Telium Technical Support" <support@telium.io>)
Ответы Re: pg_ctlcluster is not stopping cluster  (Jerry Sievers <gsievers19@comcast.net>)
Список pgsql-general
On Fri, 7 Apr 2023, Telium Technical Support wrote:

>Notice: extra pg_ctl/postgres options given, bypassing systemctl for stop

>it might be 13.  Coincidentally, there is a postmaster.pid file in a
>directory OTHER than the data directory:
>
>/var/lib/postgresql/15/main/postmaster.pid
>
>(and notice the 15). Is this a clue?

Maybe the pidfile is written into the cluster version-based directory
instead of the data directory. Best figure out what exactly writes the
pidfile, whether systemd is used for starting (which would of course be
a prime suspect as it says it’s explicitly not used for stopping), etc.

Maybe this is indeed a bug in whatever determines the pidfile path,
perhaps not; is it supposed to live within the data directory?

bye,
//mirabilos
--
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)



В списке pgsql-general по дате отправления:

Предыдущее
От: "Telium Technical Support"
Дата:
Сообщение: RE: pg_ctlcluster is not stopping cluster
Следующее
От: Thorsten Glaser
Дата:
Сообщение: RE: pg_ctlcluster is not stopping cluster